Skip to main content
DELETE
Revoke workspace api key

Authorizations

Authorization
string
header
required

Company API key (mwk_) or personal access token (mel_). A PAT requires X-Workspace-ID on company-scoped routes. An API key implies its own company.

Headers

X-Workspace-ID
string<uuid>

Company UUID for a personal token on company-scoped operations. A company API key already binds its company.

Path Parameters

id
string
required

id from the corresponding authorized response.

keyId
string
required

keyId from the corresponding authorized response.

Response

Empty. The key stops working on its next request; revoking a revoked or unknown key is a no-op. Provider API keys saved in its funding policy are deleted; the rest of that policy stays. Its Tasks keep their attribution, and Runs already executing finish.