APIGateway / Client / delete_method

delete_method#

APIGateway.Client.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