Skip to main content
DELETE
/
api
/
v1
/
owner
/
external-agents
/
tokens
/
{token_id}
Revoke Token
curl --request DELETE \
  --url https://api.example.com/api/v1/owner/external-agents/tokens/{token_id}

Revoke External Agent Token

Permanently revoke an external agent token. The token will immediately stop working for authentication.

Authentication

Requires a valid user JWT token.

Path Parameters

token_id
string
required
UUID of the token to revoke.

Example

curl -X DELETE https://api.ama2.me/api/v1/owner/external-agents/tokens/{token_id} \
  -H "Authorization: Bearer YOUR_JWT_TOKEN"
Token revocation is immediate and irreversible. Any agents using this token will lose access.