DevZero Logo
DevZero

Update user in team

PUT
/teams/{team_id}/users/{user_id}
/teams/{team_id}/users/{user_id}

Request Body

application/jsonRequired

update user in team body

permissionsstring

permissions to grant to user

Path Parameters

team_id
Required
string

ID of team

user_id
Required
string

ID of user

Header Parameters

Authorization
Required
string

Value: "Bearer <token>"; visit the "User Settings" page in the DevZero dashboard to generate a token

curl -X PUT "https://api.devzero.io/backend/v0/teams/string/users/string" \
  -H "Authorization: string" \
  -H "Content-Type: application/json" \
  -d '{
    "permissions": "string"
  }'

OK

{
  "email": "user@example.com",
  "given_name": "string",
  "invite_id": "string",
  "is_owner": true,
  "permissions": "string",
  "status": "string",
  "team_id": "string",
  "user_id": "string"
}