Skip to main content

deleteMaintenanceWindow

A Graze API POST request that deletes a single maintenance window.

Back to Graze API EndPoint Reference.

Request arguments

Endpoint deleteMaintenanceWindow takes the following request arguments:

Name

Type

Required

Description

auth_token

String

Yes

A valid auth_token returned from the authenticate request. Alternatively, basic authenticate headers can be used in place of this parameter. See the authenticate endpoint for more information and usage examples.

id

Number

Yes

ID of the maintenance window you want to delete.

Response

Endpoint deleteMaintenanceWindow returns the following response:

Examples

The following examples demonstrate typical use of endpoint deleteMaintenanceWindow:

Request example

Example cURL request to delete maintenance window 123:

curl -X POST -u graze:graze -k -v "https://localhost/graze/v1/deleteMaintenanceWindow" -H "Content-Type: application/json; charset=UTF-8" -d '{"id":"123"}'

Response example