Update level

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

This API updates the details of a level.

OAuth Scope

  • Desk.settings.UPDATE

Attributes

Attribute NameData TypeDescription
name (required)<string>
max chars : 200
Name of the level
description<string>
max chars : 200
Description of the level
badgeId<long>
ID of the badge to associate with the level
pointsToReach (required)<double>
Minimum number of credits a user needs to reach the level

HEADERS

KeyDatatypeRequiredDescription
Authorizationstring

RESPONSES

status: OK

{&quot;badge&quot;:{&quot;name&quot;:&quot;Best Contributor&quot;,&quot;id&quot;:&quot;3000000000356&quot;,&quot;iconUrl&quot;:&quot;https://www.zylker.com/badge1.jpg&quot;},&quot;pointsToReach&quot;:&quot;300&quot;,&quot;name&quot;:&quot;Level2&quot;,&quot;description&quot;:&quot;Beginner&quot;,&quot;id&quot;:&quot;3000000000345&quot;}