DELETE/oauth/grants/{oauth_grant_id}

Revoke an OAuth grant

Revokes an OAuth grant, removing the authorization associated with it. Supply the grant's ID to identify which authorization to revoke. The response includes the revocation time and reason.

1 parameter
oauth_grant_idstringrequired
The ID of the OAuth grant to revoke.

1 status code
200Returns the OAuth grant's ID, revocation time, and revocation reason.
objectstringoptional
The type of object.
idstringoptional
The ID of the OAuth grant.
revoked_atstringoptional
The date and time the OAuth grant was revoked.
revoked_reasonstringoptional
The reason the OAuth grant was revoked.

Error handling

The oauth_grant_id path parameter must identify an existing OAuth grant.