organizations_delete_organizational_unit: Deletes an organizational unit (OU) from a root or another OU

View source: R/organizations_operations.R

organizations_delete_organizational_unitR Documentation

Deletes an organizational unit (OU) from a root or another OU

Description

Deletes an organizational unit (OU) from a root or another OU. You must first remove all accounts and child OUs from the OU that you want to delete.

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

Usage

organizations_delete_organizational_unit(OrganizationalUnitId)

Arguments

OrganizationalUnitId

[required] The unique identifier (ID) of the organizational unit that you want to delete. You can get the ID from the list_organizational_units_for_parent operation.

The regex pattern for an organizational unit ID string requires "ou-" followed by from 4 to 32 lowercase letters or digits (the ID of the root that contains the OU). This string is followed by a second "-" dash and from 8 to 32 additional lowercase letters or digits.


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