Skip to content

Latest commit

 

History

History
65 lines (39 loc) · 1.43 KB

Organizations.md

File metadata and controls

65 lines (39 loc) · 1.43 KB

Organizations

Manage your organization platform.

List Organizations

Returns a list of organizations the authenticated user owns or is a member of.

$turso->organizations()->list()->get();

Ref: https://docs.turso.tech/api-reference/organizations/list

Update Organization

Returns a list of organizations the authenticated user owns or is a member of.

$turso->organizations()->update(getenv('ORG_NAME'))->get();

Ref: https://docs.turso.tech/api-reference/organizations/update

List Plans

Returns a list of available plans and their quotas.

$turso->organizations()->plans(getenv('ORG_NAME'))->get();

Ref: https://docs.turso.tech/api-reference/organizations/plans

Current Subscription

Returns the current subscription details for the organization.

$turso->organizations()->subscription(getenv('ORG_NAME'))->get();

Ref: https://docs.turso.tech/api-reference/organizations/subscription

List Invoices

Returns a list of invoices for the organization.

$turso->organizations()->invoices(getenv('ORG_NAME'))->get();

Ref: https://docs.turso.tech/api-reference/organizations/invoices

Organization Usage

Fetch current billing cycle usage for an organization.

$turso->organizations()->currentUsage(getenv('ORG_NAME'))->get();

Ref: https://docs.turso.tech/api-reference/organizations/usage

Turso Organizations: https://docs.turso.tech/api-reference/organizations