API Keys

Revoke the calling API key

Revokes the API key this request authenticated with, immediately and permanently. The key is identified from the request's own credential and no id is accepted, so a key can revoke only itself and never another key. Use it to end a session when a key is no longer needed, for example when signing out of a CLI. Any request made with the key afterwards is rejected with 401. Revoking other keys is done in the dashboard.

post/org/api-keys/self/revoke

Request

  • Base URL
    https://apiv2.senso.ai/api/v1
  • Auth
    API key in header X-API-Key

Response

The key was revoked. No content.

Changes

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