Skip to content

Delete Usage Plan Key

apigateway_delete_usage_plan_key R Documentation

Deletes a usage plan key and remove the underlying API key from the associated usage plan

Description

Deletes a usage plan key and remove the underlying API key from the associated usage plan.

Usage

apigateway_delete_usage_plan_key(usagePlanId, keyId)

Arguments

usagePlanId

[required] The Id of the UsagePlan resource representing the usage plan containing the to-be-deleted UsagePlanKey resource representing a plan customer.

keyId

[required] The Id of the UsagePlanKey resource to be deleted.

Value

An empty list.

Request syntax

svc$delete_usage_plan_key(
  usagePlanId = "string",
  keyId = "string"
)