GET /api/orgs/:id
Fetch a single org row.
curl https://www.mnueron.com/api/orgs/01HQ… \
-H "Authorization: Bearer $MNUERON_API_TOKEN"
Response
{
"id": "01HQ…",
"slug": "acme-engineering-3f2a1d",
"name": "Acme Engineering",
"plan": "team",
"role": "owner",
"created_at": 1737070000000
}
role reflects the caller's role in this org. 404 when the caller isn't a member.
Patch
PATCH /api/orgs/:id — rename or re-slug. Owners only.
curl -X PATCH https://www.mnueron.com/api/orgs/01HQ… \
-H "Authorization: Bearer $MNUERON_API_TOKEN" \
-H "Content-Type: application/json" \
-d '{ "name": "Acme Inc." }'
| Field | Type | Notes |
|---|---|---|
name | string | Up to 200 chars |
slug | string | a-z0-9- (≤80) |