Skip to main content
PATCH
Update teamspace user

Authorizations

Authorization
string
header
required

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

Path Parameters

user_id
string
required

The ID of the user

teamspace_id
string
required

The ID of the teamspace

Body

application/json

Represents a user in a teamspace

role
enum<string>
required
Available options:
admin,
member,
agents-only,
agent-specific
agent_ids
string[] | null

The agent IDs that the user has access to, if the role is agent-specific.

Response

User updated successfully

Represents a user in a teamspace

id
string
required

The unique identifier of the user

email
string<email>
required

The email address of the user

first_name
string
required

The first name of the user

last_name
string
required

The last name of the user

permissions
object
required

The permissions assigned to the user in the teamspace