Team
Team routes require a browser session.
GETPath
/api/teamPurpose
Repositories you own, repositories shared with you, members and invites
POSTPath
/api/team/invitesPurpose
Create an invite
{ repo, email, role }DELETEPath
/api/team/invites/:idPurpose
Revoke a pending invite
POSTPath
/api/team/acceptPurpose
Accept an invite
{ token }DELETEPath
/api/team/members/:idPurpose
Remove a member from a repository
GETPath
/api/team/preview?token=…Purpose
Preview an invite before signing in
invite
curl -X POST https://memo.uno/api/team/invites \
-H "Content-Type: application/json" \
--cookie "memo_session=<session>" \
-d '{"repo":"acme/api","email":"dev@example.com","role":"editor"}'Roles are editor and viewer. Invites expire after seven days. Only the repository owner can invite or remove members.
Plan requirement
Creating an invite is a Pro feature: on the free plan this route answers 402 with code: "feature". Accepting an invite works on any plan, so a free teammate can join a Pro owner's repository.
Shared memory is scoped to the repository. Personal memory, other repositories, tokens and account details are never shared. See Team repositories.