PATCH /v1/orgs/{org_id}
Renames the organization or replaces its metadata. Owners and admins only, from the dashboard.

Authentication

API Key (cookie: __Host-b3os_session)

Path Parameters

org_id string required path
Example: "org_01m5t5hthd29mm5wpza5ndd6mm"

Request Body required

application/json
name string
metadata object
Up to 16 string key-value pairs you attach to an object for your own use. Keys are 1 to 40 characters of `A-Z a-z 0-9 _ . : -`; values are at most 500 characters. B3OS never interprets them.

Responses

200 The updated organization.
application/json
id string REQUIRED
object string REQUIRED
Enum: organization
name string REQUIRED
slug string REQUIRED
role string | null REQUIRED
The caller's role; `null` for API keys.
Enum: owner, admin, member, null
plan string REQUIRED
Enum: beta
created_at string (date-time) REQUIRED
metadata object REQUIRED
Up to 16 string key-value pairs you attach to an object for your own use. Keys are 1 to 40 characters of `A-Z a-z 0-9 _ . : -`; values are at most 500 characters. B3OS never interprets them.
400 The request failed validation (`invalid_request`, `invalid_url`).
401 Missing, malformed, expired or revoked credentials (`unauthorized`).
403 Authenticated but not allowed (`forbidden`, `egress_denied`).
404 No such organization, or you are not a member (`org_not_found`).
413 The request body exceeds this operation's limit.
415 The Content-Type is not accepted by this operation.
429 A rate, concurrency or quota limit applies (`rate_limited`, `concurrency_limited`, `quota_exceeded`).
500 Something failed inside B3OS (`internal`). Retry with backoff.
503 The node or the product is not available right now (`node_unavailable`, `product_unavailable`, `capacity_unavailable`).
curl -X PATCH 'https://beta.b3os.org/v1/orgs/org_01m5t5hthd29mm5wpza5ndd6mm' \  -H 'Authorization: Bearer YOUR_API_TOKEN' \  -H 'Content-Type: application/json' \  -d '{  "name": "Acme Labs"}'
const response = await fetch('https://beta.b3os.org/v1/orgs/org_01m5t5hthd29mm5wpza5ndd6mm', {  method: 'PATCH',  headers: {      "Authorization": "Bearer YOUR_API_TOKEN",      "Content-Type": "application/json"  },  body: JSON.stringify({    "name": "Acme Labs"  })});const data = await response.json();console.log(data);
import requestsheaders = {    'Authorization': 'Bearer YOUR_API_TOKEN'}response = requests.patch('https://beta.b3os.org/v1/orgs/org_01m5t5hthd29mm5wpza5ndd6mm', headers=headers, json={  "name": "Acme Labs"})print(response.json())
200 Response
{  "id": "org_01m5t5hthd29mm5wpza5ndd6mm",  "object": "organization",  "name": "Acme Labs",  "slug": "acme",  "role": "owner",  "plan": "beta",  "created_at": "2026-10-20T16:00:00.000Z",  "metadata": {}}
Ask a question... ⌘I