跳转到主要内容
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"
}
更新现有的团队 Playbook。需要具备 ManageOrgPlaybooks 权限。只能更新团队 Playbook。

Authorizations

Authorization
string
header
required

Path Parameters

playbook_id
string
required

Body

application/json
title
string
required
Minimum length: 1
body
string
required
Minimum length: 1
macro
string | null

Response

status
string
Example: