Sharing & Scaling
Teams
Working alone, your mocks live in your personal workspace. Create a team and they can live in a shared one instead — every member can see, edit, and call the same mocks, without emailing anyone a mock id.
Requires an account — anonymous sessions have no workspace to share.
Creating a team and inviting people
Create a team and give it a name. MockBase generates a secret invite code for it — share that code with whoever should join. There's no email invite step; the code itself is the whole flow. Anyone who joins with a valid code becomes a member right away.
If the code leaks, or you just want to stop new people from joining on it, rotate it from the team's page. The old code stops working the moment you do, though rotating doesn't remove anyone who already joined.
Switching workspace
The workspace switcher controls which identity your next action uses: your personal workspace, or one of the teams you belong to. Whichever one is active decides who a new mock belongs to, and which mocks show up in your list — a mock is only visible to the workspace that owns it.
Moving a mock into or out of a team
Existing mocks aren't stuck where they started. Open a mock and use Transfer to move it into a team you belong to, or back to your personal workspace — its id, routes, and public URL never change, only who can edit it changes.
Roles
- Owner — whoever created the team. Can rename it, rotate the invite code, and remove other members. A team always has exactly one owner.
- Member — can see and edit every mock in the team's workspace, same as the owner, but can't rename the team, rotate its invite code, or remove other members. A member can always remove themselves (leave the team) at any time.
Deleting a team
Deleting a team never deletes its mocks. They move back to the owner's personal workspace first, keeping their ids and public URLs alive, and only then is the team and its membership removed. To hand ownership to someone else, the current owner deletes the team and the new owner creates a fresh one — there's no in-place ownership transfer.