URL
DELETE https://{api-url}/api/v2/tenants/{tenantId}/scheduleMaintenances/{smId}/resources
Sample URLs
https://{api-url}/api/v2/tenants/client_8/scheduleMaintenances/SM-9e1e66c7-799c-4a70-9820-10fc6f4dc765/resources
Note
- Resources can only be removed from Active, Pending, or Suspended scheduled maintenance windows.
Parameters
Field | Data Type | Description |
---|---|---|
devices/deviceGroups/locations
| String | Name or ID of a resource to be removed from the schedule maintenance window. |
Sample request
{
"devices": [{
"hostName": "device-1"
},
{
"uniqueId": "90491678-096c-4223-9867-f31c37ff09da"
}
],
"deviceGroups": [{
"name": "Network Group"
},
{
"id": "DGP-a20e13ad-e98f-416e-a9dd-40158ffdb2af"
}
],
"locations": [{
"name": "West Virgina"
},
{
"id": "12"
}
]
}
Sample response
Null