Invite new user

Params

Param name Description
datonis_role_key
required

Key of datonis role to be assigned to user


Value: Must be a String
user
required

Map containing details of the user to be invited


Value: Must be a Hash
pretty
optional

Return a pretty formatted response if true, Default is false


Value: Must be a Boolean

Examples

Request
  curl -X POST -H "Content-Type:application/json" -H "X-Auth-Token:D--gyhhE-FPH5LXL3osGAQ" -d '{"user":{"first_name":"Jack", "last_name":"Timberly", "email":"jack@yahoo.com"},"datonis_role_key":"67e37d7bat"}' https://api.datonis.io/api/v3/users/invite

Response
Invitation sent successfully