Skip to content

Delete API Token

Delete a specified API Token by including the ID of the API Token in the path. To retrieve the ID of the API Token call the List API Tokens API.

HTTP Request

DELETE {API_URL}api-tokens/{id}

Path parameters

ParametersRequirementsTypeDescription
idRequiredstringThe unique identifier of the API Token to be deleted.

Reponse Attributes

status boolean

Indicates the result of the request to delete a API Token. true signifies success, while false indicates an error.

message string

A message confirming the status of the request to delete the specified API Token.

Example

Request

curl -X DELETE '{API_URL}api-tokens/{id}' \
-H 'Authorization: Bearer {ACCESS_TOKEN}' \
-H 'refresh-token: {REFRESH_TOKEN}' \
-H 'Content-Type: application/json'

Response

{
    "status": true,
    "message": "Deleting API Token successful"
}