Assigns a new user to a tasks by email invitation.

For the invitation, the role of the user has to be specified. The user is then invited to the workspace and assigned to the task. The user will receive an email with the invitation link, as well as a redirect to the task. The new user will replace any currently existing task assignments. <Check title="Required Permissions">Any authenticated user.</Check>

Headers

AuthorizationstringRequired

Bearer authentication of the form Bearer <token>, where token is your auth token.

Request

The model to assign the user.
taskIdstringRequiredformat: "uuid"
The id of the task.
emailstringRequiredformat: "email">=1 character
The email of the new user.
roleIdstringRequiredformat: "uuid"
The id of the role to which the new user should be added.
firstNamestring or nullOptional
The first name of the user to be invited.
lastNamestring or nullOptional
The last name of the user to be invited.
genderenumOptional
The gender of the user to be invited. Could be 'male', 'female', 'other'
Allowed values:

Response

OK