Revoke the API key

Revokes the personal API key this request is made with, as its owner deleting it in LingoHub would: the key is deactivated, its metadata and history remain, and later requests with it fail with 401 revoked_api_key. Command-line clients use this to sign out. Workspace-managed keys cannot revoke themselves and get 403 insufficient_permissions; a workspace administrator revokes them with deleteWorkspaceApiKey. Optional If-Match uses the validator of getApiKey; a stale one returns 412. Requires a valid personal API key.

Recent Requests
Log in to see full request history
TimeStatusUser Agent
Retrieving recent requests…
LoadingLoading…
Headers
string

Optional precondition. Send the quoted ETag from a GET of this resource. The mutation only runs if a strong tag matches the current representation, checked under the write lock. A comma-separated list is allowed; '*' requires an existing representation. Weak tags never match. Omit this header for an unconditional write. For an action, use the ETag from GET of the target resource, without the action suffix. A stale tag returns 412; read the current state before retrying.

Responses

Language
Credentials
Bearer
LoadingLoading…
Response
Click Try It! to start a request and see the response here! Or choose an example:
*/*
application/problem+json