@@ -100,6 +100,18 @@ impl CustomerOrgAPI {
100100 /// the authenticated org or the request is rejected. Successful calls disable the org
101101 /// and return the resulting state from the downstream service. Requires the
102102 /// `org_management` permission.
103+ ///
104+ /// **Limitations**:
105+ ///
106+ /// - **Organization age**: Only organizations created within the last 10 days can be disabled
107+ /// through this endpoint. This restriction is a safeguard against accidentally disabling
108+ /// long-running organizations. Attempting to disable an older organization returns a `403 Forbidden`.
109+ /// - **Feature flag**: The feature flag `org_disable_self_service_enabled` must be enabled for the
110+ /// target organization or one of its ancestor organizations. Contact
111+ /// [Datadog support](<https://docs.datadoghq.com/help/>) to enable this for your organization.
112+ /// Requests for organizations without this flag return a `403 Forbidden`.
113+ /// - **Already-disabled organizations**: If the target organization is already disabled, the request
114+ /// returns a `409 Conflict`.
103115 pub async fn disable_customer_org (
104116 & self ,
105117 body : crate :: datadogV2:: model:: CustomerOrgDisableRequest ,
@@ -126,6 +138,18 @@ impl CustomerOrgAPI {
126138 /// the authenticated org or the request is rejected. Successful calls disable the org
127139 /// and return the resulting state from the downstream service. Requires the
128140 /// `org_management` permission.
141+ ///
142+ /// **Limitations**:
143+ ///
144+ /// - **Organization age**: Only organizations created within the last 10 days can be disabled
145+ /// through this endpoint. This restriction is a safeguard against accidentally disabling
146+ /// long-running organizations. Attempting to disable an older organization returns a `403 Forbidden`.
147+ /// - **Feature flag**: The feature flag `org_disable_self_service_enabled` must be enabled for the
148+ /// target organization or one of its ancestor organizations. Contact
149+ /// [Datadog support](<https://docs.datadoghq.com/help/>) to enable this for your organization.
150+ /// Requests for organizations without this flag return a `403 Forbidden`.
151+ /// - **Already-disabled organizations**: If the target organization is already disabled, the request
152+ /// returns a `409 Conflict`.
129153 pub async fn disable_customer_org_with_http_info (
130154 & self ,
131155 body : crate :: datadogV2:: model:: CustomerOrgDisableRequest ,
0 commit comments