Delete an API key
DELETE/key/:prefix
Deletes one of the caller's API keys: requests made with it get 401 from then on. This cannot be undone. Login tokens only: API keys get 401.
Request
Responses
- 204
- 401
- 403
- 404
- 429
No response body
Missing, invalid, expired or revoked credential, or a credential this endpoint does not accept.
The credential may not do this (for example a run token outside its own run, or a caller without an organization), or the installation is read-only because its license is not valid (code: license_read_only).
Not found: no such object in the caller's organization.
Rate limited: retry after the number of seconds in the Retry-After header.