POST
/
workspaces
/
{workspace_id}
/
organizations
Create Organization
curl --request POST \
  --url https://api.altostrat.io/workspaces/{workspace_id}/organizations \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '{
  "name": "<string>",
  "parent_org_id": "<string>",
  "billing_account_id": "<string>",
  "limits": {},
  "picture": "<string>"
}'
{
  "id": "<string>",
  "name": "<string>",
  "workspace_id": "<string>",
  "external_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
  "parent_org_id": "<string>",
  "path": "<string>",
  "depth": 4,
  "billing_account_id": "<string>",
  "usage": {
    "usage": {},
    "subtree_usage": {}
  },
  "limits": {},
  "picture": "<string>"
}

Authorizations

Authorization
string
header
required

Auth0 JWT token for user authentication.

Path Parameters

workspace_id
string
required

The unique identifier for the workspace.

Example:

"ws_abc123"

Body

application/json

Response

201
application/json

Organization created successfully.

The response is of type object.