Assigns the user to the company with an optional position, or changes the position of an existing employee. A user is an employee of at most one non-deleted company per project, so assigning them here removes them from any other company of the project; that company is synced again.The user must have permissions on the project (also a user who is only visible on it). Project admins, client admins and superadmins may assign users whose role on the project is not higher than their own, themselves included; other roles get 403.Errors: 403 not allowed for this author or user, 404 company not found, 409 the company is deleted, 422 invalid id, a position longer than 150 characters, or a user without permissions on the project.
Request
Authorization
Bearer Token
Provide your bearer token in the
Authorization
header when making requests to protected resources.