Skip to main content

Delete an existing context field

DELETE <your-unleash-url>/api/admin/context/:contextField

Authorization

name: Authorizationtype: apiKeyin: headerdescription: API key needed to access this API

Endpoint that allows deletion of a custom context field. Does not validate that context field is not in use, but since context field configuration is stored in a json blob for the strategy, existing strategies are safe.

Request

Path Parameters

  • contextField string required
Responses

This response has no body.

Authorization

name: Authorizationtype: apiKeyin: headerdescription: API key needed to access this API

Request

Base URL
<your-unleash-url>
Security Scheme
apiKey
contextField — path required
curl / cURL
curl -L -X DELETE '<your-unleash-url>/api/admin/context/:contextField' \
-H 'Authorization: <API_KEY_VALUE>'