Skip to main content

Delete a project API token.

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

Authorization

name: Authorizationtype: apiKeyin: header

This operation deletes the API token specified in the request URL. If the token doesn't exist, returns an OK response (status code 200).

Request

Path Parameters

  • projectId string required
  • token string required
Responses

This response has no body.

Authorization

name: Authorizationtype: apiKeyin: header

Request

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