Skip to main content

Overview

Each Canvas app with Clerk authentication gets a dedicated Clerk organization. This organization is the single source of truth for who has access to the app and what role they hold. User management lets you:
  • List members of a Canvas app
  • Invite users by email with a specific role
  • Update roles (admin or member)
  • Remove users to revoke access immediately
  • Manage invitations — list pending and revoke unused invitations
User management requires auth_config.mode set to "clerk". Apps using public, password, or other auth modes do not have per-user access control.

Enabling User Management

Set your app’s auth mode to clerk. Mixpeek automatically provisions a Clerk organization for the app:
Once enabled, the Users tab appears in the Studio app detail page.

Roles

Each member has one of two roles:

API Reference

All user management endpoints are scoped to a single app and require your API key with namespace header.

List Members

Returns all users in the app’s Clerk organization.
Response:

Invite a User

Send an email invitation to join the app’s organization.
Response:

Update a User’s Role

Change a member’s role between org:member and org:admin.

Remove a User

Immediately revokes the user’s access to the app.

List Pending Invitations

Response:

Revoke an Invitation

Cancel a pending invitation before the recipient accepts it.

Studio

When a Canvas app has auth_config.mode = "clerk", a Users tab appears in the app detail page. From there you can:
  1. View members — see all users with their name, email, avatar, and role
  2. Invite users — click Invite, enter an email and role, then send
  3. Change roles — use the role dropdown next to any member
  4. Remove users — click the trash icon with a confirmation dialog
  5. Manage invitations — view pending invitations and revoke them

How It Works

Each Canvas app maps to a Clerk organization. When you enable auth_config.mode = "clerk", Mixpeek auto-provisions a Clerk org and stores the clerk_org_id in the app record. All user management operations go directly to Clerk — there is no separate user database to maintain. Clerk is the single source of truth.
Removing a user revokes access immediately. The user will be signed out on their next request.