Update a specific team by id
curl --request PUT \
--url https://api.rootly.com/v1/teams/{id} \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/vnd.api+json' \
--data '{
"data": {
"type": "groups",
"attributes": {
"name": "<string>",
"description": "<string>",
"notify_emails": [
"<string>"
],
"color": "<string>",
"position": 123,
"backstage_id": "<string>",
"external_id": "<string>",
"pagerduty_id": "<string>",
"pagerduty_service_id": "<string>",
"opsgenie_id": "<string>",
"victor_ops_id": "<string>",
"pagertree_id": "<string>",
"cortex_id": "<string>",
"service_now_ci_sys_id": "<string>",
"user_ids": [
123
],
"admin_ids": [
123
],
"alerts_email_enabled": true,
"alert_urgency_id": "<string>",
"slack_channels": [
{
"id": "<string>",
"name": "<string>"
}
],
"slack_aliases": [
{
"id": "<string>",
"name": "<string>"
}
]
}
}
}'
{
"data": {
"id": "31fcfda6-1997-4e34-9880-88da56e637bc",
"type": "groups",
"attributes": {
"slug": "security",
"name": "Security",
"description": "Everything security related",
"color": "#000",
"position": 2,
"notify_emails": [
"hello@rootly.com",
"world@rootly.com"
],
"slack_channels": [
{
"id": "C03MKDSEJE8",
"name": "infrastructure"
}
],
"slack_aliases": [
{
"id": "S03F7QUV7F1",
"name": "infrastructure"
}
],
"pagerduty_id": "PQ9K7I9",
"pagerduty_service_id": null,
"backstage_id": null,
"external_id": "95ee00ee-4b35-40f7-bd0f-a919f9b8008d",
"opsgenie_id": "a6edf90f-1a61-4592-99a7-bcf101c81bca",
"victor_ops_id": "0ae4de13-145a-4214-9cd5-c982ef95a740",
"pagertree_id": "c4378a92-505c-49e4-a46e-c44c830bbc99",
"cortex_id": null,
"service_now_ci_sys_id": null,
"user_ids": [
483
],
"admin_ids": [],
"incidents_count": 1,
"alert_urgency_id": null,
"alerts_email_enabled": false,
"alerts_email_address": "group-b338363ed24a7054c141b5d1739bb5e6@email.rootly.com",
"created_at": "2025-07-21T23:23:31.210-07:00",
"updated_at": "2025-07-21T23:23:38.695-07:00"
},
"relationships": {
"users": {
"data": [
{
"id": "483",
"type": "users"
}
]
}
}
}
}
Bearer authentication header of the form Bearer <token>
, where <token>
is your auth token.
team updated
The response is of type object
.
Was this page helpful?
curl --request PUT \
--url https://api.rootly.com/v1/teams/{id} \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/vnd.api+json' \
--data '{
"data": {
"type": "groups",
"attributes": {
"name": "<string>",
"description": "<string>",
"notify_emails": [
"<string>"
],
"color": "<string>",
"position": 123,
"backstage_id": "<string>",
"external_id": "<string>",
"pagerduty_id": "<string>",
"pagerduty_service_id": "<string>",
"opsgenie_id": "<string>",
"victor_ops_id": "<string>",
"pagertree_id": "<string>",
"cortex_id": "<string>",
"service_now_ci_sys_id": "<string>",
"user_ids": [
123
],
"admin_ids": [
123
],
"alerts_email_enabled": true,
"alert_urgency_id": "<string>",
"slack_channels": [
{
"id": "<string>",
"name": "<string>"
}
],
"slack_aliases": [
{
"id": "<string>",
"name": "<string>"
}
]
}
}
}'
{
"data": {
"id": "31fcfda6-1997-4e34-9880-88da56e637bc",
"type": "groups",
"attributes": {
"slug": "security",
"name": "Security",
"description": "Everything security related",
"color": "#000",
"position": 2,
"notify_emails": [
"hello@rootly.com",
"world@rootly.com"
],
"slack_channels": [
{
"id": "C03MKDSEJE8",
"name": "infrastructure"
}
],
"slack_aliases": [
{
"id": "S03F7QUV7F1",
"name": "infrastructure"
}
],
"pagerduty_id": "PQ9K7I9",
"pagerduty_service_id": null,
"backstage_id": null,
"external_id": "95ee00ee-4b35-40f7-bd0f-a919f9b8008d",
"opsgenie_id": "a6edf90f-1a61-4592-99a7-bcf101c81bca",
"victor_ops_id": "0ae4de13-145a-4214-9cd5-c982ef95a740",
"pagertree_id": "c4378a92-505c-49e4-a46e-c44c830bbc99",
"cortex_id": null,
"service_now_ci_sys_id": null,
"user_ids": [
483
],
"admin_ids": [],
"incidents_count": 1,
"alert_urgency_id": null,
"alerts_email_enabled": false,
"alerts_email_address": "group-b338363ed24a7054c141b5d1739bb5e6@email.rootly.com",
"created_at": "2025-07-21T23:23:31.210-07:00",
"updated_at": "2025-07-21T23:23:38.695-07:00"
},
"relationships": {
"users": {
"data": [
{
"id": "483",
"type": "users"
}
]
}
}
}
}