Skip to content

Latest commit

 

History

History
35 lines (21 loc) · 752 Bytes

Invites.md

File metadata and controls

35 lines (21 loc) · 752 Bytes

Invites

Manage invites in your organization.

List Invites

Returns a list of invites for the organization.

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

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

Create Invite

Invite a user (who isn’t already a Turso user) to an organization.

use Darkterminal\TursoPlatformAPI\core\Enums\RoleType;

$turso->invites()->createInvite('darkterminal@quack.com', RoleType::ADMIN)->get();

Delete Invite

Delete an invite for the organization by email.

$turso->invites()->deleteInvite('darkterminal@quack.com')->get();

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

Turso Invites: https://docs.turso.tech/api-reference/invites