one:DeleteSite

Write

one:DeleteSite is a Write access-level action in the one service. Grants permission to delete a Site

Resource types

ARNs that one:DeleteSite can be scoped to in an IAM policy.

arn:${Partition}:one:${Region}:${Account}:site/${SiteId}
site

Condition keys

Keys you can use in the Condition block of a policy that grants one:DeleteSite.

aws:ResourceTag/${TagKey} String

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

Example IAM policy

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

{
  "Version": "2012-10-17",
  "Statement": [
    {
      "Sid": "AllowOneDeleteSite",
      "Effect": "Allow",
      "Action": "one:DeleteSite",
      "Resource": "*"
    }
  ]
}

Related actions in one

View all one actions →