Skip to content

revokeOAuthGrant

DELETE
/api/v1/me/security/grants/{id}
curl --request DELETE \
--url https://example.com/api/v1/me/security/grants/2489E9AD-2EE2-8E00-8EC9-32D5F69181C0

Requires an authenticated user with the admin scope. Cookie requests additionally require the X-CSRF-Token header. Revokes one of the caller’s grants and every token under it. Personal access tokens are revoked through this same endpoint.

id
required
string format: uuid
X-CSRF-Token
string

Cookie-backed browser requests only, and only on unsafe methods. Bearer grants never send it.

Grant revoked

Dashboard authentication required

CSRF token required

Grant unknown