PUT
/
api
/
{organization_id}
/
teams
/
{team_id}
/
members
/
{user_role_id}
Update team member
curl --request PUT \
  --url https://api.select.dev/api/{organization_id}/teams/{team_id}/members/{user_role_id} \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '{
  "role": "editor"
}'
{
  "id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
  "type": "user",
  "identifier": "<string>",
  "role": "editor",
  "added_at": "2023-11-07T05:31:56Z"
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

team_id
string<uuid>
required

The ID of the team

user_role_id
string<uuid>
required

The ID of the team membership (UserRole ID)

organization_id
string
required

Body

application/json

The updated member data

Response

Successful Response

A member of a team (user or SSO group).