Skip to main content

Delete API token

DELETE <your-unleash-url>/api/admin/api-tokens/:token

Authorization

name: Authorizationtype: apiKeyin: header

Deletes an existing API token. The token path parameter is the token's secret. If the token does not exist, this endpoint returns a 200 OK, but does nothing.

Request

Path Parameters

  • token string required
Responses

This response has no body.

Authorization

name: Authorizationtype: apiKeyin: header

Request

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