unassignMaintenanceWindows
This method unassigns a set of maintenance windows from a policy.
Parameters
Parameter | Type | Optional | Description |
---|---|---|---|
| String | No | The ID of the policy to unassign the maintenance windows from. Note
|
| Array of Strings | No | The list of IDs belonging to the maintenance windows that will be unassigned from the policy. Note
|
Return value
This method returns a value of true or false, indicating if the maintenance window was successfully unassigned from the selected policy.
Example
Request:
{ "method": "unassignMaintenanceWindows", "id": "dfa28997-9fc3-4f63-ad20-6105706c934e", "jsonrpc": "2.0", "params": { "policyId": "619758499c12552a11758049", "maintenanceWindowIds": [ "6197584ff9d4bf64ae0e3711" ] } }
Response:
{ "id" : "736b0b48-63be-4b53-818e-b37df9b02e90", "jsonrpc" : "2.0", "result" : { "success" : true } }