Skip to main content
Update Enterprise Playbook
curl --request PUT \
  --url https://api.devin.ai/v2/enterprise/playbooks/{playbook_id} \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '{
  "title": "<string>",
  "body": "<string>",
  "macro": "<string>"
}'
{
  "status": "success"
}
Update an existing playbook. Only the playbook owner or enterprise admins can update a playbook. All fields are optional.

Path Parameters

playbook_id
string
required
The unique identifier of the playbook

Request Body

title
string
Updated title of the playbook (min length 1)
body
string
Updated content/instructions of the playbook (min length 1)
macro
string
Updated macro/shortcut for the playbook

Response

{
  "status": "success"
}
I