Tutorial: Delete a maintenance window using the AWS CLI - AWS Systems Manager
Services or capabilities described in AWS documentation might vary by Region. To see the differences applicable to the AWS European Sovereign Cloud Region, see the AWS European Sovereign Cloud User Guide.

Tutorial: Delete a maintenance window using the AWS 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"
}