For AI agents: the documentation index is at /llms.txt, and this page is available as Markdown at /api/auth/revoke-o-auth-consent.md.

Revoke a connected app

Organization tokenNo token

DELETE
/oauth/consents/{client_id}

Withdraws the grant and revokes the refresh tokens minted from it, so the client cannot mint a fresh access token once its current one lapses. An access token already issued stays valid until it expires.

Rate limit: counts against the Keys and credentials limit, 10 a minute and 50 a day (user token, per user); 100 a minute and 500 a day (organization api key, per organization). See Rate limits.

Authorization

bearerAuth
headerAuthorizationBearer <JWT>

An access token from POST /api-key/token. An organization token lasts one hour and has no refresh token; a personal token can be refreshed.

Path Parameters

client_id*string

Response Body

Grant revoked

Example Request
curl -X DELETE 'https://api.truemarkets.co/v1/auth/oauth/consents/string'
Example Response
Empty