organizations:CloseAccount

Write

organizations:CloseAccount is a Write access-level action in the organizations service. Grants permission to close an AWS account that is now a part of an Organizations, either created within the organization, or invited to join the organization

Resource types

ARNs that organizations:CloseAccount can be scoped to in an IAM policy.

arn:${Partition}:organizations::${Account}:account/o-${OrganizationId}/${AccountId}
account

Condition keys

Keys you can use in the Condition block of a policy that grants organizations:CloseAccount.

aws:ResourceTag/${TagKey} String

Filters access by the tags associated with the resource

Example IAM policy

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

{
  "Version": "2012-10-17",
  "Statement": [
    {
      "Sid": "AllowOrganizationsCloseAccount",
      "Effect": "Allow",
      "Action": "organizations:CloseAccount",
      "Resource": "*"
    }
  ]
}

Related actions in organizations

View all organizations actions →