Agara

Revoke a personal access token

DELETE
/trade/v1/auth/tokens/{token_id}

Authorization

Authorization
Required
Bearer <token>

Privy identity token from a live browser session. Issued by the web app's Privy SDK; not obtainable via API. Used by operations that require a fresh browser session.

In: header

Path Parameters

token_id
Required
string

Token UUID returned by POST /trade/v1/auth/tokens.

Format: "uuid"
curl -X DELETE "https://app.agara.xyz/trade/v1/auth/tokens/497f6eca-6276-4993-bfeb-53cbbbba6f08" \
  -H "Authorization: Bearer <token>"

Token revoked (idempotent — same response if already revoked or not owned).

{
  "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
  "revoked_at": "2019-08-24T14:15:22Z"
}