Skip to main content

Validate a context field

POST <your-unleash-url>/api/admin/context/validate

Authorization

name: Authorizationtype: apiKeyin: header

Check whether the provided data can be used to create a context field. If the data is not valid, ...?

Request

Body

required

nameSchema

  • name string required

    The name of the represented object.

Responses

This response has no body.

Authorization

name: Authorizationtype: apiKeyin: header

Request

Base URL
<your-unleash-url>
apiKey
Body required
{
"name": "betaUser"
}
curl / cURL
curl -L -X POST '<your-unleash-url>/api/admin/context/validate' \
-H 'Content-Type: application/json' \
-H 'Authorization: <API_KEY_VALUE>' \
--data-raw '{
"name": "betaUser"
}'