Hanzo
OpenapiIam

Returns one invitation: who it is for, what it grants on acceptance, and when…

Returns one invitation: who it is for, what it grants on acceptance, and when it expires.

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

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

Returns one invitation: who it is for, what it grants on acceptance, and when it expires.

Request

2 fields.

FieldInTypeRequiredDescription
ownerpathstringyes
namepathstringyes

Response

StatusBodyMeaning
200iam.Invitationok

200 body — 20 fields.

FieldInTypeAlwaysDescription
applicationbodystring
codebodystring
createdAtbodystring (date-time)
createdTimebodystring
defaultCodebodystring
deletedbodyboolean
displayNamebodystring
emailbodystring
idbodystring
isRegexpbodyboolean
namebodystring
ownerbodystring
phonebodystring
quotabodyinteger
signupGroupbodystring
statebodystring
updatedAtbodystring (date-time)
updatedTimebodystring
usedCountbodyinteger
usernamebodystring

Failure carries the platform error shape — see Errors.

Examples

hanzo has no subcommand for this operation — the CLI serves only what cloud's live route table confirms. Use HTTP or an SDK.


IAM API · All Hanzo APIs · Interactive reference

How is this guide?

On this page