Skip to main content

Delete a token for a service account.

DELETE <your-unleash-url>/api/admin/service-account/:id/token/:tokenId

Authorization

name: Authorizationtype: apiKeyin: header

Deletes a token for the service account identified both by the service account's id and the token's id.

Request

Path Parameters

  • id string required
  • tokenId string required
Responses

This response has no body.

Authorization

name: Authorizationtype: apiKeyin: header

Request

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