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": [
"c0fef99fcabd8ee3fd614299",
"4730b605f7b1ef6edca7906d",
"fbf86e28aeb0ce863be2e3a4",
"574b1f99e11c2a4f5bad9104",
"f10329353b296baffcd02827"
]
}
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": -20367557.831190422
}
Copied to Clipboard
{
"title": "results",
"type": "object",
"properties": {
"removeCount": {
"type": "number"
}
},
"required": [
"removeCount"
]
}