PUT
/
v1
/
schedules
/
{id}
curl --request PUT \
  --url https://api.rootly.com/v1/schedules/{id} \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/vnd.api+json' \
  --data '{
  "data": {
    "type": "schedules",
    "attributes": {
      "name": "<string>",
      "description": "<string>",
      "all_time_coverage": true,
      "slack_user_group": {
        "id": "<string>",
        "name": "<string>"
      },
      "owner_group_ids": [
        "<string>"
      ],
      "owner_user_id": 123
    }
  }
}'
{
  "data": {
    "id": "3ed38305-f1b7-40ab-b857-f2c48f538d93",
    "type": "schedules",
    "attributes": {
      "name": "Updated schedule name",
      "description": "Updated schedule description",
      "all_time_coverage": true,
      "slack_user_group": {},
      "owner_user_id": 412,
      "owner_group_ids": [
        "b0a28e56-00d4-4865-b565-88614a43573f"
      ],
      "created_at": "2025-05-08T00:24:33.512-07:00",
      "updated_at": "2025-05-08T00:24:42.627-07:00"
    },
    "relationships": {
      "owner_user": {
        "data": {
          "id": "412",
          "type": "users"
        }
      },
      "escalation_policies": {
        "data": []
      }
    }
  }
}

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

Response

200
application/vnd.api+json
schedule updated

The response is of type object.