Skip to content

Delete Deployment

apigateway_delete_deployment R Documentation

Deletes a Deployment resource

Description

Deletes a Deployment resource. Deleting a deployment will only succeed if there are no Stage resources associated with it.

Usage

apigateway_delete_deployment(restApiId, deploymentId)

Arguments

restApiId

[required] The string identifier of the associated RestApi.

deploymentId

[required] The identifier of the Deployment resource to delete.

Value

An empty list.

Request syntax

svc$delete_deployment(
  restApiId = "string",
  deploymentId = "string"
)