Context

[BETA] Validate a context field

Changed on

[BETA] This API is in beta state, which means it may change or be removed in the future.

Check whether the provided data can be used to create a context field. If the data is not valid, returns a 400 status code with the reason why it is not valid.

post/api/admin/projects/{projectId}/context/validate

Request

  • Base URL
    https://app.unleash-instance.example.com
  • URL
    https://app.unleash-instance.example.com/api/admin/projects/{projectId}/context/validate
  • Auth
    • API key in header Authorization
    • or HTTP bearer

Path parameters

projectIdstring required

Request body

namestring required

The name of the represented object.

Example request

{
  "name": "betaUser"
}

Response

This response has no body.

Changes