Summary
Deletes automations
Description
Deletes automations (based off an array of Ids)
Route
DELETE /automation_catalog/automations
Roles
admin
other
readonly
apiread
Parameters
DetailsExampleSchema
| Name |
Type |
Required |
Description |
| ids |
array |
yes |
ids off the automation |
Copied to Clipboard
{
"ids": [
"74e85879545b5f9e3b3d77c1",
"baaa1af0913cfeb9ae4bfd3f",
"fc729a5883b1d306086000c3",
"3fe2b4e082db4e992afef340"
]
}
Copied to Clipboard
{
"type": "object",
"properties": {
"ids": {
"title": "ids",
"type": "array",
"items": {
"title": "ids",
"$ref": "automationDocument#/definitions/ObjectId"
}
}
},
"required": [
"ids"
],
"additionalProperties": false
}
Return
DetailsExampleSchema
| Name |
Type |
Description |
| results |
object |
Object containing a property removeCount |
Copied to Clipboard
{
"removeCount": -22930478.729941323
}
Copied to Clipboard
{
"title": "results",
"type": "object",
"properties": {
"removeCount": {
"type": "number"
}
},
"required": [
"removeCount"
]
}