apigateway:DeletePortalProduct

Write

apigateway:DeletePortalProduct is a Write access-level action in the apigateway service. Grants permission to delete a Portal Product

Resource types

ARNs that apigateway:DeletePortalProduct can be scoped to in an IAM policy.

arn:${Partition}:apigateway:${Region}:${Account}:/portalproducts/${PortalProductId}
PortalProduct

Condition keys

Keys you can use in the Condition block of a policy that grants apigateway:DeletePortalProduct.

apigateway:Resource/PortalProductDisplayName String

Filters access by a PortalProduct's Display Name associated with the resource

aws:ResourceTag/${TagKey} String

Filters access by tag key-value pairs attached to the resource

Example IAM policy

A minimal policy that allows apigateway:DeletePortalProduct. Replace "Resource": "*" with a specific ARN to follow least privilege.

{
  "Version": "2012-10-17",
  "Statement": [
    {
      "Sid": "AllowApigatewayDeletePortalProduct",
      "Effect": "Allow",
      "Action": "apigateway:DeletePortalProduct",
      "Resource": "*"
    }
  ]
}

Related actions in apigateway

View all apigateway actions →