Share Servers reference
Section titled “Share Servers reference”Lookup tables for Share Servers. Every call, field and status is in the Servers API.
Pool calls
Section titled “Pool calls”| Task | API | CLI |
|---|---|---|
| List your pools | GET /api/v1/pools | hoody pools list |
| Create a pool | POST /api/v1/pools | hoody pools create |
| View pool details, its members and its servers | GET /api/v1/pools/{id} | hoody pools get |
| Update pool settings (owner only) | PUT /api/v1/pools/{id}; PATCH /api/v1/pools/{id} behaves the same | hoody pools update changes the name (--name) and description (--description); settings only through the API or SDK |
| Delete a pool (owner only) | DELETE /api/v1/pools/{id} | hoody pools delete |
Invite a member (admin or owner; only the owner invites an admin) | POST /api/v1/pools/{id}/members | hoody pools members invite |
| Change a member’s role (owner only) | PUT /api/v1/pools/{id}/members/{userId} | hoody pools members role set |
| Remove a member or withdraw a pending invitation (admin or owner; only the owner removes an accepted admin; the owner cannot be removed) | DELETE /api/v1/pools/{id}/members/{userId} | hoody pools members remove |
| Leave a pool (any accepted member except the owner) | DELETE /api/v1/pools/{id}/members/{yourUserId} | hoody pools members remove "$POOL_ID" "$MY_USER_ID" |
| List your pending invitations | GET /api/v1/pools/invitations/pending | hoody pools invitations list |
| Accept an invitation | POST /api/v1/pools/{id}/accept | hoody pools invitations accept |
| Decline an invitation | POST /api/v1/pools/{id}/reject | hoody pools invitations reject |
| Assign a server to a pool | pool_id on POST /api/v1/servers/{id}/rent, at rental time only | See Rent Servers |
On accept and reject, {id} is the Pool ID, the pool_id returned by the pending-invitations list. Server assignment happens at rental time only.
Credentials
Section titled “Credentials”| Call | Auth token permission | Auth token limited to realms |
|---|---|---|
| List pools, view a pool | projects.read | Allowed; a pool read shows only your own membership, owner_id is null for a pool someone else owns, and on a realm’s API host only the servers that realm may use are listed |
| List pending invitations | projects.read | Refused with 403 |
| Accept or decline an invitation | projects.read | Refused with 403 |
| Create a pool | projects.create | Refused with 403 |
| Update a pool | projects.update | Refused with 403 |
| Delete a pool | projects.delete | Refused with 403 |
Invite a member as user | projects.members.invite | Refused with 403 |
Invite a member as admin | projects.members.invite and projects.members.change_roles | Refused with 403 |
| Change a role | projects.members.change_roles | Refused with 403 |
| Remove another member | projects.members.remove | Refused with 403 |
| Leave a pool (remove yourself) | projects.read | Refused with 403 |
Send an account-wide auth token as Authorization: Bearer $HOODY_TOKEN to api.hoody.com. Every call marked refused except the pending-invitations list also answers 403 when sent to a realm’s API host ({realmId}.api.hoody.com). An account-wide auth token also gets the limited pool read (only its own membership, owner_id null for a pool someone else owns) unless it holds projects.members.invite, projects.members.remove or projects.members.change_roles.
Fields
Section titled “Fields”| Field | Where | Values |
|---|---|---|
name | Create or update a pool | 1–100 characters, unique per owner; required on create; the default pool cannot be renamed |
description | Create or update a pool | Up to 500 characters |
settings | Create or update a pool | A JSON object, {} by default; see Pool settings |
username | Invite a member | Required; letters, digits, _ and -, 1 to 100 characters, exactly as registered |
role | Invite a member, change a role | admin or user |
pool_id | POST /api/v1/servers/{id}/rent | A pool you own, as a 24-character hex ID; leave it out for your default pool |
max_charge_cents | POST /api/v1/servers/{id}/rent | Required on every paid rental; see Rent a server into a pool |
A rental body without pool_id goes to your default pool:
{ "rental_days": 30, "max_charge_cents": 27500}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.
Pool settings are metadata and do not enforce caps or approval workflows. Creation returns the supplied settings, but pool list and detail reads currently return settings: {} even when custom metadata was saved. Keep a separate copy for your tooling.
{ "settings": { "owning_team": "frontend", "cost_center": "R&D-114" }}The only rules Hoody applies are structural: settings must be a JSON object (not an array), and both its serialized size and its nesting depth are capped. Exceed either and the create or update returns 400 with field: "pool_settings". A whole request body larger than 128 KiB is refused first, with 413, before settings is checked. An update that sends settings replaces the whole object, so send every key you want to keep.
Members and computers
Section titled “Members and computers”| Question | Answer |
|---|---|
| Can members see each other’s computers? | No. A member sees only computers in projects they own or were given access to. A computer’s URLs are open to anyone who has them until you set proxy permissions, so set them before sharing anything sensitive |
| Do pool members share computer limits? | Computer limits are per-server and per-project, not per-user. A free server is capped at 3 computers and a paid subserver at its plan’s limit, stopped computers included; rented servers have no cap by default. A server with a computer cap counts every member’s computers on that host toward it, so pool members share one set of slots. Projects can carry their own max_computers on top of that |
| Does a pool server raise my realm limit? | No. Your realm limit comes from your own account: 50 once it has held a paid subserver, 1000 once it has rented a server. Realms on a server you use through another account’s pool do not count toward your limit; realms on your own projects and computers count wherever they run |
| 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 |
| What happens when a member leaves the organization? | Remove them from the pool with the API, CLI or SDK. Their computers on the pool’s servers are stopped and cannot be started there again; their proxy aliases on those computers are deleted and storage shares from or to them are switched off. The computers and their data stay theirs to stop, delete or copy out; nobody can reassign them. To keep one running, they copy it to a server they hold before the removal |
Example layouts
Section titled “Example layouts”Groupings combine. Each pool has one owner, and each member a role in that pool:
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)One user can belong to several pools, with a different role in each:
Developer Jane: → "Frontend Pool" (User) - Can deploy frontend computers → "Staging Pool" (Admin) - Manages staging infrastructure → "AI Experiments" (User) - Access to AI playground| Setup | Pools | Notes |
|---|---|---|
| Small development team | Create a “Dev Team Pool” and rent one or more servers into it | Every developer deploys to the same servers; one set of servers covers the whole team |
| Digital agency (multiple clients) | One pool per client; rent servers into the matching client pool, and new ones as clients come and go | Each client’s members reach only that client’s servers; keep credentials and storage shares per client, and set proxy permissions. Each pool lists its servers, so you can see which rentals belong to which client |
| Enterprise multi-team | Pools by department or function, with as many servers per pool as the work needs | Role-based access across pools; developers can be members of multiple pools; each pool lists its servers |
| Open source project | Create a “Community Pool”, rent one or more servers and add every contributor as a User | Anyone can deploy demos and test branches; the owner keeps production deployments and pays for the servers |
| Freelancer to agency | Start in the default pool with your personal servers; for the first client, create a “Client Pool” and rent a server into it; more clients, more pools | Hiring: add developers to the client pools they work on |
Practices
Section titled “Practices”| Area | Practice |
|---|---|
| Pool design | Create pools for logical boundaries (team, client, environment). Don’t create one pool per server, which defeats the grouping. Name pools clearly, because teams grow and members forget context |
| Role assignment | Give developers the User role for deploying computers. Reserve Admin for DevOps team members who manage infrastructure. Start everyone as User and promote to Admin as needed. Owners should be team leads or managers. Audit roles quarterly, because people change responsibilities |
| Server organization | Group related work on the same servers. Put production servers in strict-access pools and development servers in open-access pools. Scale servers together logically (e.g. 3 production servers in the production pool). The pool owner rents into the shared team pool so the whole team has access immediately; rent a testing server into a dedicated staging pool you own, and client work into a per-client pool for isolation |
| Security | Separate production and development pools. Separating environments across different servers or pools adds a layer of obfuscation and organizational clarity, which can matter for larger teams and regulated industries. Server commands stay with the renter; pool roles never widen them. Review pool membership regularly, and remove members promptly when they leave the team or project |
| Cost management | A pool shows no cost or usage. Each rental is charged to the account that rents it, and only the owner rents into a pool, so members never pay for its servers. Each pool lists its servers, so you can see which rentals belong to which team or client. Delete pools that never held a rental to clean up (a pool with rental history is permanent) |
Troubleshooting
Section titled “Troubleshooting”| Symptom | Cause | What to do |
|---|---|---|
| Can’t add a member to a pool | Unknown username, or member already in pool | 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 computers to pool servers | The invitation is not accepted yet, or the server or project is at its computer cap | Every role deploys computers once the invitation is accepted: check that the member accepted. Check that the server has resources available and is under its computer cap, and that the project is under its max_computers |
| Server assignment fails | Invalid pool_id, or the target pool is not yours | A server’s pool is set at rental time via pool_id on POST /api/v1/servers/{id}/rent. Verify the pool_id is a valid 24-character hex ID and that you own that pool. A rented server can only be attached to a pool you own. Passing a pool you merely belong to, even as an Admin, returns 403 ACCESS_DENIED. Rent into your own pool instead |
| Pool deletion blocked | You aren’t the owner, or the pool isn’t empty | Verify you’re the pool owner, because only the owner may delete a pool. Beyond that, a pool can only be deleted when it is empty: any server currently assigned to it, any rental history in it, or any pending paid server reservation naming it blocks deletion, and the default pool can never be deleted. To remove a member from a pool, use DELETE /api/v1/pools/{id}/members/{userId} (admin or owner) |
| Member can’t accept a pool invitation | Member is looking in the wrong place, or the invitation was already removed | Invitations are not delivered by email. They do not appear in the Hub: the invited user finds them via GET /api/v1/pools/invitations/pending and accepts with POST /api/v1/pools/{id}/accept, where {id} is the pool_id. Verify you invited the correct username, and that you haven’t since removed the member (which clears the pending invitation) |
409 Pool with name "…" already exists on create | You already own a pool with that name | Pool names are unique per owner: pick another name |
400 with field: "pool_limit" on create | You own the maximum number of pools (1 for an account without a server); the response carries current_count and limit | Delete a pool you no longer need, then create the new one |
403 on a pool call | The auth token lacks the call’s projects permission, or it is limited to realms, or the request went to a realm’s API host | Use an account-wide auth token with the permission in Credentials, on api.hoody.com |