URL

POST 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

Parameters

FieldData TypeDescription
devices/deviceGroups/locations
  • name
  • id
StringDetails of resources which should be added to 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 Virginia"
		},
		{
			"id": "12"
		}
	]
}

Sample response

Null