organizations_disable_policy_type: Disables an organizational policy type in a root

View source: R/organizations_operations.R

organizations_disable_policy_typeR Documentation

Disables an organizational policy type in a root

Description

Disables an organizational policy type in a root. A policy of a certain type can be attached to entities in a root only if that type is enabled in the root. After you perform this operation, you no longer can attach policies of the specified type to that root or to any organizational unit (OU) or account in that root. You can undo this by using the enable_policy_type operation.

See https://www.paws-r-sdk.com/docs/organizations_disable_policy_type/ for full documentation.

Usage

organizations_disable_policy_type(RootId, PolicyType)

Arguments

RootId

[required] The unique identifier (ID) of the root in which you want to disable a policy type. You can get the ID from the list_roots operation.

The regex pattern for a root ID string requires "r-" followed by from 4 to 32 lowercase letters or digits.

PolicyType

[required] The policy type that you want to disable in this root. You can specify one of the following values:


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