Invitations are placeholders for rolemap objects. You cannot create a rolemap directly because, sometimes, user approval is required. Invitations are sent to users via email and, once accepted, create a rolemap on the object they were invited to with the requested role.
Create an Invitation
Create an invitation to the
:item (Workspace, folder, or file) specified via
The type of item. Can be
The unique identifier of the item you would like to create an invitation to.
This is the top level object that contains the
role_name keys described below.
The email addresses you would like to invite to the item. Multiple email addresses should be comma delimited in a single string.
The effective role granted to the user(s).
Returns a share object and a 201 if the call succeeds.
422: Unprocessable Entity
Returns a 422 with an error in the message body if an invalid email is provided or if a limit is reached.
role_name is not provided, or is invalid, the default role will be used.