Invites a user by email and assigns them to a task.
Required Permissions
Any authenticated user.Authentication
AuthorizationBearer
Bearer authentication of the form Bearer <token>, where token is your auth token.
Request
The assign By Email form payload.
taskId
The id of the task.
email
The email of the new user.
roleId
The id of the role to which the new user should be added.
firstName
The first name of the user to be invited.
lastName
The last name of the user to be invited.
gender
The gender of the user to be invited.
Could be 'male', 'female', 'other'
Allowed values:
Response
OK

