Workflow

Workspace Membership Management

Follow the sequence below, then use API Reference for payload schema and response details.

Steps

  1. Read the current owner/admin team roster with the same Supabase access token. Page members and

    Operation IDs: workspaces.team.get

  2. Invite an admin or member with an exact expiry no more than seven days away:

    Operation IDs: workspaces.invitations.create

  3. Accept the invitation from the matching verified login:

    Operation IDs: workspaces.invitations.accept

  4. Revoke a pending invitation with an audit reason:

    Operation IDs: workspaces.invitations.revoke

  5. Change an active non-owner member between admin and member with an audit reason:

    Operation IDs: workspaces.members.role.update

  6. Remove a non-owner member with an audit reason:

    Operation IDs: workspaces.members.remove

  7. Transfer ownership to an active member before the former owner leaves:

    Operation IDs: workspaces.ownership.transfer

Notes

All mutations require a Supabase access token and a fresh `Idempotency-Key`. Authorization and

last-owner protection are enforced by the database transaction.

pending invitations independently with the returned UUID cursors:

Related Docs