[ AWS CLI Command Reference ](../../index.html)

  * [ Home ](../../index.html)
  * [ User Guide ](https://docs.aws.amazon.com/cli/latest/userguide/)
  * [ Forum ](https://forums.aws.amazon.com/forum.jspa?forumID=150)
  * [ GitHub ](https://github.com/aws/aws-cli)

###  Navigation

  * [ index ](../../genindex.html "General Index")
  * [ next ](describe-account-limits.html "describe-account-limits") | 
  * [ previous ](deploy.html "deploy") | 
  * [ AWS CLI 2.15.40 Command Reference ](../../index.html) » 
  * [ aws ](../index.html) » 
  * [ cloudformation ](index.html) » 

  * [ ← deploy ](deploy.html "previous chapter \(use the left arrow\)") / 
  * [ describe-account-limits → ](describe-account-limits.html "next chapter \(use the right arrow\)")

[ ![Amazon Web Services logo](../../_static/logo.png) ](../../index.html)

###  [ Table of Contents ](../../index.html)

  * deregister-type 
    * Description 
    * Synopsis 
    * Options 
    * Global Options 
    * Examples 
    * Output 

###  Quick search

Search box  Search

###  Feedback

Did you find this page useful? Do you have a suggestion to improve the
documentation? [ Give us feedback ](https://docs.aws.amazon.com/forms/aws-doc-
feedback?hidden_service_name=AWS%20Command%20Line%20Interface&hidden_guide_name=Reference&topic_url=https%3A%2F%2Fdocs.aws.amazon.com%2Fcli%2Flatest%2Freference/cloudformation/deregister-
type.html) .  
If you would like to suggest an improvement or fix for the AWS CLI, check out
our [ contributing guide ](https://github.com/aws/aws-
cli/blob/develop/CONTRIBUTING.md) on GitHub.

###  User Guide

First time using the AWS CLI? See the [ User Guide
](https://docs.aws.amazon.com/cli/latest/userguide/) for help getting started.

[ [ aws  ](../index.html#cli-aws) . [ cloudformation  ](index.html#cli-aws-
cloudformation) ]

#  deregister-type  Â¶

##  Description  Â¶

Marks an extension or extension version as ` DEPRECATED  ` in the
CloudFormation registry, removing it from active use. Deprecated extensions or
extension versions cannot be used in CloudFormation operations.

To deregister an entire extension, you must individually deregister all active
versions of that extension. If an extension has only a single active version,
deregistering that version results in the extension itself being deregistered
and marked as deprecated in the registry.

You canât deregister the default version of an extension if there are other
active version of that extension. If you do deregister the default version of
an extension, the extension type itself is deregistered as well and marked as
deprecated.

To view the deprecation status of an extension or extension version, use [
DescribeType
](https://docs.aws.amazon.com/AWSCloudFormation/latest/APIReference/API_DescribeType.html)
.

See also: [ AWS API Documentation
](https://docs.aws.amazon.com/goto/WebAPI/cloudformation-2010-05-15/DeregisterType)

##  Synopsis  Â¶

    
    
      deregister-type
    [--arn <value>]
    [--type <value>]
    [--type-name <value>]
    [--version-id <value>]
    [--cli-input-json | --cli-input-yaml]
    [--generate-cli-skeleton <value>]
    [--debug]
    [--endpoint-url <value>]
    [--no-verify-ssl]
    [--no-paginate]
    [--output <value>]
    [--query <value>]
    [--profile <value>]
    [--region <value>]
    [--version <value>]
    [--color <value>]
    [--no-sign-request]
    [--ca-bundle <value>]
    [--cli-read-timeout <value>]
    [--cli-connect-timeout <value>]
    [--cli-binary-format <value>]
    [--no-cli-pager]
    [--cli-auto-prompt]
    [--no-cli-auto-prompt]
    

##  Options  Â¶

` --arn  ` (string)

> The Amazon Resource Name (ARN) of the extension.
>
> Conditional: You must specify either ` TypeName  ` and ` Type  ` , or ` Arn
> ` .

` --type  ` (string)

> The kind of extension.
>
> Conditional: You must specify either ` TypeName  ` and ` Type  ` , or ` Arn
> ` .
>
> Possible values:
>
>   * ` RESOURCE  `
>   * ` MODULE  `
>   * ` HOOK  `
>

` --type-name  ` (s