ProjectUsersController_getAllUsersInProject
GET/v1/organizations/:organizationId/projects/:projectId/users
ProjectUsersController_getAllUsersInProject
Request
Path Parameters
organizationId stringrequired
projectId stringrequired
Query Parameters
page numberrequired
Possible values: >= 1
Default value: 1
Page number starting from 1.
Example: 1
limit numberrequired
Possible values: >= 1
and <= 100
Default value: 10
Limit the number of results returned. Default is 10.
Example: 10
Responses
- 200
- 404
Successfully fetched all users and their roles in the project.
- application/json
- Schema
- Example (from schema)
Schema
- Array [
- ]
users object[]required
List of users and their roles within the Project.
user object
id stringrequired
The unique identifier of the user.
email stringrequired
The email of the user.
role stringrequired
Possible values: [ADMIN
, DEVELOPER
, TESTER
]
The role of the user within the Project.
state stringrequired
Possible values: [INVITED
, ACCEPTED
]
The user's status in the organization.
metadata object
currentPage numberrequired
The current page number.
limit numberrequired
Number of items per page.
total numberrequired
Total number of items.
nextPage numbernullablerequired
The next page number, or null if this is the last page.
previousPage numbernullablerequired
The previous page number, or null if this is the first page.
{
"users": [
{
"user": {
"id": "123456789",
"email": "user@example.com"
},
"role": "ADMIN",
"state": "INVITED"
}
],
"metadata": {
"currentPage": 1,
"limit": 10,
"total": 100,
"nextPage": 2,
"previousPage": null
}
}
Project not found
Loading...