GET/root/organizations/{organizationId}
Get an organization
Operation root.organizations.get
Description
Returns an organization's group bindings, roster and open-seat counts, stored billing and purge progress, Stripe binding, and its latest 50 billing events. Only root operators may call it, and each request is recorded in the root audit trail.
Authentication
Requires a signed-in session: the client sends its session token as a bearer token in the Authorization header.
Parameters
| Name | In | Type | Details |
|---|---|---|---|
organizationId | path | string | required
|
Responses
200 OK
application/jsonRootOrganizationDetailResponse
One organization's group bindings, roster counts, stored billing, Stripe binding, and recent billing events.
5 fields
overviewobjectrequired6 fields
adminGroupIdstringrequired- not empty
memberGroupIdstringrequired- not empty
activeMemberCountintegerrequired- at least 0
disabledMemberCountintegerrequired- at least 0
syncPausedMemberCountintegerrequired- at least 0
openSeatAssignmentCountintegerrequired- at least 0
Other fields are allowed.
billingobjectrequirednullable17 fields
currentPeriodEndsAtstringrequirednullabledisabledAtstringrequirednullableproviderstringrequirednullablepurgeAfterstringrequirednullablepurgedAtstringrequirednullableseatCountintegerrequired- at least 0
statusstringrequired- one of
local,trialing,active,disabled,deleting,purged
- one of
trialEndsAtstringrequirednullablecurrentPeriodStartsAtstringrequirednullableproviderCustomerIdstringrequirednullableproviderSubscriptionIdstringrequirednullableproviderProductIdstringrequirednullableproviderTransactionIdstringrequirednullableentitlementIdstringrequirednullablepurgeStartedAtstringrequirednullablecreatedAtstringrequiredupdatedAtstringrequired
Other fields are allowed.
stripeobjectrequirednullable13 fields
customerIdstringrequirednullablesubscriptionIdstringrequirednullablesubscriptionItemIdstringrequirednullablepriceIdstringrequirednullablelastInvoiceIdstringrequirednullabledesiredPaidCapacityintegerrequired- at least 0
desiredRenewalQuantityintegerrequired- at least 0
appliedPaidCapacityintegerrequired- at least 0
observedQuantityintegerrequirednullable- at least 0
lastSyncedAtstringrequirednullablenextAttemptAtstringrequirednullableattemptCountintegerrequired- at least 0
lastErrorstringrequirednullable
Other fields are allowed.
The 50 most recent billing events.
Other fields are allowed.
Other responses
| Status | Meaning | Body |
|---|---|---|
| 400 | Bad Request |
|
| 401 | Unauthorized |
|
| 403 | Forbidden |
|
| 404 | Not Found |
|
| 500 | Internal Server Error |
|
| 503 | Service Unavailable |
|