cURL
curl --request PUT \ --url https://api.devin.ai/v3/enterprise/playbooks/{playbook_id} \ --header 'Authorization: Bearer <token>' \ --header 'Content-Type: application/json' \ --data ' { "body": "<string>", "title": "<string>", "macro": "<string>" } '
{ "access_type": "enterprise", "body": "<string>", "created_at": 123, "created_by": "<string>", "macro": "<string>", "org_id": "<string>", "playbook_id": "<string>", "title": "<string>", "updated_at": 123, "updated_by": "<string>" }
ManageAccountPlaybooks
服务用户凭据(前缀:cog_)
playbook ID(前缀:playbook-)
"playbook-abc123def456"
playbook 宏标识符。必须以“!”开头,后跟一个或多个字母、数字、下划线或连字符。示例:“!my_macro”或“!my-macro”
成功响应
enterprise
org