**To deregister a registered instance from a stack**

The following ``deregister-instance`` command deregisters a registered instance from its stack. ::

  aws opsworks --region us-east-1 deregister-instance --instance-id 4d6d1710-ded9-42a1-b08e-b043ad7af1e2

*Output*: None.

**More Information**

For more information, see `Deregistering a Registered Instance`_ in the *AWS OpsWorks User Guide*.

.. _`Deregistering a Registered Instance`: http://docs.aws.amazon.com/opsworks/latest/userguide/registered-instances-unassign.html

