Endpoint
/api/v2/tenants/{tenantId}/scheduleMaintenances/{smId}/resources

Deletes resources from a scheduled maintenance window.

Notes
  • Resources can only be removed from Active, Pending, or Suspended scheduled maintenance windows.

Path Parameters
tenantId
string

smId
string

deviceGroups
array

deviceGroups.id
deviceGroups.name
devices
array

devices.hostName
devices.uniqueId
locations
array

locations.id
locations.name
{
  "deviceGroups": [
    {
      "name": "Network Group"
    },
    {
      "id": "DGP-a20e13ad-e98f-416e-a9dd-40158ffdb2af"
    }
  ],
  "devices": [
    {
      "hostName": "device-1"
    },
    {
      "uniqueId": "90491678-096c-4223-9867-f31c37ff09da"
    }
  ],
  "locations": [
    {
      "name": "West Virginia"
    },
    {
      "id": "12"
    }
  ]
}

Responses

OK

Endpoint
/api/v2/tenants/{tenantId}/scheduleMaintenances/{smId}/resources

Adds resources to a scheduled maintenance window.

Notes
  • Resources can only be added to Active, Pending, or Suspended scheduled maintenance windows.
  • To search for scheduled maintenance windows on the basis of status, use the search schedule maintenance API.
  • Entities can be added such as resource, device group, location to a schedule maintenance window. For example, all resource types such as Server, Storage, Volumes, RedShift, RDS or Lambda services are now supported.
  • User can add up to 100 resources (device, device group, location) to a schedule maintenance window.

Path Parameters
tenantId
string

smId
string

deviceGroups
array

deviceGroups.id
deviceGroups.name
devices
array

devices.hostName
devices.uniqueId
locations
array

locations.id
locations.name
{
  "deviceGroups": [
    {
      "name": "Network Group"
    },
    {
      "id": "DGP-a20e13ad-e98f-416e-a9dd-40158ffdb2af"
    }
  ],
  "devices": [
    {
      "hostName": "device-1"
    },
    {
      "uniqueId": "90491678-096c-4223-9867-f31c37ff09da"
    }
  ],
  "locations": [
    {
      "name": "West Virginia"
    },
    {
      "id": "12"
    }
  ]
}

Responses

OK