Get Composite Roles By Msp
Returns all composite roles defined with the specified userTypes and enterpriseProxyId.
Privileges required:
READ
MSP_SCOPED_ROLE
Request
URI
POST
https://{api_host}/portal/rest/compositeRole/getByEnterpriseProxy
COPY
Request Body
Show optional properties
{
"userTypes": [
{}
]
}
{
"userTypes": [
"string"
],
"enterpriseProxyId": 0,
"roleIds": [
0
]
}
array of
string
userTypes
Required
userTypes
Possible values are :
MSP,
ENTERPRISE,
integer
enterpriseProxyId
Optional
enterpriseProxyId
array of
integer
roleIds
Optional
roleIds
Responses
200
Request was successfully processed
Returns
Array of
get_composite_roles_result_item
of type(s)
application/json
[
{
"id": 0,
"created": "string",
"operatorId": 0,
"networkId": 0,
"enterpriseId": 0,
"enterpriseProxyId": 0,
"name": "string",
"userType": "string",
"fromUserType": "string",
"roleType": "string",
"isCustom": 0,
"isSuper": 0,
"description": "string",
"precedence": 0,
"modified": "string"
}
]
Code Samples
COPY
curl -X POST -H 'Authorization: <value>' -H 'Content-Type: application/json' -d '{"userTypes:"array"}' https://{api_host}/portal/rest/compositeRole/getByEnterpriseProxy
All Operations
POST
Create Composite Role By Enterprise
POST
Create Composite Role By Msp
POST
Create Composite Role By Operator
POST
Delete Composite Roles By Enterprise
POST
Delete Composite Roles By Msp
POST
Delete Composite Roles By Operator
POST
Get Composite Roles By Enterprise
POST
Get Composite Roles By Msp
POST
Get Composite Roles By Operator
POST
Update Composite Role By Enterprise
POST
Update Composite Role By Msp
POST
Update Composite Role By Operator