Mark Resources As Being Maintained

Mark Resources As Being Maintained

The Resources can end up in two maintenance states - MAINTAINED OR MAINTAINED_MANUAL -
depending upon the inputs specified.


  • If duration/end time is specified, the Resources will be placed in MAINTAINED
    state and after the duration/end time expires, the state of the Resources would be automatically
    set to the state they were in before entering the maintenance window.
  • If duration/end time is not specified, the Resources will be placed in MAINTAINED_MANUAL state.
    Callers have to execute DELETE /suite-api/api/resources/maintained?id=ID1&id=ID2 API
    to set the Resources back to whatever state they were in.
  • If both duration and end time are specified, end time takes preference over duration.

Request
URI
PUT
https://{api_host}/suite-api/api/resources/maintained
COPY
Query Parameters
string of array
id
Required

The Resource identifiers

integer
duration
Optional

The Duration for which this resource will be in maintenance (In Minutes)

integer
end
Optional

The End time of the maintenance window as a long value (Epoch time)


Authentication
This operation uses the following authentication methods.
Responses
200

The resource is put in maintenance successfully

Operation doesn't return any data structure

Code Samples
COPY
                    curl -X PUT -H 'Authorization: <value>' https://{api_host}/suite-api/api/resources/maintained