Revoke
Stops the key working. Revocation is soft: the key stays listed with a
revoked_at, because the organization still owns whatever it did while
it was alive.
Authorization
bearerAuthbearer token
Authorization: Bearer <key>.
Scopes: apikeys.manage
Path parameters
idrequiredstring (uuid)The key's ID, as returned by the list endpoint. Never the key itself.
Responses
200application/json
Revoked.
rcrequiredstringThe outcome. SUCCESS on success; otherwise the reason.
TypeScript type
{
rc: string;
}401application/json
No credential was presented, or it is not valid.
rcrequiredstringThe outcome. SUCCESS on success; otherwise the reason.
TypeScript type
{
rc: string;
}403application/json
The credential does not hold the scope this endpoint requires. The missing scope is deliberately not named.
rcrequiredstringThe outcome. SUCCESS on success; otherwise the reason.
TypeScript type
{
rc: string;
}404application/json
No such key in this organization.
rcrequiredstringThe outcome. SUCCESS on success; otherwise the reason.
TypeScript type
{
rc: string;
}