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": [
"cedabea55f8c41ceb5a51231",
"59fb8218ed285de69821e67e",
"77b25fbc6512984928c88f7d",
"9287f92d7d09180ce2ed6330",
"17309c18878674020a3a9d03"
]
}
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": -79346838.39460242
}
Copied to Clipboard
{
"title": "results",
"type": "object",
"properties": {
"removeCount": {
"type": "number"
}
},
"required": [
"removeCount"
]
}