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
Service User credential (prefix: cog_)
Playbook ID (prefix: playbook-)
"playbook-abc123def456"
Playbook macro identifier. Must start with '!' followed by one or more letters, digits, underscores, or hyphens. Example: '!my_macro' or '!my-macro'
Successful Response
enterprise
org