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

**************
delete_api_key
**************



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

  

  Deletes the ApiKey resource.

  

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


  **Request Syntax**
  ::

    response = client.delete_api_key(
        apiKey='string'
    )
    
  :type apiKey: string
  :param apiKey: **[REQUIRED]** 

    The identifier of the ApiKey resource to be deleted.

    

  
  
  :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`

  