Role Get Role Customizations
This API returns the list of all role customizations present in the system for the given level
Privileges required:
READ
ROLE_CUSTOMIZATION_PACKAGE
Request
URI
POST
https://{api_host}/portal/rest/role/getRoleCustomizations
COPY
Request Body
Show optional properties
{
"roleCustomizationLevel": "string"
}
{
"roleCustomizationLevel": "string",
"networkId": 0,
"userId": 0,
"operatorId": 0,
"enterpriseId": 0,
"enterpriseProxyId": 0
}
string
roleCustomizationLevel
Required
roleCustomizationLevel
Possible values are :
NETWORK,
PARTNER,
ENTERPRISE,
USER,
ALL,
integer
networkId
Optional
networkId
integer
userId
Optional
userId
integer
operatorId
Optional
operatorId
integer
enterpriseId
Optional
enterpriseId
integer
enterpriseProxyId
Optional
enterpriseProxyId
Responses
200
Request was successfully processed
Returns
role_customizations_list
of type(s)
application/json
[
{
"id": 0,
"forRoleId": 0,
"roleName": "string",
"roleId": 0,
"name": "string",
"isSystemCustomization": 0
}
]
array of
object
role_customizations_list
Optional
role_customizations_list
Code Samples
COPY
curl -X POST -H 'Authorization: <value>' -H 'Content-Type: application/json' -d '{"roleCustomizationLevel:"string"}' https://{api_host}/portal/rest/role/getRoleCustomizations