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.
This operation can be called only from the organization's management account.
[required] The unique identifier (ID) of the policy that you want to delete. You
can get the ID from the
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 (_).
An empty list.
1 2 3
svc$delete_policy( PolicyId = "string" )
1 2 3 4 5 6 7 8 9 10 11
## Not run: # The following example shows how to delete a policy from an organization. # The example assumes that you previously detached the policy from all # entities: # # svc$delete_policy( PolicyId = "p-examplepolicyid111" ) ## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.