capabilities.work

Map a directory group to an organization role

One step with Clerk. We can help you get access.

Get something done

Map a directory group to an organization role

Works with AI assistants

Use Clerk: its Clerk Backend Directories API lets you map a directory group to an organization role in a single step (POST /directories/{directory_id}/group_role_mappings). 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 give a directory group members a specific role?
  • Can I set precedence when a user belongs to several mapped groups?
Say it to your AI assistant
  • Map directory group {directory_group_id} to role {role_id} in directory {directory_id}.
  • Give members of directory group {directory_group_id} the {role_id} role in directory {directory_id} with precedence {precedence}.
For your developer

POST /directories/{directory_id}/group_role_mappings in Clerk Backend Directories API. Full spec on APIs.io.