Context
[BETA] Update an existing context field
[BETA] This API is in beta state, which means it may change or be removed in the future.
Endpoint that allows updating a custom context field. Used to toggle stickiness and add/remove legal values for this context field
put/api/admin/projects/{projectId}/context/{contextField}
Path parameters
projectIdstring required
contextFieldstring required
Request body
Example request
{
"description": "The user's subscription tier",
"sortOrder": 2,
"legalValues": [
{
"value": "gold"
},
{
"value": "silver"
},
{
"value": "crystal"
}
],
"project": "my-project"
}Response
This response has no body.