Skip to main content
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.

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

playbook_id
string
required

The ID of the playbook to update

Body

application/json

Request body for creating or updating a playbook

title
string
required

The title of the playbook

Minimum length: 1
body
string
required

The content/instructions of the playbook

Minimum length: 1
macro
string | null

Optional macro shortcut for the playbook (e.g., !deploy)

Response

Playbook updated successfully

status
string
Example:

"success"