---
updatedAt: 2025-09-16T00:27:53.000Z
agentTools:
  projectIndex: https://docs.cgn.portal.checkpoint.com/llms.txt
---

# Move All Cloud Accounts To Organizational Unit

Detach all cloud accounts from their current organizational unit and attach them to a new one. Default is to root organizational unit

# OpenAPI definition

```json
{
  "info": {
    "title": "Workload Protection",
    "version": "v2"
  },
  "openapi": "3.0.0",
  "servers": [
    {
      "url": "https://api.dome9.com/",
      "description": "US region"
    },
    {
      "url": "https://api.{region}.dome9.com/",
      "description": "Other regions",
      "variables": {
        "region": {
          "enum": [
            "eu1",
            "ap1",
            "ap2",
            "ap3",
            "cace1"
          ],
          "default": "eu1"
        }
      }
    }
  ],
  "paths": {
    "/v2/ShiftLeftAccount/organizationalUnit/moveAll": {
      "put": {
        "tags": [
          "Shift Left Account"
        ],
        "summary": "Move All Cloud Accounts To Organizational Unit",
        "operationId": "ShiftLeftAccount_MoveAllCloudAccountsToOrganizationalUnit_put_/v2/ShiftLeftAccount/organizationalUnit/moveAll",
        "requestBody": {
          "x-name": "updateData",
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/UpdateIdViewModel"
              }
            }
          },
          "required": true,
          "x-position": 1
        },
        "responses": {
          "200": {
            "description": "",
            "content": {
              "application/octet-stream": {
                "schema": {
                  "type": "string",
                  "format": "binary"
                }
              }
            }
          }
        },
        "description": "Detach all cloud accounts from their current organizational unit and attach them to a new one. Default is to root organizational unit"
      }
    }
  },
  "components": {
    "schemas": {
      "UpdateIdViewModel": {
        "type": "object",
        "additionalProperties": false,
        "required": [
          "organizationalUnitId"
        ],
        "properties": {
          "organizationalUnitId": {
            "type": "string",
            "format": "guid",
            "nullable": true
          }
        }
      }
    },
    "securitySchemes": {
      "basic": {
        "type": "http",
        "scheme": "basic"
      }
    }
  },
  "security": [
    {
      "basic": []
    }
  ],
  "x-readme": {
    "explorer-enabled": true,
    "proxy-enabled": true
  }
}
```