apigateway:DeletePortalProductSharingPolicy

Permissions management

apigateway:DeletePortalProductSharingPolicy is a Permissions management access-level action in the apigateway service. Grants permission to delete a Portal Product Sharing Policy

Resource types

ARNs that apigateway:DeletePortalProductSharingPolicy 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:DeletePortalProductSharingPolicy.

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:DeletePortalProductSharingPolicy. Replace "Resource": "*" with a specific ARN to follow least privilege.

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

Related actions in apigateway

View all apigateway actions →