:doc:`SageMaker <../../sagemaker>` / Client / delete_tags

***********
delete_tags
***********



.. py:method:: SageMaker.Client.delete_tags(**kwargs)

  

  Deletes the specified tags from an SageMaker resource.

   

  To list a resource's tags, use the ``ListTags`` API.

   

  .. note::

    

    When you call this API to delete tags from a hyperparameter tuning job, the deleted tags are not removed from training jobs that the hyperparameter tuning job launched before you called this API.

    

   

  .. note::

    

    When you call this API to delete tags from a SageMaker Domain or User Profile, the deleted tags are not removed from Apps that the SageMaker Domain or User Profile launched before you called this API.

    

  

  See also: `AWS API Documentation <https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/DeleteTags>`_  


  **Request Syntax**
  ::

    response = client.delete_tags(
        ResourceArn='string',
        TagKeys=[
            'string',
        ]
    )
    
  :type ResourceArn: string
  :param ResourceArn: **[REQUIRED]** 

    The Amazon Resource Name (ARN) of the resource whose tags you want to delete.

    

  
  :type TagKeys: list
  :param TagKeys: **[REQUIRED]** 

    An array or one or more tag keys to delete.

    

  
    - *(string) --* 

    

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

    
    ::

      {}
      
    **Response Structure**

    

    - *(dict) --* 
  