capabilities.work

Grant a role to a user

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

Get something done

Grant a role to a user

with dotCMS · Identity & Access Management

Use dotCMS: its dotCMS REST Roles API lets you grant a role to a user in a single step (POST /api/v1/roles/{roleid}/users/{userId}). capabilities.work can help you get signed up and connected.

  • How do I give a user a role directly?
  • What happens if I grant a role the user already has?
Say it to your AI assistant
  • Grant role {roleid} to user {userId}.
  • Add user {userId} as a direct member of role {roleid}.
For your developer

POST /api/v1/roles/{roleid}/users/{userId} in dotCMS REST Roles API. Full spec on APIs.io.