Skip to content
Navigation

Revoke an API key

DELETE
/v1/keys/{keyId}

Revoke an API key from an owner or admin browser session.

Authorization

  • browserSession
    optional
    API key in cookie
  • localBrowserSession
    optional
    API key in cookie

Path parameters

  • keyId
    string
    required

    ID of an API key in the current environment.

Header parameters

  • X-Simplcron-Environment
    optional
    production
    or
    development

    Environment for a browser session. Bearer keys always use their fixed environment.

    default: "production"

Returns

204

API key revoked

401

Authentication is required
JSON
  • error
    string
    required

403

The credential lacks permission
JSON
  • error
    string
    required

404

Resource not found in this environment
JSON
  • error
    string
    required

Type to search…

↑↓ navigate↵ selectEsc close