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
Request
- Base URLhttps://app.unleash-instance.example.com
- URLhttps://app.unleash-instance.example.com/api/admin/context/{contextField}/legal-values
- Auth
- API key in header Authorization
- or HTTP bearer
Path parameters
contextFieldstring required
Request body
Example request
{
"value": "#c154c1",
"description": "Deep fuchsia"
}Response
This response has no body.
Changes
No recorded changes to this operation across all 7 revisions of this API.