Skip to content

Deletes an existing MethodResponse resource

Description

Deletes an existing MethodResponse resource.

Usage

apigateway_delete_method_response(restApiId, resourceId, httpMethod,
  statusCode)

Arguments

  • restApiId

    [required] The string identifier of the associated RestApi.

  • resourceId

    [required] The Resource identifier for the MethodResponse resource.

  • httpMethod

    [required] The HTTP verb of the Method resource.

  • statusCode

    [required] The status code identifier for the MethodResponse resource.

Value

An empty list.

Request syntax

svc$delete_method_response(
  restApiId = "string",
  resourceId = "string",
  httpMethod = "string",
  statusCode = "string"
)