Members and roles
Invite people to an organisation, set their roles, transfer ownership, remove members and leave.
An organisation is shared by its members. Each member has one role, and the role decides what they can do from the dashboard. API keys are separate: they act for the organisation with their own scopes and cannot manage members.
Roles
| Role | Can |
|---|---|
| User | Use the dashboard: read activity, evidence and workspaces, leave the organisation. Personal attributes are masked. |
| Admin | Everything a user can, plus invite and remove members, change roles, manage API keys, SSO, privacy, billing and organisation settings, and activate workspaces. Sees personal attributes unmasked. |
| Owner | Everything an admin can, plus transfer ownership and delete the organisation. |
An organisation always has at least one owner. The server refuses any change that would leave it without one.
Roles are checked live on every request, so a role change or removal takes effect on the member’s next call.
Invite someone
You need to be an owner or admin, and your own email address must be verified.
- Open Settings → Organisation. The Members section lists current members and pending invitations.
- Click Invite.
- Enter their Email and choose a Role: User or Admin.
- Click Send invite.
axonpush emails them a link. The dialog also shows the Invitation link so you
can share it yourself. The link has the form https://app.axonpush.xyz/invite?code=....
With the API, as an owner or admin:
curl -X POST "https://api.axonpush.xyz/organizations/$ORG_ID/invitations" \
-H "Authorization: Bearer $SESSION_JWT" \
-H "Content-Type: application/json" \
-d '{"invitedEmail": "jane@example.com", "role": "admin"}'role is user, admin or owner, and defaults to user. Only an owner can
invite an owner; an admin gets 403 only an owner can invite an owner. The
dashboard only offers User and Admin.
Invitations expire after 7 days. Pending invitations count towards the
organisation’s seat limit, so an invite fails with 403 This organisation has reached its seat limit. when members plus pending invitations already fill it. See
Billing for seats per plan.
Accept an invitation
The invitee opens the link, signs in or signs up with the invited email
address, and joins. Accepting from a different address fails with 403 this invitation was issued to a different email address. A used invitation answers
409, an expired one 410. Joining makes the organisation the person’s active
organisation.
POST /invitations/accept
takes {"code": "..."} from a dashboard session.
Cancel an invitation
Pending invitations show “Invitation pending” in the member list. Click the revoke button on the row to cancel it. The link stops working.
Change a role
Owners and admins can change the role of members ranked below them: pick User or Admin in the row’s role menu. You cannot change your own role from the dashboard.
Only an owner can promote someone to owner or change an owner’s role. An admin
who tries gets 403 only an owner can grant or change the owner role.
This is dashboard-only. A coding agent signed in as you gets 403 Do this in the dashboard.
Transfer ownership
An owner can make another member the owner:
- In Settings → Organisation, find the member and click Transfer ownership.
- Confirm Transfer.
The member becomes an owner and you become an admin. The new owner must already be a member. Transfer is owner-only and dashboard-only.
curl -X POST "https://api.axonpush.xyz/organizations/$ORG_ID/transfer-ownership" \
-H "Authorization: Bearer $SESSION_JWT" \
-H "Content-Type: application/json" \
-d '{"userId": "usr_..."}'Remove a member
Owners and admins can remove members ranked below them. Click Remove member on
the row and confirm Remove. They lose access immediately. Only an owner can
remove an owner (403 only an owner can remove an owner otherwise), and the last
owner can never be removed.
Leave an organisation
Any member can leave from Settings → Organisation → Leave organisation. You lose access until someone invites you back. If you were working in that organisation, your active organisation switches to another one you belong to.
A sole owner cannot leave. Transfer ownership first, or delete the organisation.
Delete an organisation
Owners see Danger zone → Delete organisation in Settings → Organisation. Deleting removes the organisation and schedules its data for deletion. This cannot be undone, and it is dashboard-only.
Members who join through SSO
When an organisation has an SSO connection, people who sign in through it for the first time join with the User role. Promote them afterwards if they need more.
API reference
| Operation | Who |
|---|---|
| List members | Owner, admin |
| Change a role | Owner, admin (dashboard only) |
| Remove a member | Owner, admin |
| List invitations | Owner, admin |
| Create an invitation | Owner, admin, verified email |
| Cancel an invitation | Owner, admin |
| Accept an invitation | The invited person |
| Transfer ownership | Owner (dashboard only) |
| Leave | Any member |
| Delete the organisation | Owner (dashboard only) |
Invitations, acceptances, cancellations, role changes, removals, leaving and ownership transfers are recorded in the organisation audit log.