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.

POST /v1/iam/invitations/update

Addresshttps://api.hanzo.ai/v1/iam/invitations/update
MethodPOST
Operationpost_iam_invitations_update
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

16 fields, body application/json (required).

FieldInTypeRequiredDescription
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 iam invitations update

IAM API · All Hanzo APIs · Interactive reference

How is this guide?

On this page