Skip to main content
DELETE
/
api
/
v1
/
org
/
account
/
tokens
/
{token_id}
Delete User Api Token Endpoint
import requests

url = "https://platform.ankra.app/api/v1/org/account/tokens/{token_id}"

headers = {"Authorization": "Bearer <token>"}

response = requests.delete(url, headers=headers)

print(response.text)
{
  "id": "<string>",
  "deleted_at": "2023-11-07T05:31:56Z"
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Headers

authorization
string | null

Path Parameters

token_id
string<uuid4>
required

Response

Successful Response

id
string<uuid4>
required
deleted_at
string<date-time>
required