Disable the Datadog organization associated with the authenticated user or API key.
The request body uses JSON:API format. If org_uuid is supplied, it must match
the authenticated org or the request is rejected. Successful calls disable the org
and return the resulting state from the downstream service. Requires the
org_management permission.
Limitations:
Organization age: Only organizations created within the last 10 days can be disabled
through this endpoint. This restriction is a safeguard against accidentally disabling
long-running organizations. Attempting to disable an older organization returns a 403 Forbidden.
Feature flag: The feature flag org_disable_self_service_enabled must be enabled for the
target organization or one of its ancestor organizations. Contact
Datadog support to enable this for your organization.
Requests for organizations without this flag return a 403 Forbidden.
Already-disabled organizations: If the target organization is already disabled, the request
returns a 409 Conflict.
Disable the Datadog organization associated with the authenticated user or API key. The request body uses JSON:API format. If
org_uuidis supplied, it must match the authenticated org or the request is rejected. Successful calls disable the org and return the resulting state from the downstream service. Requires theorg_managementpermission.Limitations:
403 Forbidden.org_disable_self_service_enabledmust be enabled for the target organization or one of its ancestor organizations. Contact Datadog support to enable this for your organization. Requests for organizations without this flag return a403 Forbidden.409 Conflict.