:doc:`QuickSight <../../quicksight>` / Client / delete_template_alias

*********************
delete_template_alias
*********************



.. py:method:: QuickSight.Client.delete_template_alias(**kwargs)

  

  Deletes the item that the specified template alias points to. If you provide a specific alias, you delete the version of the template that the alias points to.

  

  See also: `AWS API Documentation <https://docs.aws.amazon.com/goto/WebAPI/quicksight-2018-04-01/DeleteTemplateAlias>`_  


  **Request Syntax**
  ::

    response = client.delete_template_alias(
        AwsAccountId='string',
        TemplateId='string',
        AliasName='string'
    )
    
  :type AwsAccountId: string
  :param AwsAccountId: **[REQUIRED]** 

    The ID of the Amazon Web Services account that contains the item to delete.

    

  
  :type TemplateId: string
  :param TemplateId: **[REQUIRED]** 

    The ID for the template that the specified alias is for.

    

  
  :type AliasName: string
  :param AliasName: **[REQUIRED]** 

    The name for the template alias. To delete a specific alias, you delete the version that the alias points to. You can specify the alias name, or specify the latest version of the template by providing the keyword ``$LATEST`` in the ``AliasName`` parameter.

    

  
  
  :rtype: dict
  :returns: 
    
    **Response Syntax**

    
    ::

      {
          'Status': 123,
          'TemplateId': 'string',
          'AliasName': 'string',
          'Arn': 'string',
          'RequestId': 'string'
      }
      
    **Response Structure**

    

    - *(dict) --* 
      

      - **Status** *(integer) --* 

        The HTTP status of the request.

        
      

      - **TemplateId** *(string) --* 

        An ID for the template associated with the deletion.

        
      

      - **AliasName** *(string) --* 

        The name for the template alias.

        
      

      - **Arn** *(string) --* 

        The Amazon Resource Name (ARN) of the template you want to delete.

        
      

      - **RequestId** *(string) --* 

        The Amazon Web Services request ID for this operation.

        
  
  **Exceptions**
  
  *   :py:class:`QuickSight.Client.exceptions.ThrottlingException`

  
  *   :py:class:`QuickSight.Client.exceptions.ResourceNotFoundException`

  
  *   :py:class:`QuickSight.Client.exceptions.UnsupportedUserEditionException`

  
  *   :py:class:`QuickSight.Client.exceptions.ConflictException`

  
  *   :py:class:`QuickSight.Client.exceptions.InternalFailureException`

  