CmdID

CmdID / aws / aws apigateway

aws apigateway delete-resource

Deletes a Resource resource. AWS CLI reference

1 example 2 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 resource in an API

The following delete-resource example deletes a resource in an API.

aws apigateway delete-resource --rest-api-id 1234123412 --resource-id a1b2c3Identify
--rest-api-idThe string identifier of the associated RestApi.
--resource-idThe identifier of the Resource resource.

This command produces no output.

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

Options

2 in the AWS CLI reference
--resource-idThe identifier of the Resource resource.
--rest-api-idThe string identifier of the associated RestApi.