Delete a maintenance window. Generally available; added in 9.1.0

DELETE /api/maintenance_window/{id}

[Required authorization] Route required privileges: write-maintenance-window.

Headers

  • kbn-xsrf string Required

    A required header to protect against CSRF attacks

Path parameters

  • id string Required

    The identifier for the maintenance window to be deleted.

Responses

  • 204

    Indicates a successful call.

  • 400

    Indicates an invalid schema or parameters.

  • 403

    Indicates that this call is forbidden.

  • 404

    Indicates a maintenance window with the given ID does not exist.

DELETE /api/maintenance_window/{id}
curl \
 --request DELETE 'https://localhost:5601/api/maintenance_window/{id}' \
 --header "Authorization: $API_KEY" \
 --header "kbn-xsrf: true"