organizations_delete_policy: Deletes the specified policy from your organization

View source: R/organizations_operations.R

organizations_delete_policyR Documentation

Deletes the specified policy from your organization

Description

Deletes 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.

Usage

organizations_delete_policy(PolicyId)

Arguments

PolicyId

[required] The unique identifier (ID) of the policy that you want to delete. You can get the ID from the list_policies or list_policies_for_target operations.

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 (_).


paws.management documentation built on Sept. 12, 2024, 6:19 a.m.