---
title: "Update a sub-organization"
method: PATCH
path: "/v1/org/sub-orgs/{sub_org_id}"
tags: ["Sub-Organizations"]
---

# Update a sub-organization

`PATCH /v1/org/sub-orgs/{sub_org_id}`

## Request

- Base URL: `https://api.1claw.co`
- URL: `https://api.1claw.co/v1/org/sub-orgs/{sub_org_id}`
- Auth: HTTP bearer

Update sub-organization name, description, or billing model.

## Path parameters

- `sub_org_id` string, uuid, required

## Request body

- CreateSubOrgRequest
  - `name` string, required
  - `description` string
  - `billing_model` 'inherit' | 'independent'

## Response `200`

Sub-organization updated

- SubOrgResponse
  - `id` string, uuid
  - `parent_org_id` string, uuid
  - `name` string
  - `description` string
  - `billing_model` string
  - `status` 'active' | 'archived'
  - `created_at` string, date-time

## Other responses

- `401`: Authentication required or invalid
- `404`: Resource not found

---

[API](https://skmtc.dev/1claw/apis/1claw-api.md) · [All operations](https://skmtc.dev/1claw/apis/1claw-api/llms.txt) · [OpenAPI document](https://skmtc.dev/1claw/apis/1claw-api/revisions/5fa0918f3b41?raw)
