Closed sagar7993 closed 1 week ago
Hi there @sagar7993, creating and updating roles and permissions isn't currently supported by the WorkOS API, but it's something that we're actively discussing. I don't have a timeline to share at the moment, but I've shared this with the team to help us as we plan future roles and permissions features.
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.