admin
Accessed as client.admin; the async client mirrors it.
Admin
The admin namespace.
orgs
orgs(*, page: int | None = None, limit: int | None = None) -> Paginated[Organization]
List all organizations.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
page
|
int | None
|
1-based page to start iteration at. |
None
|
limit
|
int | None
|
Page size; the instance caps it server-side. |
None
|
Returns:
| Type | Description |
|---|---|
Paginated[Organization]
|
OrganizationList. |
Raises:
| Type | Description |
|---|---|
ForbiddenError
|
|
Operation ID: adminGetAllOrgs
AsyncAdmin
The admin namespace.
orgs
orgs(*, page: int | None = None, limit: int | None = None) -> AsyncPaginated[Organization]
List all organizations.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
page
|
int | None
|
1-based page to start iteration at. |
None
|
limit
|
int | None
|
Page size; the instance caps it server-side. |
None
|
Returns:
| Type | Description |
|---|---|
AsyncPaginated[Organization]
|
OrganizationList. |
Raises:
| Type | Description |
|---|---|
ForbiddenError
|
|
Operation ID: adminGetAllOrgs