Skip to content

Deletes an existing Method resource

Description

Deletes an existing Method resource.

Usage

apigateway_delete_method(restApiId, resourceId, httpMethod)

Arguments

  • restApiId

    [required] The string identifier of the associated RestApi.

  • resourceId

    [required] The Resource identifier for the Method resource.

  • httpMethod

    [required] The HTTP verb of the Method resource.

Value

An empty list.

Request syntax

svc$delete_method(
  restApiId = "string",
  resourceId = "string",
  httpMethod = "string"
)