Remove Badges from user

POST {{baseUrl}}/api/v1/users/:user_id/badges/dissociate

This API removes specified badges from the users.

OAuth Scope

  • Desk.contacts.UPDATE
  • Desk.settings.UPDATE

Attributes

Attribute NameData TypeDescription
badgeIds (required)<list>
IDs of the badges from which the user must be dissociated

HEADERS

KeyDatatypeRequiredDescription
Authorizationstring

RESPONSES

status: OK

{&quot;results&quot;:[{&quot;success&quot;:false,&quot;id&quot;:&quot;24073000002957051&quot;,&quot;errors&quot;:{&quot;errorCode&quot;:&quot;FORBIDDEN&quot;,&quot;httpCode&quot;:403}},{&quot;success&quot;:true,&quot;id&quot;:&quot;24073000002953232&quot;,&quot;errors&quot;:null}]}