curl --request PUT \
--url http://localhost:8080/api/v1/teams/{id} \
--header 'Authorization: Basic <encoded-value>' \
--header 'Content-Type: application/json' \
--data '{
"id": 1,
"created_at": "2025-08-28T10:00:00Z",
"updated_at": "2025-08-28T10:00:00Z",
"emoji": "🛠️",
"name": "Support Team",
"conversation_assignment_type": "round_robin",
"timezone": "UTC",
"business_hours_id": 1,
"sla_policy_id": 1,
"max_auto_assigned_conversations": 10
}'
{
"status": "success",
"data": {
"id": 1,
"created_at": "2025-08-28T10:00:00Z",
"updated_at": "2025-08-28T10:00:00Z",
"emoji": "🛠️",
"name": "Support Team",
"conversation_assignment_type": "round_robin",
"timezone": "UTC",
"business_hours_id": 1,
"sla_policy_id": 1,
"max_auto_assigned_conversations": 10
}
}
curl --request PUT \
--url http://localhost:8080/api/v1/teams/{id} \
--header 'Authorization: Basic <encoded-value>' \
--header 'Content-Type: application/json' \
--data '{
"id": 1,
"created_at": "2025-08-28T10:00:00Z",
"updated_at": "2025-08-28T10:00:00Z",
"emoji": "🛠️",
"name": "Support Team",
"conversation_assignment_type": "round_robin",
"timezone": "UTC",
"business_hours_id": 1,
"sla_policy_id": 1,
"max_auto_assigned_conversations": 10
}'
{
"status": "success",
"data": {
"id": 1,
"created_at": "2025-08-28T10:00:00Z",
"updated_at": "2025-08-28T10:00:00Z",
"emoji": "🛠️",
"name": "Support Team",
"conversation_assignment_type": "round_robin",
"timezone": "UTC",
"business_hours_id": 1,
"sla_policy_id": 1,
"max_auto_assigned_conversations": 10
}
}
Basic authentication using base64 encoded API key and secret. Format: Authorization: Basic <base64(api_key:api_secret)>
Team update
The body is of type object
.
Team updated successfully
The response is of type object
.
Was this page helpful?