Context
[BETA] Add or update legal value for the context field
Changed on[BETA] This API is in beta state, which means it may change or be removed in the future.
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/projects/{projectId}/context/{contextField}/legal-values
Request
- Base URLhttps://app.unleash-instance.example.com
- URLhttps://app.unleash-instance.example.com/api/admin/projects/{projectId}/context/{contextField}/legal-values
- Auth
- API key in header Authorization
- or HTTP bearer
Path parameters
projectIdstring required
contextFieldstring required
Request body
Example request
{
"value": "#c154c1",
"description": "Deep fuchsia"
}Response
This response has no body.
Changes
- info
endpoint added
- info