Share Servers
Section titled “Share Servers”Pools transform rented servers into team infrastructure.
Instead of managing individual servers, organize them into Pools with role-based access - seamless collaboration for teams of any size.
What Are Pools?
Section titled “What Are Pools?”Pools are groups of rented servers with shared access.
Think of a Pool as a container for servers, not containers. When you assign rented servers to a Pool, all members get access based on their role.
Key Concepts:
- Default Pool: Every user has one automatically - all servers go here unless you specify otherwise during rental
- Shared Pools: Created for teams, clients, or organizational units
- Role-Based Access: Owner (the pool creator, implicit), plus two assignable roles —
adminanduser - Server Assignment: Servers can be reassigned between pools
- Container Deployment: Pool members deploy containers to pool servers
API Endpoints Summary
Section titled “API Endpoints Summary”Pool management uses these endpoints:
GET /api/v1/pools- List your poolsPOST /api/v1/pools- Create new poolGET /api/v1/pools/{id}- View pool detailsPUT /api/v1/pools/{id}- Update pool settingsDELETE /api/v1/pools/{id}- Delete pool
GET /api/v1/pools/invitations/pending- List your pending invitationsPOST /api/v1/pools/{id}/accept- Accept an invitationPOST /api/v1/pools/{id}/reject- Decline an invitation
- Assign server during rental
- Reassign servers between pools
- View pool’s servers
For detailed API documentation, see Server Management API.
Pool Roles
Section titled “Pool Roles”Only admin and user are assignable via the members API (role enum). Owner is implicit — it’s whoever created the pool — and is not passed as a role string.
Owner (Full Control — pool creator, not assignable)
- Create and delete the pool
- Add/remove members
- Assign/reassign servers
- Modify pool settings
- Delete pool (removes access, keeps servers)
Admin (Management)
- Add/remove members
- Assign servers to pool
- View all pool resources
- Cannot change member roles, modify pool settings, or delete pool (owner only)
User (Access)
- Deploy containers to pool servers
- View pool servers and members
- Execute allowed server commands
- Cannot modify pool structure
Creating a Pool
Section titled “Creating a Pool”-
Create the Pool
Terminal window # Create a team poolhoody pools create \--name "Frontend Team Pool" \--description "Shared servers for frontend development"# Invite a team memberhoody pools members invite $POOL_ID \--username "$USERNAME" \--role "user"# List your poolshoody pools listimport { HoodyClient } from '@hoody-ai/hoody-sdk';const client = new HoodyClient({ baseURL: 'https://api.hoody.icu', token: process.env.HOODY_TOKEN });// Create a team poolconst pool = await client.api.pools.create({name: 'Frontend Team Pool',description: 'Shared servers for frontend development',});// Invite a member (by username)await client.api.poolMembers.invite(pool.data.id, {username: 'teammate_handle',role: 'user',});// List poolsconst pools = await client.api.pools.list();Terminal window # Create a team poolcurl -X POST "https://api.hoody.icu/api/v1/pools" \-H "Authorization: Bearer $HOODY_TOKEN" \-H "Content-Type: application/json" \-d '{"name": "Frontend Team Pool","description": "Shared servers for frontend development"}'# Invite a membercurl -X POST "https://api.hoody.icu/api/v1/pools/$POOL_ID/members" \-H "Authorization: Bearer $HOODY_TOKEN" \-H "Content-Type: application/json" \-d '{"username": "teammate_handle", "role": "user"}' -
Invite Team Members
Add members with appropriate roles. Invited users find pending invitations via
GET /api/v1/pools/invitations/pending(or the dashboard) and accept withPOST /api/v1/pools/{id}/accept(or decline withPOST /api/v1/pools/{id}/reject). -
Assign Servers
When renting servers, specify the pool:
{"pool_id": "507f1f77bcf86cd799439011","rental_days": 30}Or reassign existing servers to the pool via API.
-
Team Starts Deploying
All pool members can now deploy containers to pool servers based on their role permissions.
Pool Organization Strategies
Section titled “Pool Organization Strategies”By Team/Department
Section titled “By Team/Department”Development Pool, QA Pool, DevOps Pool
- Each team manages their own servers
- Clear resource ownership
- Budget tracking per team
By Client/Project
Section titled “By Client/Project”Client A Pool, Client B Pool, Client C Pool
- Perfect for agencies and consultancies
- Complete client data isolation
- Transparent per-client billing
By Environment
Section titled “By Environment”Production Pool, Staging Pool, Development Pool
- Separate environments by security level
- Different access rules per pool
- Clear separation of concerns
Hybrid Approach
Section titled “Hybrid Approach”Most teams use combinations:
Production Pool (3 servers) → Owner: CTO → Admins: Senior DevOps (2) → Users: Backend team (8)
Client Projects Pool (5 servers) → Owner: Account Manager → Admins: Project Leads (3) → Users: Developers (12)
AI Experiments Pool (2 servers) → Owner: AI Lead → Admins: ML Engineers (4) → Users: Whole company (open access)Member Management
Section titled “Member Management”Adding Members
Section titled “Adding Members”# Invite a user to a poolhoody pools members invite $POOL_ID \ --username "$USERNAME" \ --role "user"
# Update a member's role (positional pool ID and user ID)hoody pools members update-role $POOL_ID $USER_ID \ --role "admin"
# Remove a memberhoody pools members delete $POOL_ID $USER_IDimport { HoodyClient } from '@hoody-ai/hoody-sdk';
const client = new HoodyClient({ baseURL: 'https://api.hoody.icu', token: process.env.HOODY_TOKEN });
// Invite a user to a pool (by username)await client.api.poolMembers.invite(poolId, { username: 'teammate_handle', role: 'user',});
// Update member roleawait client.api.poolMembers.updateRole(poolId, userId, { role: 'admin',});
// Remove a memberawait client.api.poolMembers.remove(poolId, userId);# Invite a user to a poolcurl -X POST "https://api.hoody.icu/api/v1/pools/$POOL_ID/members" \ -H "Authorization: Bearer $HOODY_TOKEN" \ -H "Content-Type: application/json" \ -d '{"username": "teammate_handle", "role": "user"}'
# Update member role (role must be "admin" or "user")curl -X PUT "https://api.hoody.icu/api/v1/pools/$POOL_ID/members/$USER_ID" \ -H "Authorization: Bearer $HOODY_TOKEN" \ -H "Content-Type: application/json" \ -d '{"role": "admin"}'
# Remove a membercurl -X DELETE "https://api.hoody.icu/api/v1/pools/$POOL_ID/members/$USER_ID" \ -H "Authorization: Bearer $HOODY_TOKEN"Member accepts invitation (POST /api/v1/pools/{id}/accept) → Immediately gains pool access
Roles and Permissions
Section titled “Roles and Permissions”What each role can do:
| Action | Owner | Admin | User |
|---|---|---|---|
| View pool servers | ✅ | ✅ | ✅ |
| Deploy containers | ✅ | ✅ | ✅ |
| Add members | ✅ | ✅ | ❌ |
| Remove members | ✅ | ✅ | ❌ |
| Change member role | ✅ | ❌ | ❌ |
| Assign servers | ✅ | ✅ | ❌ |
| Change pool settings | ✅ | ❌ | ❌ |
| Delete pool | ✅ | ❌ | ❌ |
Removing Members
Section titled “Removing Members”Members can be removed anytime:
- Their containers on pool servers remain
- They lose access to deploy new containers
- Existing containers can be reassigned or deleted
Server Assignment
Section titled “Server Assignment”During Rental
Section titled “During Rental”Every server is assigned to a pool. You can specify which pool, or it defaults to your personal pool.
Specify a pool:
{ "pool_id": "507f1f77bcf86cd799439011", "rental_days": 30}Omit pool (uses default):
{ "rental_days": 30}// Automatically assigned to your default poolServer immediately accessible to all pool members based on their roles.
After Rental
Section titled “After Rental”Reassign servers between pools:
- Move server from default pool to team pool
- Transfer server between different pools
- All containers on server move with it
Use Cases:
- Developer rents to default pool, later shares with team by reassigning
- Testing server promoted to production pool
- Client project complete, server reassigned back to default pool
Pool Settings
Section titled “Pool Settings”Each pool carries a free-form settings JSON object that you can set at creation and update later. It defaults to an empty object and accepts arbitrary keys. Commonly used keys include:
max_servers - Cap on how many servers the pool holds
{ "settings": { "auto_approve": true, "max_servers": 20 }}auto_approve - Whether assigned servers are accepted into the pool without an explicit approval step
Because settings is stored as opaque JSON, you can include additional organizational metadata your team relies on.
Use Cases
Section titled “Use Cases”Small Development Team
- Create “Dev Team Pool”
- Rent server(s) and assign to pool
- All developers deploy to shared infrastructure
- Team collaboration on shared resources
- Cost-effective team development
Digital Agency (Multiple Clients)
- Create pool per client for perfect isolation
- Rent servers and assign to respective client pools
- Complete data separation between clients
- Transparent per-client billing
- Reassign servers as clients come/go
Enterprise Multi-Team
- Create pools by department or function
- Rent multiple servers per pool as needed
- Role-based access across pools
- Developers can be members of multiple pools
- Clear budget and resource tracking
Open Source Project
- Create “Community Pool”
- Rent server(s), add all contributors as Users
- Everyone can deploy demos and test branches
- Owner maintains production deployments
- Shared infrastructure costs across contributors
Freelancer → Agency Transition
- Start with default pool (personal servers)
- First client: Create “Client Pool”, assign server
- Additional clients: Create additional pools
- Hire developers: Add them to client pools as needed
- Scale smoothly from solo to team
Multi-Pool Access
Section titled “Multi-Pool Access”Users can be members of multiple pools:
Developer Jane: → "Frontend Pool" (User) - Can deploy frontend containers → "Staging Pool" (Admin) - Manages staging infrastructure → "AI Experiments" (User) - Access to AI playgroundBenefits:
- Cross-team collaboration without friction
- Flexible access as responsibilities evolve
- Clear audit trail of who can access what
Best Practices
Section titled “Best Practices”Pool Design:
- Create pools for logical boundaries (team, client, environment)
- Don’t create pool per server (defeats the purpose)
- Name pools clearly - teams grow and members forget context
Role Assignment:
- Start everyone as “User”, promote to “Admin” as needed
- Owners should be team leads or managers
- Audit roles quarterly - people change responsibilities
Server Organization:
- Group related work on same servers
- Production servers in strict-access pools
- Development servers in open-access pools
- Scale servers together logically (e.g., 3 prod servers in prod pool)
Security:
- Separate production and development pools
- Limit who can execute risky server commands
- Review pool membership regularly
- Remove members promptly when they leave team/project
Cost Management:
- Use pools to track infrastructure costs per team/client
- Pool-level usage monitoring
- Transparent billing: each pool shows total server costs
- Delete pools with no active servers to clean up
Useful Questions
Section titled “Useful Questions”Can members see each other’s containers?
Pool members see that containers exist on pool servers, but privacy depends on container permissions. By default, containers are isolated. Use container permissions to control access.
What happens when I delete a pool?
The pool itself is removed, but servers and containers are preserved. Servers return to your default pool. Only the organizational grouping is deleted, not the infrastructure.
Can a server be in multiple pools?
No, each server belongs to exactly one pool at a time. However, you can reassign servers between pools as needed.
Do pool members share container limits?
No, container limits are per-user, not per-pool. Each member can deploy their quota of containers to pool servers regardless of what others deploy.
Can I change a member’s role after adding them?
Yes. Changing a member’s role (PUT /api/v1/pools/{id}/members/{userId}) is restricted to the pool owner — admins can invite and remove members, but only the owner can promote or demote roles. Changes take effect immediately.
What if a pool member leaves the organization?
Remove them from the pool via API or dashboard. Their containers remain on pool servers but they lose all access. You can then delete their containers or reassign to other members.
Can I limit which servers in a pool a member can access?
Not directly per server, but you can create separate pools with different server groups and add members to specific pools based on their needs.
Troubleshooting
Section titled “Troubleshooting”Can’t Add Member to Pool
Cause: Unknown username, or member already in pool
Solution: Verify the username exists exactly as registered. Check the existing member list - inviting a user who is already a member returns a conflict, so you can’t add the same user twice.
Member Can’t Deploy Containers to Pool Servers
Cause: Role doesn’t grant deployment permission, or server resource limits
Solution: Verify member has “User” role or higher. Check server resource availability. Ensure member’s container quota not exhausted.
Server Assignment Fails
Cause: Server already assigned to different pool, or permission issue
Solution: Unassign from current pool first, then reassign. Verify you have Owner/Admin role in both pools if moving between them.
Pool Deletion Blocked
Cause: Only owners can delete pools
Solution: Verify you’re the pool owner. If you need to remove yourself from someone else’s pool, use “leave pool” endpoint instead of delete.
Member Can’t Accept Pool Invitation
Cause: Member is looking in the wrong place, or the invitation was already removed
Solution: Invitations are not delivered by email — the invited user finds them via GET /api/v1/pools/invitations/pending (or the dashboard) and accepts with POST /api/v1/pools/{id}/accept. Verify you invited the correct username, and that you haven’t since removed the member (which clears the pending invitation). Pending invitations currently do not auto-expire — they remain accept-able until you remove the member from the pool.
What’s Next
Section titled “What’s Next”Ready to organize your infrastructure?
- Rent Servers → - Get servers to add to pools
- Server Management API → - Complete pools API reference
Set up team workflows:
- Projects & Containers → - Understand container deployment
- Proxy Permissions → - Control container access
Collaboration features:
- Container Copy/Sync → - Share containers between servers
- Storage Shares → - Shared files across pool containers