v7

latestOpenAPI 3.0.3raw.githubusercontent.com2026-08-013764062.2 MB
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.