Skip to content

How to create roles and permission via the WorkOS SDK? #1159

@sagar7993

Description

@sagar7993

I can see in the WorkOS dashboard that I can create/update roles and permissions, and attach a permission to a role via the dashboard UI. I do not see any way to achieve this via code. Could you help by providing code samples on how to do this.

I need to be able to update roles for a user by email, and I also need to be able to update permissions for specific users/roles.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions