:doc:`ApiGatewayV2 <../../apigatewayv2>` / Client / delete_api

**********
delete_api
**********



.. py:method:: ApiGatewayV2.Client.delete_api(**kwargs)

  

  Deletes an Api resource.

  

  See also: `AWS API Documentation <https://docs.aws.amazon.com/goto/WebAPI/apigatewayv2-2018-11-29/DeleteApi>`_  


  **Request Syntax**
  ::

    response = client.delete_api(
        ApiId='string'
    )
    
  :type ApiId: string
  :param ApiId: **[REQUIRED]** 

    The API identifier.

    

  
  
  :returns: None
  **Exceptions**
  
  *   :py:class:`ApiGatewayV2.Client.exceptions.NotFoundException`

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

  