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

************
delete_model
************



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

  

  Deletes a model. The ``DeleteModel`` API deletes only the model entry that was created in SageMaker when you called the ``CreateModel`` API. It does not delete model artifacts, inference code, or the IAM role that you specified when creating the model.

  

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


  **Request Syntax**
  ::

    response = client.delete_model(
        ModelName='string'
    )
    
  :type ModelName: string
  :param ModelName: **[REQUIRED]** 

    The name of the model to delete.

    

  
  
  :returns: None