delete_api

ApiGatewayV2.Client.delete_api(**kwargs)

Deletes an Api resource.

See also: AWS API Documentation

Request Syntax

response = client.delete_api(
    ApiId='string'
)
Parameters
ApiId (string) --

[REQUIRED]

The API identifier.

Returns
None

Exceptions

  • ApiGatewayV2.Client.exceptions.NotFoundException
  • ApiGatewayV2.Client.exceptions.TooManyRequestsException