Organizations (Entities)

Organizations (also called Entities) allow you to collaborate with team members on shared projects. Create organizations, invite members, and manage roles.

Creating an Organization

Navigate to the Organizations page in the dashboard and click "Create Organization". Provide a name and optional description for your organization.

Member Roles

Organizations support four roles with different permission levels:

RolePermissions
OwnerFull control, can delete organization, transfer ownership
AdminManage members, projects, and settings
MemberAccess projects, create resources
ViewerRead-only access to projects

Inviting Members

Invite team members by email. They will receive an invitation link that expires after 7 days. You can assign a role when inviting.

Organization Projects

Create projects under your organization to share resources with team members. All members can access organization projects based on their role.

SDK Usage

Manage organizations programmatically using the SDK:

import { Tenzro } from '@tenzro/cloud';
const client = new Tenzro({ apiKey: 'sk_xxx' });
// Create an organization
const org = await client.entities.create({
entityName: 'My Team',
description: 'Engineering team workspace',
});
// Invite a team member
const invite = await client.entities.inviteMember(org.entityId, {
email: 'teammate@example.com',
role: 'member',
});
// List members
const members = await client.entities.listMembers(org.entityId);
// Create a project under the organization
const project = await client.entities.createProject(org.entityId, {
projectName: 'Shared Project',
});

Transferring Ownership

As an owner, you can transfer ownership to another member. The new owner will have full control, and you will become an admin.

await client.entities.transferOwnership(org.entityId, {
newOwnerId: 'user_xxx',
});