Revoke one of the current user's API tokens

Requires a current interactive session. Verifies user and organization ownership before provider deletion. Replay and an already absent token have the same result. Does not revoke another user's token or the current login session.

delete/v1/organizations/{organization_id}/user-api-keys/{key_id}

Request

  • Base URL: https://app.ohmyho.st
  • URL: https://app.ohmyho.st/v1/organizations/{organization_id}/user-api-keys/{key_id}
  • Auth: HTTP bearer

Path parameters

organization_idstring required
key_idstring required

Headers

X-Request-Idstring

Optional caller-provided correlation identifier.

Response

The requested token is absent from the current user's scope.

Changes

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