stubkit docs

Feature · Account

Team & roles

Invite teammates by email. Invitations generate a magic link that expires in 7 days; the recipient clicks it to join your account with the role you assigned.

Roles

RoleCan
ownerEverything, incl. billing + deleting the account. At least one owner required at all times.
adminManage apps, keys, offerings, webhooks. Cannot touch billing or team ownership.
viewerRead-only dashboard access.

REST endpoints

  • GET /v1/admin/account/members
  • GET/POST /v1/admin/invitations — POST generates a magic link, returned in the response (show once, let the inviter copy).
  • DELETE /v1/admin/invitations/:id — revoke.
  • PATCH /v1/admin/members/:id — change role (refuses to demote the last owner).
  • DELETE /v1/admin/members/:id — remove (refuses to remove the last owner).

Dashboard

/settings/team — invite form + member list with role dropdown + pending invitations section.