Skip to main content

Delete legal value for the context field

DELETE 

<your-unleash-url>/api/admin/context/:contextField/legal-values/:legalValue

Removes the specified custom context field legal value. Does not validate that the legal value is not in use and does not remove usage from constraints that use it.

Request

Path Parameters

    contextField stringrequired
    legalValue stringrequired

Responses

This response has no body.

Authorization: Authorization

name: Authorizationtype: apiKeyin: headerdescription: API key needed to access this API
curl -L -X DELETE '<your-unleash-url>/api/admin/context/:contextField/legal-values/:legalValue' \
-H 'Authorization: <Authorization>'
Request Collapse all
Base URL
<your-unleash-url>
Auth
Parameters
— pathrequired
— pathrequired
ResponseClear

Click the Send API Request button above and see the response here!