delete_api_key

APIGateway.Client.delete_api_key(**kwargs)

Deletes the ApiKey resource.

See also: AWS API Documentation

Request Syntax

response = client.delete_api_key(
    apiKey='string'
)
Parameters
apiKey (string) --

[REQUIRED]

The identifier of the ApiKey resource to be deleted.

Returns
None

Exceptions

  • APIGateway.Client.exceptions.BadRequestException
  • APIGateway.Client.exceptions.ConflictException
  • APIGateway.Client.exceptions.NotFoundException
  • APIGateway.Client.exceptions.UnauthorizedException
  • APIGateway.Client.exceptions.TooManyRequestsException