Summary
Deletes automations
Description
Deletes automations (based off an array of Ids)
Route
DELETE /automation_catalog/automations
Roles
admin
other
apiread
Parameters
DetailsExampleSchema
| Name |
Type |
Required |
Description |
| ids |
array |
yes |
ids off the automation |
Copied to Clipboard
{
"ids": [
"85c2a6662d0642dde0b472f4",
"7da700b6ab256f172718dec1",
"b5cbf8df8d110a54fbbe8841",
"7c1c9ab48193afbbabb6e9e1",
"4c248532e5f2c4ed4ce1a108"
]
}
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": -98655837.87561625
}
Copied to Clipboard
{
"title": "results",
"type": "object",
"properties": {
"removeCount": {
"type": "number"
}
},
"required": [
"removeCount"
]
}