latestOpenAPI 3.0.32026-08-20146131.7 MB
672b1916ba61
Projects
Add project member
Adds an organization member to the project.
post/v1/projects/{projectId}/members
Path parameters
projectIdstring required
Project identifier.
Example:prj_example
Project identifier.
Request body
Example request
{
"userId": "usr_example",
"role": "developer"
}Response
Project member added
Example response
{
"data": {
"member": {
"id": "pm_example",
"projectId": "prj_example",
"userId": "usr_example",
"role": "developer",
"createdAt": "2025-01-01T00:00:00.000Z",
"user": {
"id": "usr_example",
"email": "user@example.com",
"name": "Example User"
}
}
},
"meta": {
"requestId": "req_example",
"timestamp": "2025-01-01T00:00:00.000Z"
}
}