Context

Add or update legal value for the context field

Endpoint that allows adding or updating a single custom context field legal value. If the legal value already exists, it will be updated with the new description

post/api/admin/context/{contextField}/legal-values

Path parameters

contextFieldstring required

Request body

valuestring required

The valid value

descriptionstring

Describes this specific legal value

Example request

{
  "value": "#c154c1",
  "description": "Deep fuchsia"
}

Response

This response has no body.

Changes

No recorded changes to this endpoint across all 7 revisions of this API.