PUT
/
v1
/
teams
/
{id}
curl --request PUT \
  --url https://api.rootly.com/v1/teams/%7Bid%7D \
  --header 'Authorization: Bearer REPLACE_BEARER_TOKEN' \
  --header 'content-type: application/vnd.api+json'
{
  "data": {
    "id": "eaf15d0b-c0b8-481a-bdef-24819f60bf0b",
    "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": [
        500
      ],
      "admin_ids": [],
      "incidents_count": 1,
      "alert_urgency_id": null,
      "alerts_email_enabled": false,
      "alerts_email_address": "group-896c940b98efd5884454eeb5ea7ba795@email.rootly.com",
      "created_at": "2025-03-05T15:13:33.262-08:00",
      "updated_at": "2025-03-05T15:13:40.806-08:00"
    },
    "relationships": {
      "users": {
        "data": [
          {
            "id": "500",
            "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