Skip to content

Delete an automation

DELETE
/api/v1/automations/{id}
curl --request DELETE \
--url http://localhost:3000/api/v1/automations/example \
--header 'Authorization: Bearer <token>'

Its run log goes with it.

Scope: write.

id
required
string

Automation id

Deleted

Media typeapplication/json
object
data
required
object
deleted
required
boolean
Example
{
"data": {
"deleted": true
}
}

An error

Media typeapplication/json
object
error
required
object
code
required
string
message
required
string
detail
Examplegenerated
{
"error": {
"code": "example",
"message": "example",
"detail": "example"
}
}