Skip to Content
Vatis TechAPI docs
API keys

Revoke a key

Refuses a key and its open tokens from the next request on, and keeps it in the list of revoked keys.

Serverhttps://api.eu.vatis.tech

DELETE/v1/keys/{id}

Admin key only

A Member key gets 403 admin_only. Roles: Authentication and API keys.

Path parameters

id (required)
The key.
Valuesa key id, key_...

Headers

Authorization (required)
An Admin key (Roles). A Member key gets 403 admin_only.
ValuesBearer <api key>

Responses

204

Revoked, also when it already was. The answer has no body.

400 invalid_parameter

A query parameter: this endpoint takes none (Strict parameters).

No key, or a wrong, revoked or expired one.

403 admin_only

A Member key.

404 not_found

No key of your workspace has that id.

The workspace's last active Admin key cannot be revoked from code: make another key Admin first.

503 unavailable

The service is busy for a moment. Send the request again after the seconds of the Retry-After header.

Notes

  • What the key already started goes on: a live session already open runs until it ends, and a file already accepted is still transcribed.
  • Nothing is deleted: Usage and Activity still name the key.
  • The console's API keys page can revoke any key, the last Admin key too: the console is the way back when no Admin key is left.