Update badge
PUT {{baseUrl}}/api/v1/badges/([0-9]+)
This API updates the details of a badge.
OAuth Scope
Desk.settings.UPDATE
Attributes
Attribute Name | Data Type | Description |
---|---|---|
name (required) | <string> max chars : 200 | Name of the badge |
description | <string> max chars : 200 | Description of the badge |
customIconId | <int> | ID of the file attachment that contains the badge icon |
defaultIconId | <int> | ID of the default icon |
HEADERS
Key | Datatype | Required | Description |
---|---|---|---|
Authorization | string |
RESPONSES
status: OK
{"name":"Badge 2","isCustom":"true","description":"Top Contributor","levelName":null,"id":"3000000000010","iconUrl":"https://www.zylker.com/badge2.jpg"}