PUT
/
v1
/
playbooks
/
{playbook_id}
Update Playbook
curl --request PUT \
  --url https://api.devin.ai/v1/playbooks/{playbook_id} \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '{
  "title": "<string>",
  "body": "<string>",
  "macro": "<string>"
}'
{
  "status": "success"
}
Update an existing team playbook. Requires ManageOrgPlaybooks permission. Only team playbooks can be updated.

Path Parameters

playbook_id
string
required
The ID of the playbook to update

Request Body

title
string
required
The title of the playbook
body
string
required
The content/instructions of the playbook
macro
string
Optional macro shortcut for the playbook (e.g., !deploy)

Response

Returns a success status indicating the playbook was updated.
{
  "status": "success"
}