CmdID

CmdID / aws / aws apigateway

aws apigateway delete-method

Deletes an existing Method resource. AWS CLI reference

1 example 3 options Its page in the AWS CLI reference

Opens CmdID with your command. It is read in your browser and sent nowhere.

Examples

from aws-cli, each command read by CmdID

To delete a method for the given resource in an API

The following delete-method example deletes a method for the given resource in an API.

aws apigateway delete-method --rest-api-id 1234123412 --resource-id a1b2c3 --http-method GETIdentify
--rest-api-idThe string identifier of the associated RestApi.
--resource-idThe Resource identifier for the Method resource.
--http-methodThe HTTP verb of the Method resource.

This command produces no output.

For more information, see Methods for REST APIs in API Gateway in the Amazon API Gateway Developer Guide.

Options

3 in the AWS CLI reference
--http-methodThe HTTP verb of the Method resource.
--resource-idThe Resource identifier for the Method resource.
--rest-api-idThe string identifier of the associated RestApi.