v1

latestOpenAPI 3.0.0Apache 2.0 License2026-07-141381,185842.7 KB

Removes a target from a maintenance window.

post/#X-Amz-Target=AmazonSSM.DeregisterTargetFromMaintenanceWindow

Headers

X-Amz-Target'AmazonSSM.DeregisterTargetFromMaintenanceWindow' required

Request body

WindowIdstring required

The ID of the maintenance window the target should be removed from.

WindowTargetIdstring required

The ID of the target definition to remove.

Safeboolean

The system checks if the target is being referenced by a task. If the target is being referenced, the system returns an error and doesn't deregister the target from the maintenance window.

Response

Success

WindowIdstring

The ID of the maintenance window the target was removed from.

WindowTargetIdstring

The ID of the removed target definition.