Tutorial: Delete a maintenance window using the Amazon CLI - Amazon Systems Manager
Services or capabilities described in Amazon Web Services documentation might vary by Region. To see the differences applicable to the China Regions, see Getting Started with Amazon Web Services in China (PDF).

Amazon Systems Manager Change Manager is no longer open to new customers. Existing customers can continue to use the service as normal. For more information, see Amazon Systems Manager Change Manager availability change.

Tutorial: Delete a maintenance window using the Amazon CLI

To delete a maintenance window you created in these tutorials, run the following command.

aws ssm delete-maintenance-window --window-id "mw-0c50858d01EXAMPLE"

The system returns information similar to the following.

{
   "WindowId":"mw-0c50858d01EXAMPLE"
}