Update creditworthy activity
PUT {{baseUrl}}/api/v1/credits/([0-9]+)
This API updates a creditworthy activity.
OAuth Scope
Desk.settings.UPDATE
Attributes
| Attribute Name | Data Type | Description |
|---|---|---|
| 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
| Key | Datatype | Required | Description |
|---|---|---|---|
Authorization | string |
RESPONSES
status: OK
{"isEnabled":"true","name":"Active User","isCustom":"true","description":"This is given to the people who are highly active","id":"3000000000335","points":"200"}