Playbooks
Update a playbook
put/plugins/playbooks/api/v0/playbooks/{id}
Path parameters
idstring required
Example:iz0g457ikesz55dhxcfa0fk9yy
ID of the playbook to update.
Request body
Example request
{
"id": "iz0g457ikesz55dhxcfa0fk9yy",
"title": "Cloud PlaybookRuns",
"description": "A playbook to follow when there is a playbook run regarding the availability of the cloud service.",
"team_id": "p03rbi6viyztysbqnkvcqyel2i",
"create_public_playbook_run": true,
"create_at": 1602235338837,
"num_stages": 3,
"num_steps": 18,
"checklists": [
{
"id": "6f6nsgxzoq84fqh1dnlyivgafd",
"title": "Triage issue",
"items": [
{
"id": "6f6nsgxzoq84fqh1dnlyivgafd",
"title": "Gather information from customer.",
"state": "closed",
"state_modified": 1607774621321,
"assignee_id": "pisdatkjtdlkdhht2v4inxuzx1",
"assignee_modified": 1608897821125,
"command": "/opsgenie on-call",
"command_last_run": 1608552221019,
"description": "Ask the customer for more information in [Zendesk](https://www.zendesk.com/).",
"delete_at": 1607774621321,
"due_date": 1607774621321,
"update_at": 1607774621321,
"condition_id": "6f6nsgxzoq84fqh1dnlyivgafd",
"condition_action": "hidden",
"condition_reason": "Severity is Critical AND Status is not Closed"
}
]
}
],
"member_ids": [
"ilh6s1j4yefbdhxhtlzt179i6m"
],
"channel_name_template": "Incident - {SEQ}"
}Response
Playbook succesfully updated.