Skip to main content
PUT
/
teams
/
{teamId}
Update team
curl --request PUT \
  --url https://api.open.cx/teams/{teamId} \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "name": "Support Team",
  "description": "Team responsible for customer support",
  "is_support_enabled": false
}
'
{
  "statusCode": 123,
  "message": "<string>",
  "error": "<string>"
}

Authorizations

Authorization
string
header
required

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

Path Parameters

teamId
string
required

Body

application/json
name
string
required

The name of the group

Example:

"Support Team"

description
string

The description of the group

Example:

"Team responsible for customer support"

is_support_enabled
boolean
default:false

Whether this team is enabled to receive support sessions

Example:

false

Response

Successfully updated team