Organizations (Beta)
List and manage organizations the authenticated caller can access.
Returns the organizations the authenticated user / API key can act in, ordered with the primary (default-fallback) org first. Use this to discover valid org_id values to pass into other beta tools — required for users who belong to multiple orgs and want to scope a particular call to a non-primary org.
Pass search to match any part of an organization name, case-insensitively. Results are paginated, 300 per page by default and at most 500 with page_size; X-Pagination carries the match total and the page links. Archera staff can act in every active organization, so a staff call spans thousands of results — filter with search rather than walking the pages.
Case-insensitive substring of the organization name — 'acme' matches 'Acme Corp' and 'Global Acme'. No wildcards needed; any '%' or '_' in the term is matched literally. Omit to list every organization the caller can access.
null1300OK
Bad request
Unauthorized
Forbidden
Not found
Method not allowed
Conflict
Unprocessable Content
Internal server error
Default error response
GET /beta/v1/organizations HTTP/1.1
Accept: */*
[
{
"id": "text",
"name": "text",
"domain": "text",
"created_at": "2026-01-01T00:00:00.000Z",
"role": "user",
"kind": "direct",
"is_primary": true,
"denied_permissions": [
"text"
]
}
]Returns the org-management view of a single organization: name, domain, primary address, deactivation flag, and created_at. For the cross-org list of orgs the caller can access (with role / kind / denied_permissions), use GET /organizations.
OK
Organization ID.
Organization name. Unique across the platform.
Email domain associated with the org (e.g. 'acme.com'). Used for domain-based onboarding flows.
When the org was created.
The org's primary postal address (optional).
Bad request
Unauthorized
Forbidden
Not found
Method not allowed
Conflict
Internal server error
Default error response
GET /beta/v1/organizations/{org_id} HTTP/1.1
Accept: */*
{
"id": "text",
"name": "text",
"domain": "text",
"created_at": "2026-01-01T00:00:00.000Z",
"primary_address": {
"id": "123e4567-e89b-12d3-a456-426614174000",
"line1": "text",
"line2": "text",
"city": "text",
"state": "text",
"zip": "text",
"country": "text"
}
}Partial-update: every field is optional. Send only the fields you want to change. Sending primary_address replaces the existing address in full; pass null to clear it. Deactivation is intentionally not exposed here — use POST /organizations/<org_id>/deactivate. Requires the caller to have admin role on the org (the Organization:write casbin permission).
New organization name.
New email domain, or null to clear.
Replacement primary address. Send the full address object. Pass null to clear the existing address.
OK
Organization ID.
Organization name. Unique across the platform.
Email domain associated with the org (e.g. 'acme.com'). Used for domain-based onboarding flows.
When the org was created.
The org's primary postal address (optional).
Bad request
Unauthorized
Forbidden
Not found
Method not allowed
Conflict
Unprocessable Content
Internal server error
Default error response
PATCH /beta/v1/organizations/{org_id} HTTP/1.1
Content-Type: application/json
Accept: */*
Content-Length: 140
{
"name": "text",
"domain": "text",
"primary_address": {
"line1": "text",
"line2": "text",
"city": "text",
"state": "text",
"zip": "text",
"country": "text"
}
}{
"id": "text",
"name": "text",
"domain": "text",
"created_at": "2026-01-01T00:00:00.000Z",
"primary_address": {
"id": "123e4567-e89b-12d3-a456-426614174000",
"line1": "text",
"line2": "text",
"city": "text",
"state": "text",
"zip": "text",
"country": "text"
}
}Soft-disables the organization: it stops appearing in list_organizations results and members lose access. Intentionally a one-way door from this API surface — there is no corresponding reactivate endpoint, and once deactivated the org cannot be reached via these admin endpoints at all (the auth layer filters deactivated orgs). Reactivation requires reaching out to Archera support. Returns 204 with no body — there is no further state the caller can read post-deactivation. Requires the caller to have admin role on the org (the Organization:write casbin permission).
No Content
No content
Bad request
Unauthorized
Forbidden
Not found
Method not allowed
Conflict
Internal server error
Default error response
POST /beta/v1/organizations/{org_id}/deactivate HTTP/1.1
Accept: */*
No content
Last updated
Was this helpful?

