Get Role Permissions#
Package modules with permission ids, plus what this role already has. Use those ids on Update Role Permissions. Requires view-role.
Authorizationstringheaderrequired
Bearer token in the format: Bearer {access_token}
idstringpathrequired
Numeric role id from List Roles. Base64 and encrypted ids also work
curl --request GET \
--url https://app.rizzdial.com/api/roles/12/permissions \
--header 'Authorization: Bearer {{bearer_token}}'data.modulesarray
Each module has id, name, and permissions (id, name, module_id)
data.assigned_permission_idsarray
Permission ids currently on the role