Select your cookie preferences

We use cookies and similar tools to enhance your experience, provide our services, deliver relevant advertising, and make improvements. Approved third parties also use these tools to help us deliver advertising and provide certain site features.

delete_method

delete_method(**kwargs)

Deletes an existing Method resource.

See also: AWS API Documentation

Request Syntax

response = client.delete_method(
    restApiId='string',
    resourceId='string',
    httpMethod='string'
)
Parameters
  • restApiId (string) --

    [REQUIRED]

    The string identifier of the associated RestApi.

  • resourceId (string) --

    [REQUIRED]

    The Resource identifier for the Method resource.

  • httpMethod (string) --

    [REQUIRED]

    The HTTP verb of the Method resource.

Returns

None

Exceptions

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