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:
| Role | Permissions |
|---|---|
| Owner | Full control, can delete organization, transfer ownership |
| Admin | Manage members, projects, and settings |
| Member | Access projects, create resources |
| Viewer | Read-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 organizationconst org = await client.entities.create({entityName: 'My Team',description: 'Engineering team workspace',});// Invite a team memberconst invite = await client.entities.inviteMember(org.entityId, {email: 'teammate@example.com',role: 'member',});// List membersconst members = await client.entities.listMembers(org.entityId);// Create a project under the organizationconst 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',});