GET
/projects/{project_id}/users/{user_id}/rolesList project user role assignments
Lists the project roles assigned to a user within a project.
project_idstringrequired
The ID of the project to inspect.
user_idstringrequired
The ID of the user to inspect.
limitintegeroptional
A limit on the number of project role assignments to return.
afterstringoptional
Cursor for pagination. Provide the value from the previous response's `next` field to continue listing project roles.
orderstringoptional
Sort order for the returned project roles.
200Project user role assignments listed successfully.
objectstringrequired
Always `list`.
dataarray<object>required
Role assignments returned in the current page.
has_morebooleanrequired
Whether additional assignments are available when paginating.
nextstringrequired
Cursor to fetch the next page of results, or `null` when there are no more assignments.
400The request parameters are invalid or the requested operation cannot be performed.
errorobjectrequired
403The caller does not have permission to perform this operation.
errorobjectrequired
Details about the permission error.
404The endpoint is unavailable or a requested resource was not found in this organization or project.
errorobjectrequired
429The request was rejected because a rate limit was exceeded.
errorobjectrequired
Error handling
A 400 is returned: The request parameters are invalid or the requested operation cannot be performed. A 403 is returned: The caller does not have permission to perform this operation. A 404 is returned: The endpoint is unavailable or a requested resource was not found in this organization or project. A 429 is returned: The request was rejected because a rate limit was exceeded.