Delete an existing context field
DELETE<your-unleash-url>/api/admin/context/:contextField
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
Responses
- 200
This response has no body.
Authorization: Authorization
name: Authorizationtype: apiKeyin: headerdescription: API key needed to access this API
- curl
- python
- go
- nodejs
- ruby
- csharp
- php
- java
- powershell
- CURL
curl -L -X DELETE '<your-unleash-url>/api/admin/context/:contextField' \
-H 'Authorization: <Authorization>'
ResponseClear