Skip to main content
PATCH
Update a team

Authorizations

Authorization
string
header
required

A project API key, created in the dashboard.

Path Parameters

team
string
required

ID of the team.

Body

application/json
name
string

Unique within the agent.

Required string length: 1 - 120
description
string | null
Maximum string length: 500
color
string

A hex color, stored in uppercase.

Pattern: ^#[0-9A-Fa-f]{6}$
Example:

"#10B981"

active
boolean
member_ids
string[]

account_ids from List members. Replaces all members, including any not currently listed. Members must be able to be assigned the agent's conversations: active, with the owner, admin, or agent role, and with access to the agent.

Maximum array length: 500
Maximum string length: 64

Response

The updated team.

object
any
required
id
string
required
Example:

"t8r2v6p1"

agent
object
required

The agent this belongs to.

name
string
required
Example:

"Billing"

description
string | null
required
color
string | null
required
Example:

"#10B981"

active
boolean
required

Inactive teams stay assigned to their conversations, but live chat routing skips them.

members
object[]
required

Sorted by name. Members who can no longer be assigned the agent's conversations, for example after a role change, aren't listed until they can be again.

created_at
string<date-time> | null
required
updated_at
string<date-time> | null
required