Hanzo
OpenapiIam

Changes an invitation's terms — the role it grants, how many may redeem it, or…

Changes an invitation's terms — the role it grants, how many may redeem it, or when it expires.

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

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

Changes an invitation's terms — the role it grants, how many may redeem it, or when it expires. What it is called does not change.

Request

18 fields, body application/json (required).

FieldInTypeRequiredDescription
ownerpathstringyes
namepathstringyes
applicationbodystring
codebodystring
createdTimebodystring
defaultCodebodystring
displayNamebodystring
emailbodystring
isRegexpbodyboolean
namebodystring
ownerbodystring
phonebodystring
quotabodyinteger
signupGroupbodystring
statebodystring
updatedTimebodystring
usedCountbodyinteger
usernamebodystring

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