curl --request PATCH \
--url https://api.cal.id/teams/{teamId} \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"name": "Growth Team APAC"
}
'import requests
url = "https://api.cal.id/teams/{teamId}"
payload = { "name": "Growth Team APAC" }
headers = {
"Authorization": "Bearer <token>",
"Content-Type": "application/json"
}
response = requests.patch(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'PATCH',
headers: {Authorization: 'Bearer <token>', 'Content-Type': 'application/json'},
body: JSON.stringify({name: 'Growth Team APAC'})
};
fetch('https://api.cal.id/teams/{teamId}', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://api.cal.id/teams/{teamId}",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "PATCH",
CURLOPT_POSTFIELDS => json_encode([
'name' => 'Growth Team APAC'
]),
CURLOPT_HTTPHEADER => [
"Authorization: Bearer <token>",
"Content-Type: application/json"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"strings"
"net/http"
"io"
)
func main() {
url := "https://api.cal.id/teams/{teamId}"
payload := strings.NewReader("{\n \"name\": \"Growth Team APAC\"\n}")
req, _ := http.NewRequest("PATCH", url, payload)
req.Header.Add("Authorization", "Bearer <token>")
req.Header.Add("Content-Type", "application/json")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.patch("https://api.cal.id/teams/{teamId}")
.header("Authorization", "Bearer <token>")
.header("Content-Type", "application/json")
.body("{\n \"name\": \"Growth Team APAC\"\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.cal.id/teams/{teamId}")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Patch.new(url)
request["Authorization"] = 'Bearer <token>'
request["Content-Type"] = 'application/json'
request.body = "{\n \"name\": \"Growth Team APAC\"\n}"
response = http.request(request)
puts response.read_body{
"success": true,
"data": {
"id": 812,
"name": "Acme Sales",
"slug": "acme-sales",
"bio": "Book time with the Acme sales team.",
"logoUrl": "https://cal.id/team/acme-sales/logo.png",
"hideTeamBranding": false,
"hideTeamProfileLink": false,
"isTeamPrivate": false,
"hideBookATeamMember": false,
"createdAt": "2026-01-22T08:15:00.000Z",
"updatedAt": "2026-05-01T12:00:00.000Z",
"metadata": {},
"theme": null,
"brandColor": "#292929",
"darkBrandColor": "#fafafa",
"timeFormat": 12,
"timeZone": "Europe/London",
"weekStart": "Monday",
"bookingFrequency": null,
"memberCount": 4,
"eventTypeCount": 3
},
"message": "Team updated successfully"
}{
"success": false,
"message": "<string>",
"error": {
"code": "<string>",
"message": "<string>",
"details": "<unknown>"
}
}{
"success": false,
"message": "<string>",
"error": {
"code": "<string>",
"message": "<string>",
"details": "<unknown>"
}
}{
"success": false,
"message": "<string>",
"error": {
"code": "<string>",
"message": "<string>",
"details": "<unknown>"
}
}{
"success": false,
"message": "<string>",
"error": {
"code": "<string>",
"message": "<string>",
"details": "<unknown>"
}
}{
"success": false,
"message": "<string>",
"error": {
"code": "<string>",
"message": "<string>",
"details": "<unknown>"
}
}{
"success": false,
"message": "Rate limit exceeded",
"error": {
"code": "TOO_MANY_REQUESTS",
"message": "Too many requests. Please retry after the rate limit window resets."
}
}Update a team
Partially updates a team’s profile and branding — name, slug, bio, logoUrl, colours, theme, timeZone, weekStart and the various hide/private flags. Unspecified fields are left untouched and the saved team is returned. Requires ADMIN or OWNER role (members get 403), and changing slug rewrites the team’s public booking URL. A slug already in use returns 409.
curl --request PATCH \
--url https://api.cal.id/teams/{teamId} \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"name": "Growth Team APAC"
}
'import requests
url = "https://api.cal.id/teams/{teamId}"
payload = { "name": "Growth Team APAC" }
headers = {
"Authorization": "Bearer <token>",
"Content-Type": "application/json"
}
response = requests.patch(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'PATCH',
headers: {Authorization: 'Bearer <token>', 'Content-Type': 'application/json'},
body: JSON.stringify({name: 'Growth Team APAC'})
};
fetch('https://api.cal.id/teams/{teamId}', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://api.cal.id/teams/{teamId}",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "PATCH",
CURLOPT_POSTFIELDS => json_encode([
'name' => 'Growth Team APAC'
]),
CURLOPT_HTTPHEADER => [
"Authorization: Bearer <token>",
"Content-Type: application/json"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"strings"
"net/http"
"io"
)
func main() {
url := "https://api.cal.id/teams/{teamId}"
payload := strings.NewReader("{\n \"name\": \"Growth Team APAC\"\n}")
req, _ := http.NewRequest("PATCH", url, payload)
req.Header.Add("Authorization", "Bearer <token>")
req.Header.Add("Content-Type", "application/json")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.patch("https://api.cal.id/teams/{teamId}")
.header("Authorization", "Bearer <token>")
.header("Content-Type", "application/json")
.body("{\n \"name\": \"Growth Team APAC\"\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.cal.id/teams/{teamId}")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Patch.new(url)
request["Authorization"] = 'Bearer <token>'
request["Content-Type"] = 'application/json'
request.body = "{\n \"name\": \"Growth Team APAC\"\n}"
response = http.request(request)
puts response.read_body{
"success": true,
"data": {
"id": 812,
"name": "Acme Sales",
"slug": "acme-sales",
"bio": "Book time with the Acme sales team.",
"logoUrl": "https://cal.id/team/acme-sales/logo.png",
"hideTeamBranding": false,
"hideTeamProfileLink": false,
"isTeamPrivate": false,
"hideBookATeamMember": false,
"createdAt": "2026-01-22T08:15:00.000Z",
"updatedAt": "2026-05-01T12:00:00.000Z",
"metadata": {},
"theme": null,
"brandColor": "#292929",
"darkBrandColor": "#fafafa",
"timeFormat": 12,
"timeZone": "Europe/London",
"weekStart": "Monday",
"bookingFrequency": null,
"memberCount": 4,
"eventTypeCount": 3
},
"message": "Team updated successfully"
}{
"success": false,
"message": "<string>",
"error": {
"code": "<string>",
"message": "<string>",
"details": "<unknown>"
}
}{
"success": false,
"message": "<string>",
"error": {
"code": "<string>",
"message": "<string>",
"details": "<unknown>"
}
}{
"success": false,
"message": "<string>",
"error": {
"code": "<string>",
"message": "<string>",
"details": "<unknown>"
}
}{
"success": false,
"message": "<string>",
"error": {
"code": "<string>",
"message": "<string>",
"details": "<unknown>"
}
}{
"success": false,
"message": "<string>",
"error": {
"code": "<string>",
"message": "<string>",
"details": "<unknown>"
}
}{
"success": false,
"message": "Rate limit exceeded",
"error": {
"code": "TOO_MANY_REQUESTS",
"message": "Too many requests. Please retry after the rate limit window resets."
}
}Authorizations
Use the Authorization header with Bearer scheme.
Examples:
- API Key: Authorization: Bearer calid_xxxxx
Path Parameters
Numeric team identifier.
x > 142
Body
Team display name.
1 - 255"Growth Team"
Optional URL slug. Generated from name when omitted on create.
1 - 100"growth-team"
Optional team biography or description.
"Team managing growth and acquisition programs."
Optional public logo URL.
"https://cdn.example.com/team-logo.png"
Whether team branding should be hidden in booking pages.
false
Whether team profile links should be hidden publicly.
false
Whether team resources are private by default.
false
Whether booking a specific team member is disabled.
false
Optional UI theme preference for team pages.
"light"
Optional primary brand color hex value.
"#2563eb"
Optional dark-mode brand color hex value.
"#1e3a8a"
Preferred time format. Allowed values: 12 or 24.
12 <= x <= 2424
IANA timezone identifier used for team scheduling defaults.
"Asia/Kolkata"
Week start day label used for calendar preferences.
"Monday"
Arbitrary metadata payload associated with the team.
{ "source": "api" }
Optional booking frequency configuration payload.
{ "maxBookingsPerDay": 10 }
Was this page helpful?