Edit User On Workspace

Update a user's name and role.

Note: This endpoint is only available to Workspaces on our Enterprise Plan.

SecurityAuthorization_Token
Request
path Parameters
team_id
required
number <double>

Workspace ID

user_id
required
number <double>
Request Body schema: application/json
required
username
required
string
admin
required
boolean
custom_role_id
required
integer <int32>
Responses
200
put/v2/team/{team_id}/user/{user_id}
Request samples
application/json
{
  • "username": "User Name",
  • "admin": false,
  • "custom_role_id": 998877
}
Response samples
application/json
{
  • "member": {
    }
}