Skip to content

Deregister Managed Instance

ssm_deregister_managed_instance R Documentation

Removes the server or virtual machine from the list of registered servers

Description

Removes the server or virtual machine from the list of registered servers.

If you want to reregister an on-premises server, edge device, or VM, you must use a different Activation Code and Activation ID than used to register the machine previously. The Activation Code and Activation ID must not have already been used on the maximum number of activations specified when they were created. For more information, see Deregistering managed nodes in a hybrid and multicloud environment in the Amazon Web Services Systems Manager User Guide.

Usage

ssm_deregister_managed_instance(InstanceId)

Arguments

InstanceId

[required] The ID assigned to the managed node when you registered it using the activation process.

Value

An empty list.

Request syntax

svc$deregister_managed_instance(
  InstanceId = "string"
)