client.orgs
client.orgs — the orgs operations.
On AsyncKindgi every method is the same, awaited.
client.orgs.list()
Section titled “client.orgs.list()”list( *, limit: int | None = None, cursor: str | None = None, name_contains: str | None = None, timeout: float | None = None,) -> OrgCollectionPageList orgs in the caller's tenant. GET /v1/orgs
Cursor-paginated list of orgs. Optional ?nameContains= narrows by substring match on Org.name.
client.orgs.create()
Section titled “client.orgs.create()”create( *, idempotency_key: str | None = None, timeout: float | None = None, **fields: Any,) -> CreateResourceResultCreate an org. POST /v1/orgs
client.orgs.get()
Section titled “client.orgs.get()”get(*, timeout: float | None = None) -> OrgFetch an org by id. GET /v1/orgs/{orgId}
client.orgs.update()
Section titled “client.orgs.update()”update( *, idempotency_key: str | None = None, timeout: float | None = None, **fields: Any,) -> NonePartially update an org. PATCH /v1/orgs/{orgId}
client.orgs.delete()
Section titled “client.orgs.delete()”delete(*, idempotency_key: str | None = None, timeout: float | None = None) -> NoneDelete an org (idempotent). DELETE /v1/orgs/{orgId}
Idempotent — deleting an unknown or already-deleted org returns 204 per the binding contract.