Add Badges to a user
POST {{baseUrl}}/api/v1/users/:user_id/badges/associate
This API adds specified badges to user.
OAuth Scope
Desk.contacts.UPDATE
Desk.settings.UPDATE
Attributes
Attribute Name | Data Type | Description |
---|---|---|
badgeIds (required) | <list> | IDs of the badges to which the user must be associated |
HEADERS
Key | Datatype | Required | Description |
---|---|---|---|
Authorization | string |
RESPONSES
status: OK
{"results":[{"success":true,"id":"24073000002823212","errors":null},{"success":false,"id":"24073000002832252","errors":{"errorCode":"FORBIDDEN","httpCode":403}}]}