v1

latestOpenAPI 3.0.12026-08-0435481.5 MB
Users

Revoke a user grant

Revoke a specific grant and its associated token chain by grant ID. Also removes the matching session authorization entry for this grant from the related active session. The grant must belong to the user.

delete/api/users/{userId}/grants/{grantId}

Path parameters

userIdstring required

The unique identifier of the user.

grantIdstring required

The unique identifier of the grant.

Response

Grant revoked successfully. If the grant already expired, this endpoint returns success without token-chain changes.