ProjectUsersController_getUserRoleInProject
GET/v1/organizations/:organizationId/projects/:projectId/users/:userId
ProjectUsersController_getUserRoleInProject
Request
Path Parameters
organizationId stringrequired
projectId stringrequired
userId stringrequired
Responses
- 200
- 404
Successfully fetched the user and their role in the project.
- application/json
- Schema
- Example (from schema)
Schema
role stringrequired
Possible values: [ADMIN
, DEVELOPER
, TESTER
]
The role of the user in the project
user object
id stringrequired
User ID
email stringrequired
User email
name stringrequired
User name
image stringrequired
User profile image URL
{
"role": "ADMIN",
"user": {
"id": "string",
"email": "string",
"name": "string",
"image": "string"
}
}
User or Project not found
Loading...