Deletes the specified policy from your organization
Source:R/organizations_operations.R
organizations_delete_policy.RdDeletes the specified policy from your organization. Before you perform this operation, you must first detach the policy from all organizational units (OUs), roots, and accounts.
See https://www.paws-r-sdk.com/docs/organizations_delete_policy/ for full documentation.
Arguments
- PolicyId
[required] ID for the policy that you want to delete. You can get the ID from the
list_policiesorlist_policies_for_targetoperations.The regex pattern for a policy ID string requires "p-" followed by from 8 to 128 lowercase or uppercase letters, digits, or the underscore character (_).