Summary
Removes node(s) from a compliance plan
Description
Removes new node(s) from an already existing compliance plan
Route
DELETE /configuration_manager/compliance_plans/nodes
Roles
admin
apiwrite
Parameters
DetailsExampleSchema
Name |
Type |
Required |
Description |
planId |
string |
yes |
Object ID of the Compliance Plan |
nodeIds |
array |
yes |
The list of node IDs to delete |
options |
object |
no |
Additional Options. Note: None currently supported |
Copied to Clipboard
{
"planId": "5c35355dbebaa82eaf8113f0",
"nodeIds": [
"5c35355dbebaa82eaf8113f0",
"5c35355dbebaa82eaf8113f0",
"5c35355dbebaa82eaf8113f0",
"5c35355dbebaa82eaf8113f0"
]
}
Copied to Clipboard
{
"type": "object",
"properties": {
"planId": {
"title": "planId",
"$ref": "common#/definitions/mongoObjectId"
},
"nodeIds": {
"title": "nodeIds",
"type": "array",
"items": {
"$ref": "common#/definitions/mongoObjectId"
}
},
"options": {
"title": "options",
"type": "object",
"properties": {}
}
},
"required": [
"planId",
"nodeIds"
],
"additionalProperties": false
}
Return
DetailsExampleSchema
Name |
Type |
Description |
updateResult |
object |
- |
Copied to Clipboard
{
"status": "success",
"message": "Successfully added node(s) to compliance plan"
}
Copied to Clipboard
{
"title": "updateResult",
"type": "object",
"properties": {
"status": {
"type": "string",
"const": "success"
},
"message": {
"type": "string",
"examples": [
"Successfully added node(s) to compliance plan"
]
}
}
}