Organization & Project/Members & Permissions Management/Project Members
Organization & Project
Add Members to Project
Add members to a project with a specific role; supports both add and update. Set the user key via the X-User-Token header, and the project UUID via the X-Project-Uuid header. Pass user_id to add the member to the project corresponding to X-Project-Uuid.
:::tip[]
- For user_id, refer to the Authentication Tutorial to parse it from the JWT. :::
put/openapi/v2.0/project/member
Request
- Base URL(relative, and it does not resolve against the document’s source URL)
- URL/openapi/v2.0/project/member
- Authnone required
Headers
X-User-Tokenstring required
X-Project-Uuidstring required
Project Number
X-Request-Idstring uuid
Request Unique Identifier
X-Language'zh' | 'en'
Language
Request body
Example request
{
"add_users": [
{
"user_id": "1959900546305060880",
"role": "project-member",
"nickname": "Test Member"
}
]
}Response
Changes
No recorded changes to this operation across all 1 revision of this API.