Hanzo AI
OpenapiIam

Delete keys

Revokes an API key.

DELETE /v1/iam/keys/{owner}/{name}

Addresshttps://api.hanzo.ai/v1/iam/keys/{owner}/{name}
MethodDELETE
Operationdelete_iam_keys_by_owner_by_name
AuthAuthorization: Bearer $HANZO_API_KEY

Revokes an API key. Anything still presenting it stops being authorized at once, so roll the replacement out before you revoke.

Request

2 fields.

FieldInTypeRequiredDescription
ownerpathstringyes
namepathstringyes

Response

StatusBodyMeaning
200iam.DeleteResponseok

200 body — 1 field.

FieldInTypeAlwaysDescription
deletedbodyboolean

Failure carries the platform error shape — see Errors.

Examples

hanzo iam keys owner rm <owner> <name>

IAM API · All Hanzo APIs · Interactive reference

How is this guide?

On this page