Replace a role set and migrate organizations
One step with Clerk. We can help you get access.
Get something done
Replace a role set and migrate organizations
with Clerk · Identity & Access Management
Works with AI assistants
Use Clerk: its Clerk Backend Role Sets API lets you replace a role set and migrate organizations in a single step (POST /role_sets/{role_set_key_or_id}/replace). Clerk also has an MCP server, so an AI assistant like Claude or ChatGPT can do it for you. capabilities.work can help you get signed up and connected.
- How do I retire a role set and move its organizations to another one?
- Can I map old roles to new roles when replacing a role set?
Say it to your AI assistant
- Replace role set {role_set_key_or_id} with {dest_role_set_key}.
- Migrate organizations from role set {role_set_key_or_id} to {dest_role_set_key} using mappings {reassignment_mappings}.
For your developer
POST /role_sets/{role_set_key_or_id}/replace in Clerk Backend Role Sets API. Full spec on APIs.io.