Request ‒ Users/Invite
The request contains the same properties as the Users/Post request, except that they are wrapped in a user tag. For example, as shown below –
{“user”:{“username”:”demo”,”email”:”demoUser@axonize.com”,”role”:”admin”}}
Only the username, email and role properties are mandatory.
Example JSON Users/Invite Request
curl -X POST \
https://api.stg.axonize.com /odata/users/invite \
-H ‘Cache-Control: no-cache’ \
-H ‘Content-Type: application/json’ \
-H ‘Authorization: Token’ \
-H ‘appId: be517433-c4b8-4748-9258-1b1234567890’ \
-d ‘{“user”:{“username”:”demo”,”email”:”demoUser@axonize.com”,”role”:”admin”}}’