APIGateway / Client / delete_rest_api

delete_rest_api#

APIGateway.Client.delete_rest_api(**kwargs)#

Deletes the specified API.

See also: AWS API Documentation

Request Syntax

response = client.delete_rest_api(
    restApiId='string'
)
Parameters:

restApiId (string) –

[REQUIRED]

The string identifier of the associated RestApi.

Returns:

None

Exceptions

  • APIGateway.Client.exceptions.BadRequestException

  • APIGateway.Client.exceptions.ConflictException

  • APIGateway.Client.exceptions.NotFoundException

  • APIGateway.Client.exceptions.UnauthorizedException

  • APIGateway.Client.exceptions.TooManyRequestsException