跳转到主要内容
PUT
/
v2
/
enterprise
/
playbooks
/
{playbook_id}
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 '
{
  "body": "<string>",
  "title": "<string>",
  "macro": "<string>"
}
'
{
  "status": "success"
}
需要 Enterprise 管理员的个人 API key。 更新现有运行手册。只有运行手册所有者或 Enterprise 管理员可以更新运行手册。所有字段均为可选。

授权

Authorization
string
header
必填

Personal API Key (apk_user_*) for Enterprise Admins only

路径参数

playbook_id
string
必填

请求体

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

响应

Successful Response

status
string
默认值:success