teams
Update a Team Member
Changed onUpdate 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.
patch/v1/teams/{teamId}/members/{uid}
Request
- Base URL: https://api.vercel.com
- URL: https://api.vercel.com/v1/teams/{teamId}/members/{uid}
- Auth: HTTP bearer
Path parameters
uidstring required
The ID of the member.
Example:ndfasllgPyCtREAqxxdyFKb
teamIdstring required
The unique team identifier
Example:team_1a2b3c4d5e6f7g8h9i0j1k2l
Request body
Example request
{
"confirmed": true,
"role": "VIEWER",
"teamPermissions": [
"CreateProject",
"FullProductionDeployment"
],
"projects": [
{
"projectId": "prj_ndlgr43fadlPyCtREAqxxdyFK",
"role": "ADMIN"
}
]
}Response
Successfully updated the membership.
Changes
- breaking
removed the enum value
AiGatewayApiKeyOwnedBySelfof the request property/ - info
added the new
AiGatewayUserenum value to the request property/
- breaking
- info
added the new
AiGatewayTranscriptsManagerenum value to the request property/ - info
added the new
AiGatewayTranscriptsViewerenum value to the request property/
- info