Manage your members in organization.
Returns a list of members part of the organization.
$turso->members()->list()->get();
Ref: https://docs.turso.tech/api-reference/organizations/members/list
Add an existing Turso user to an organization.
use Darkterminal\TursoPlatformAPI\core\Enums\RoleType;
$turso->members()->addMember('notrab', RoleType::ADMIN)->get();
Remove a user from the organization by username.
$turso->members()->removeMember('notrab')->get();
Ref: https://docs.turso.tech/api-reference/organizations/members/remove
Turso Members: https://docs.turso.tech/api-reference/members