Agent-readable docs index: /llms.txt. Full docs in one file: /llms-full.txt. Download /docs.zip to grep all markdown files locally.

Revoke Token

Revoke an access token or refresh token. Follows RFC 7009.
No authentication required. This is a public endpoint.
Request example
curl -X POST https://api.v2.dealmachine.com/v1/oauth/revoke \ -H "Content-Type: application/json" \ -d '{ "token": "dm_at_live_xxx", "token_type_hint": "access_token" }'
Response example
{ "revoked": true }

Request Body

FieldTypeRequiredDescription
tokenstringYesThe token to revoke
token_type_hintstringNoaccess_token or refresh_token (helps server find token faster)

Cascade Behavior

  • Revoking an access token also revokes its associated refresh tokens
  • Revoking a refresh token also revokes its associated access token
Always revoke tokens when a user signs out or when you no longer need access. This is a security best practice.