Skip to content

client.orgs

client.orgs — the orgs operations.

On AsyncKindgi every method is the same, awaited.

list(
*,
limit: int | None = None,
cursor: str | None = None,
name_contains: str | None = None,
timeout: float | None = None,
) -> OrgCollectionPage

List orgs in the caller's tenant. GET /v1/orgs

Cursor-paginated list of orgs. Optional ?nameContains= narrows by substring match on Org.name.

create(
*,
idempotency_key: str | None = None,
timeout: float | None = None,
**fields: Any,
) -> CreateResourceResult

Create an org. POST /v1/orgs

get(*, timeout: float | None = None) -> Org

Fetch an org by id. GET /v1/orgs/{orgId}

update(
*,
idempotency_key: str | None = None,
timeout: float | None = None,
**fields: Any,
) -> None

Partially update an org. PATCH /v1/orgs/{orgId}

delete(*, idempotency_key: str | None = None, timeout: float | None = None) -> None

Delete an org (idempotent). DELETE /v1/orgs/{orgId}

Idempotent — deleting an unknown or already-deleted org returns 204 per the binding contract.