Skip to content

User Management

Every user who signs up through an application creates an application_user record. This record represents the user’s membership in that specific application. A user can have different memberships in different applications.

StateMeaning
activeUser can access the application normally
suspendedUser cannot access the application. Signin is rejected by the policy engine.
disabledUser is permanently blocked from the application.
pending_approvalUser registered but needs admin approval.
pending_invitationUser was invited but hasn’t completed registration.

Filter by status to see specific groups:

GET /api/admin/applications/:id/users?status=suspended

Prevents the user from signing in. The user remains in the database and can be reactivated later. Useful for temporary account holds.

Restores a suspended user to active status. The user can sign in normally.

Deletes the application_user record. The global user account is NOT affected — they can still access other applications.

When a user is suspended in an application, the policy engine rejects all signin attempts for that application immediately. The user is not notified of the suspension — the signin endpoint simply returns a USER_SUSPENDED error.

RolePermissions
memberStandard user
adminCan manage other users in the application
billing_adminCan manage subscriptions for the application

Roles are per-application. A user can be admin in one application and member in another.