Delete an automation
DELETE
/agents/automations/{automation_id}Deletes the automation and prevents future invocations without deleting its target session.
Delete an automation
curl https://api.openai.com/v1/agents/automations/$AUTOMATION_ID \
-X DELETE \
-H 'OpenAI-Beta: agents=v1' \
-H "Authorization: Bearer $OPENAI_API_KEY"200 — Example
{
"id": "id",
"deleted": true,
"object": "agent.automation.deleted"
}Returns Examples
200 — Example
{
"id": "id",
"deleted": true,
"object": "agent.automation.deleted"
}