APIGateway.Client.delete_usage_plan_key(**kwargs)¶Deletes a usage plan key and remove the underlying API key from the associated usage plan.
See also: AWS API Documentation
Request Syntax
response = client.delete_usage_plan_key(
usagePlanId='string',
keyId='string'
)
[REQUIRED]
The Id of the UsagePlan resource representing the usage plan containing the to-be-deleted UsagePlanKey resource representing a plan customer.
[REQUIRED]
The Id of the UsagePlanKey resource to be deleted.
None
Exceptions
APIGateway.Client.exceptions.BadRequestExceptionAPIGateway.Client.exceptions.ConflictExceptionAPIGateway.Client.exceptions.NotFoundExceptionAPIGateway.Client.exceptions.UnauthorizedExceptionAPIGateway.Client.exceptions.TooManyRequestsException