This endpoint is used to fetch a role in the current organization
Serializes groups querysets.
GET /ux/common/roles/profile/{id}/ HTTP/1.1 Host: Authorization: YOUR_API_KEY Accept: */*
{ "role_name": "text", "description": "text", "group_id": 1, "organization": "text", "is_pre_configure": true, "role_type": 1, "event_map": "text", "last_update_time": "2025-04-18T23:46:13.637Z" }
This endpoint is used to delete an existing role for the current organization
DELETE /ux/common/roles/profile/{id}/ HTTP/1.1 Host: Authorization: YOUR_API_KEY Accept: */*
No response body
No content
This endpoint is used to get all module role map for the current organization
GET /ux/common/roles/profile/config/ HTTP/1.1 Host: Authorization: YOUR_API_KEY Accept: */*
API endpoint that allows users to be viewed or edited.
GET /ux/common/roles/profile/json/ HTTP/1.1 Host: Authorization: YOUR_API_KEY Accept: */*
This endpoint is used to get the default options for events options
GET /ux/common/roles/profile/options/ HTTP/1.1 Host: Authorization: YOUR_API_KEY Accept: */*
This endpoint is used to fetch all the role profiles in the current organization (works based on token used to authorize)
GET /ux/common/roles/profile/ HTTP/1.1 Host: Authorization: YOUR_API_KEY Accept: */*
[ { "role_name": "text", "description": "text", "group_id": 1, "organization": "text", "is_pre_configure": true, "role_type": 1, "event_map": "text", "last_update_time": "2025-04-18T23:46:13.637Z" } ]
This endpoint is used to save a new role for the current organization
POST /ux/common/roles/profile/ HTTP/1.1 Host: Authorization: YOUR_API_KEY Content-Type: application/json Accept: */* Content-Length: 190 { "role_name": "Requester", "description": "User can have access only to requester portal", "selected_permissions": { "General": { "organization": { "view": true, "add": true, "edit": true, "delete": true } } } }
This endpoint is used to edit an existing role for the current organization
1
PUT /ux/common/roles/profile/{id}/ HTTP/1.1 Host: Authorization: YOUR_API_KEY Content-Type: application/json Accept: */* Content-Length: 160 { "role_name": "text", "description": "text", "group_id": 1, "organization": "text", "is_pre_configure": true, "role_type": 1, "last_update_time": "2025-04-18T23:46:13.637Z" }