PATCH /v1/teams/{teamId}/members/{uid}
Update the membership of a Team Member on the Team specified by teamId
, such as changing the role of the member, or confirming a request to join the Team for an unconfirmed member. The authenticated user must be an OWNER
of the Team.
Servers
- https://api.vercel.com
Path parameters
Name | Type | Required | Description |
---|---|---|---|
uid |
String | Yes |
The ID of the member. |
Request headers
Name | Type | Required | Description |
---|---|---|---|
Content-Type |
String | Yes |
The media type of the request body.
Default value: "application/json" |
Request body fields
Name | Type | Required | Description |
---|---|---|---|
joinedFrom |
Object | No | |
joinedFrom.ssoUserId |
Null | No | |
confirmed |
Boolean | No |
Accept a user who requested access to the team. Possible values:
|
projects[] |
Array | No | |
projects[].projectId |
String | Yes |
The ID of the project. |
projects[].role |
String | Yes |
The project role of the member that will be added. "null" will remove this project level role. Possible values:
|
role |
String | No |
The role in the team of the member. |
How to start integrating
- Add HTTP Task to your workflow definition.
- Search for the API you want to integrate with and click on the name.
- This loads the API reference documentation and prepares the Http request settings.
- Click Test request to test run your request to the API and see the API's response.