Summary
Delete compliance plans
Description
Delete the specified compliance plans
Route
DELETE /configuration_manager/compliance_plans
Roles
admin
apiwrite
Parameters
DetailsExampleSchema
Name |
Type |
Required |
Description |
planIds |
array |
yes |
Document IDs of the compliance plans. |
Copied to Clipboard
{
"planIds": [
"5c35355dbebaa82eaf8113f0",
"5c35355dbebaa82eaf8113f0",
"5c35355dbebaa82eaf8113f0",
"5c35355dbebaa82eaf8113f0"
]
}
Copied to Clipboard
{
"type": "object",
"properties": {
"planIds": {
"title": "planIds",
"type": "array",
"items": {
"$ref": "common#/definitions/mongoObjectId"
}
}
},
"required": [
"planIds"
],
"additionalProperties": false
}
Return
DetailsExampleSchema
Name |
Type |
Description |
deleteResult |
object |
Status of update operation |
Copied to Clipboard
{
"status": "dolor reprehenderit occaecat",
"deleted": 28948021.843728304
}
Copied to Clipboard
{
"title": "deleteResult",
"type": "object",
"properties": {
"status": {
"type": "string"
},
"deleted": {
"type": "number"
}
},
"required": [
"status",
"deleted"
]
}