My account
Revoke a grant by ID
Revoke a specific user application grant by grant ID and remove the related session authorization. A logto-verification-id in header is required for revoking grants.
delete/api/my-account/grants/{grantId}
Request
- Base URL: https://[tenant_id].logto.app
- URL: https://[tenant_id].logto.app/api/my-account/grants/{grantId}
- Auth: OAuth 2 (client credentials, token URL /oidc/token, scopes: all)
Path parameters
grantIdstring required
The unique identifier of the grant.
Response
The grant was revoked successfully.
Changes
No recorded changes to this operation across all 8 revisions of this API.