:doc:`APIGateway <../../apigateway>` / Client / delete_model

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



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

  

  Deletes a model.

  

  See also: `AWS API Documentation <https://docs.aws.amazon.com/goto/WebAPI/apigateway-2015-07-09/DeleteModel>`_  


  **Request Syntax**
  ::

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

    The string identifier of the associated RestApi.

    

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

    The name of the model to delete.

    

  
  
  :returns: None
  **Exceptions**
  
  *   :py:class:`APIGateway.Client.exceptions.BadRequestException`

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

  
  *   :py:class:`APIGateway.Client.exceptions.NotFoundException`

  
  *   :py:class:`APIGateway.Client.exceptions.UnauthorizedException`

  
  *   :py:class:`APIGateway.Client.exceptions.TooManyRequestsException`

  