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": [
"9e3c17ce6345c7af875dc472",
"8cafd31a759ed89265aabecf",
"43d58248c165185c493de4e0",
"676ff1231a38efcf089f9c2f",
"cee659ab6ff94633facb4def"
]
}
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": 47833461.04082966
}
Copied to Clipboard
{
"title": "results",
"type": "object",
"properties": {
"removeCount": {
"type": "number"
}
},
"required": [
"removeCount"
]
}