aws ssm deregister-managed-instance
Removes the server or virtual machine from the list of registered servers. AWS CLI reference
1 example 1 option Its page in the AWS CLI reference
Examples
To deregister a managed instance
The following deregister-managed-instance example deregisters the specified managed instance.
aws ssm deregister-managed-instance --instance-id 'mi-08ab247cdfEXAMPLE'Identify--instance-idThe ID assigned to the managed node when you registered it using the activation process.This command produces no output.
For more information, see Deregistering managed nodes in a hybrid and multicloud environment in the AWS Systems Manager User Guide.
Options
--instance-idThe ID assigned to the managed node when you registered it using the activation process.