PUT
/
v1
/
teams
/
{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": "da788f78-edd9-4ed4-9c0f-1257e7495989",
    "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": [
        508
      ],
      "admin_ids": [],
      "incidents_count": 1,
      "alert_urgency_id": null,
      "alerts_email_enabled": false,
      "alerts_email_address": "group-72ef3dd12b6728e442e9ae739c3db375@email.rootly.com",
      "created_at": "2025-03-19T07:56:02.552-07:00",
      "updated_at": "2025-03-19T07:56:10.771-07:00"
    },
    "relationships": {
      "users": {
        "data": [
          {
            "id": "508",
            "type": "users"
          }
        ]
      }
    }
  }
}

Authorizations

Authorization
string
header
required

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

Path Parameters

id
string
required

Body

application/vnd.api+json
data
object
required

Response

200
application/vnd.api+json
team updated
data
object
required