PUT
/
v1
/
playbooks
/
{id}
curl --request PUT \
  --url https://api.rootly.com/v1/playbooks/{id} \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/vnd.api+json' \
  --data '{
  "data": {
    "type": "playbooks",
    "attributes": {
      "title": "<string>",
      "summary": "<string>",
      "external_url": "<string>",
      "severity_ids": [
        "<string>"
      ],
      "environment_ids": [
        "<string>"
      ],
      "service_ids": [
        "<string>"
      ],
      "functionality_ids": [
        "<string>"
      ],
      "group_ids": [
        "<string>"
      ],
      "incident_type_ids": [
        "<string>"
      ]
    }
  }
}'
{
  "data": {
    "id": "bcc3622d-1bd1-4a73-9df4-01bc777fd080",
    "type": "playbooks",
    "attributes": {
      "title": "How to handle security incident?",
      "summary": "This is a summary",
      "external_url": null,
      "severity_ids": [],
      "environment_ids": [],
      "service_ids": [],
      "functionality_ids": [],
      "group_ids": [],
      "incident_type_ids": [],
      "cause_ids": [],
      "created_at": "2025-03-28T23:03:50.436-07:00",
      "updated_at": "2025-03-28T23:03:54.935-07:00"
    },
    "relationships": {
      "severities": {
        "data": []
      },
      "environments": {
        "data": []
      },
      "services": {
        "data": []
      },
      "functionalities": {
        "data": []
      },
      "groups": {
        "data": []
      },
      "causes": {
        "data": []
      },
      "incident_types": {
        "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
data
object
required

Response

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