Orgs & memberships
The tenancy spine. Every request acts within exactly one org; API keys are org-bound, and sessions choose the active org with the `Renza-Org` header. Memberships list who belongs to the active org.
Attributes
idstringrequiredobjectstringrequirednamestringrequiredtypestringrequiredPossible values:
personal,teammetadataobjectrequiredArbitrary key/value map; merge-on-write (§6).
created_attimestamprequiredupdated_attimestamprequired
List orgs
GET/v1/orgs
Lists the orgs the credential can act on. A key is bound to one org, so this returns it.
Requires an API key (bearer), scoped to the active org.
Returns
200The accessible org(s).
Failures use the standard error envelope with a closed set of codes.
Retrieve an org
GET/v1/orgs/{id}
Fetches an org by id. Only the credential's active org is accessible.
Requires an API key (bearer), scoped to the active org.
Path parameters
idstringrequired
Update an org
PATCH/v1/orgs/{id}
Partial update of the active org (name; `metadata` merges per §6).
Requires an API key (bearer), scoped to the active org. Supports idempotency keys.
Path parameters
idstringrequired
Body parameters
namestringoptionalmax 200 charsmetadataobjectoptionalArbitrary key/value map; merge-on-write (§6).
List memberships
GET/v1/memberships
Lists the members of the credential's active org.
Requires an API key (bearer), scoped to the active org.
Returns
200The active org's memberships.
Failures use the standard error envelope with a closed set of codes.