Skip to content

Update Xp Threshold

PUT
/v1/sandbox/{sandbox_id}/xp/{xp_id}/xp-threshold/{xp_threshold_id}

Update Xp Threshold. Requires permission sandbox:config:edit.

Authorizations

Parameters

Path Parameters

xp_id
required
string format: uuid
xp_threshold_id
required
string format: uuid
sandbox_id
required

Sandbox ID

string format: uuid

Sandbox ID

Request Body required

Request to create or update an XP Level threshold.

object
custom_data

Custom data associated with the resource

object
key
additional properties
string
xp_level_threshold
required

The XP Threshold value.

integer

Responses

200

Successful Response

An XP Level threshold. This is used to determine the next XP Level.

object
custom_data

Custom data associated with the resource

object
key
additional properties
string
xp_level_threshold
required

The XP Threshold value.

integer
xp_level_threshold_id
required

The ID of the XP Threshold.

string format: uuid

422

Validation Error

object
detail
Array<object>
object
loc
required
Array
msg
required
string
type
required
string