Skip to main content
PATCH
/
workspaces
/
{workspace_id}
/
organizations
/
{organization_id}
Update Organization
curl --request PATCH \
  --url https://api.altostrat.io/workspaces/{workspace_id}/organizations/{organization_id} \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '{
  "name": "<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"

organization_id
string
required

The unique identifier for the organization (Auth0 org ID).

Example:

"org_123abc"

Body

application/json
name
string
Maximum length: 50
billing_account_id
string | null
limits
object
picture
string | null

Response

Organization updated successfully.

id
string

Auth0 organization ID

name
string
Maximum length: 50
workspace_id
string
external_id
string<uuid>

Internal reference ID

parent_org_id
string | null
path
string | null

e.g., org_root#org_parent

depth
integer
Required range: 0 <= x <= 9
billing_account_id
string | null
usage
object | null
limits
object
picture
string<uri> | null
I