post https://accounts.api.zesty.io/v1/invites
Creates a single user's invite. By default, the API will send an email to the invitee. You can use the optional query parameter sendEmail with a value false or 0 to not send an email to the invitee.
Example: ?sendEmail=false
Body: raw JSON
| name | description |
|---|---|
| inviteeName | [string] The first name and the last name being invited, separated with a space. |
| inviteeEmail | [string] Required. Valid email of the user being invited. |
| entityZUID | [string] Required. ZUID of the instance the invitee to be added to. |
| accessLevel | [int] Required. The system role the invitee will have. This accepts values from 1 to 5 only. See below for acceptable values. |
Access Level
| code | role |
|---|---|
| 1 | Admin |
| 2 | Developer |
| 3 | SEO |
| 4 | Publisher |
| 5 | Contributor |
| 6 | Developer Contributor |
| 7 | Access Admin |
Note: If any of these role are not available in an instance, contact support.
