POST
/projects/{project_id}/users/{user_id}/rolesAssign project role to user
Assigns a project role to a user within a project.
- RetriesRetries up to 2×, 500ms backoff, 30s timeout.
project_idstringrequired
The ID of the project to update.
user_idstringrequired
The ID of the user that should receive the project role.
Identifies the project role to assign to the user.
role_idstringrequired
Identifier of the role to assign.
200Project role assigned to the user successfully.
objectstringrequired
Always `user.role`.
userobjectrequired
Represents an individual `user` within an organization.
roleobjectrequired
Details about a role that can be assigned through the public Roles API.
429The request was rejected because a rate limit was exceeded.
errorobjectrequired
Error handling
A 429 is returned: The request was rejected because a rate limit was exceeded.