Organizations & Teams
Organizations let you collaborate with teammates under a single billing account. Every PromptGuard user starts with a personal organization. You can create additional team organizations, invite members, and control access with role-based permissions.Concepts
Roles & Permissions
Getting Started
Create a Team
- Go to Dashboard > Settings > Team
- Click “Create Team”
- Enter a team name
- Your new organization appears alongside your personal workspace
Invite Members
- Navigate to Dashboard > Settings > Team
- Under Invitations, enter the email address and select a role
- Click “Send Invite”
- The invitee receives an email with a link to accept
Invitations expire after 7 days. You can cancel a pending invitation and resend if needed.
Switch Organizations
Use the organization selector at the top of the dashboard sidebar to switch between your personal workspace and team organizations.Managing Members
Change a Member’s Role
- Go to Dashboard > Settings > Team
- Find the member in the Members table
- Select the new role from the dropdown
- Confirm the change
Remove a Member
- Go to Dashboard > Settings > Team
- Click the remove button next to the member
- Confirm removal
Project-level access
Organization roles apply across all projects. For finer-grained control, you can grant a user a role on a single project — useful when a contractor or a partner team should see one project without access to the rest of your organization.Per-project roles are an Enterprise feature.
Project roles
How access is resolved
A user’s effective access to a project is the highest of:- Project ownership — the user who created the project is its owner.
- Their organization role — organization Owners and Admins are automatically Admins on every project; organization Members and Viewers carry that role into each project.
- Any explicit project role granted below.
Grant a project role
- Open the project, then go to its Settings → Access tab
- Enter the teammate’s email and choose a project role
- Click Add — the change takes effect immediately
Project Members API
These endpoints live under/dashboard/projects/{project_id} and use the session token.
Ownership
Transfer Ownership
- Go to Dashboard > Settings > Team > Danger Zone
- Click “Transfer Ownership”
- Select the new owner from existing members
- Confirm the transfer
Delete an Organization
- Go to Dashboard > Settings > Team > Danger Zone
- Click “Delete Organization”
- Type the organization name to confirm
API Reference
The Organizations API is session-authenticated (Dashboard API). All endpoints live under/dashboard/organizations.
List Organizations
Create Organization
Invite a Member
Update Member Role
Remove a Member
Transfer Ownership
Delete Organization
Best Practices
- Use the least privilege role — assign Viewer to stakeholders who only need read access
- One organization per team — avoid mixing production and personal projects
- Rotate ownership proactively — transfer ownership before an owner leaves the company
- Audit members regularly — remove inactive members to reduce your attack surface