Auth

Revoke one connected app. Deletes every oauth token and every unused authorization code for this account and client in one transaction. The client registration stays. Those access tokens then return 401, and their refresh tokens fail at /oauth/token. Other clients and API keys stay valid. Requires key_write. An inbox-scoped key is 403 permission_denied. Nothing to revoke is 404 oauth_grant_not_found.

delete/api/v1/oauth/grants/{client_id}

Request

  • Base URL: https://cooperemail.com
  • URL: https://cooperemail.com/api/v1/oauth/grants/{client_id}
  • Auth: HTTP bearer

Path parameters

client_idstring required

Response

Grant revoked

object'oauth_grant' required
idstring required
revokedtrue required
tokens_revokedinteger required

Changes

No recorded changes to this operation across all 1 revision of this API.