Update creditworthy activity

PUT {{baseUrl}}/api/v1/credits/([0-9]+)

This API updates a creditworthy activity.

OAuth Scope

  • Desk.settings.UPDATE

Attributes

Attribute NameData TypeDescription
name (required)<string>
max chars : 200
Name of the creditworthy activity
description<string>
max chars : 200
Description of the creditworthy activity
isEnabled<boolean>
Key that specifies if the activity is enabled or not
points (required)<double>
Number of credits associated with the activity

HEADERS

KeyDatatypeRequiredDescription
Authorizationstring

RESPONSES

status: OK

{&quot;isEnabled&quot;:&quot;true&quot;,&quot;name&quot;:&quot;Active User&quot;,&quot;isCustom&quot;:&quot;true&quot;,&quot;description&quot;:&quot;This is given to the people who are highly active&quot;,&quot;id&quot;:&quot;3000000000335&quot;,&quot;points&quot;:&quot;200&quot;}