:doc:`AppSync <../../appsync>` / Client / delete_api

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



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

  

  Deletes an ``Api`` object

  

  See also: `AWS API Documentation <https://docs.aws.amazon.com/goto/WebAPI/appsync-2017-07-25/DeleteApi>`_  


  **Request Syntax**
  ::

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

    The ``Api`` ID.

    

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

    
    ::

      {}
      
    **Response Structure**

    

    - *(dict) --* 
  
  **Exceptions**
  
  *   :py:class:`AppSync.Client.exceptions.BadRequestException`

  
  *   :py:class:`AppSync.Client.exceptions.ConcurrentModificationException`

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

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

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

  
  *   :py:class:`AppSync.Client.exceptions.AccessDeniedException`

  