Assign role
Endpoints
Assign role
Assign a role to a collaborator
POST
Assign role
Authorizations
OAuth2 access token for authentication
Path Parameters
Collaborator ID
Body
application/json
Response
200 - application/json
Role assigned successfully
Unique collaborator identifier
Full name of the collaborator
Email address
Phone number
Job position or title
Department or team
Collaborator status
Available options:
active, inactive, pending Collaborator role
Available options:
admin, manager, employee Date when collaborator was hired
Annual salary
ID of the manager
Work schedule (full-time, part-time, etc.)
Work location
Profile picture URL
Creation timestamp
Last update timestamp