Update project member
PATCH/v2/orgs/:org_id/teams/:team_id/projects/:project_id/members/:member_id
Updates details of a project member, such as the member's role.
Required scope
projects:writeRate limiting
Level 1Enterprise only
This API is available only for Enterprise plan users. You can only use this endpoint if you have the role of a Company Admin. You can request temporary access to Enterprise APIs using this form.
Request
Path Parameters
The ID of the organization to which the project member belongs.
The ID of the team to which the project member belongs.
The ID of a Project.
The ID of the member whose details you want to update.
- application/json
Body
required
Possible values: [owner
, editor
, viewer
, commentator
, coowner
]
Role of the project member.
Responses
- 200
- 400
- 401
- 403
- 404
- 409
- 429
Contains information about the project member, such as the member's role.
- application/json
- Schema
- Example (from schema)
Schema
ID of the project member.
Email ID of the project member.
Possible values: [owner
, editor
, viewer
, commentator
, coowner
]
Role of the project member.
Default value: project_member
Type of the object
{
"id": "3074457345618265000",
"email": "someone@domain.com",
"role": "viewer",
"type": "project_member"
}
Malformed request
- application/json
- Schema
- Example (from schema)
Schema
Default value: 400
HTTP status code.
Default value: invalidParameters
Description of the status code.
Explanation of the error.
Default value: error
{
"status": 400,
"code": "invalidParameters",
"message": "string",
"type": "error"
}
Invalid authentication credentials
- application/json
- Schema
- Example (from schema)
Schema
Default value: 401
HTTP status code.
Default value: tokenNotProvided
Description of the status code.
Explanation of the error.
Default value: error
{
"status": 401,
"code": "tokenNotProvided",
"message": "string",
"type": "error"
}
Invalid access
- application/json
- Schema
- Example (from schema)
Schema
Default value: 403
HTTP status code.
Description of the status code.
Explanation of the error.
Default value: error
{
"status": 403,
"code": "forbiddenAccess",
"message": "string",
"type": "error"
}
Not found
- application/json
- Schema
- Example (from schema)
Schema
Default value: 404
HTTP status code.
Description of the status code.
Explanation of the error.
Default value: error
{
"status": 404,
"code": "notFound",
"message": "string",
"type": "error"
}
Conflict
- application/json
- Schema
- Example (from schema)
Schema
Default value: 409
HTTP status code.
Description of the status code.
Explanation of the error.
Default value: error
{
"status": 409,
"code": "conflict",
"message": "string",
"type": "error"
}
Too many requests
- application/json
- Schema
- Example (from schema)
Schema
Default value: 429
HTTP status code.
Description of the status code.
Explanation of the error.
Default value: error
{
"status": 429,
"code": "tooManyRequests",
"message": "string",
"type": "error"
}