Endpoints for roles.
GETReturns roles of the workspace.
/rolesPOSTCreates a workspace role./rolesPOSTMoves a user to another role./roles/moveuserGETReturns all users in roles of the workspace./roles/usersGETReturns the role./roles/{roleId}PUTUpdates the role./roles/{roleId}POSTAdds the user to the role./roles/{roleId}/adduserGETReturns deactivated menu items for the role./roles/{roleId}/deactivatedmenuitemsPOSTUpdates deactivated menu items for a role./roles/{roleId}/deactivatedmenuitemsPOSTDeletes the role./roles/{roleId}/deleteGETReturns permissions of the specified role./roles/{roleId}/permissionsPOSTUpdates permissions for a role./roles/{roleId}/permissionsPOSTArchives or unarchives the role./roles/{roleId}/setarchivedGETReturns users of the specified role./roles/{roleId}/usersPOSTActivates the user./roles/{roleId}/users/{userId}/activatePOSTDeactivates the user./roles/{roleId}/users/{userId}/deactivateGETReturns the role for the name./roles/{roleName}