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.
The ID of the maintenance window the target should be removed from.
The ID of the target definition to remove.