Hanzo AI
OpenapiIam

Delete invitations

Withdraws an invitation.

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

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

Withdraws an invitation. It stops being redeemable at once; anyone who already joined through it keeps their account.

Request

2 fields.

FieldInTypeRequiredDescription
ownerpathstringyes
namepathstringyes

Response

StatusBodyMeaning
200iam.invitations.DeleteOutputok

200 body — 1 field.

FieldInTypeAlwaysDescription
deletedbodyboolean

Failure carries the platform error shape — see Errors.

Examples

hanzo iam invitations owner rm <owner> <name>

IAM API · All Hanzo APIs · Interactive reference

How is this guide?

On this page