Get Roles
info
All JSON array responses have been shortened for readability.
GET/<ApplicationID>/roles
Endpoint Requires Authentication
Example
https://api.centrix.world/641c1177ebc8b2f3c195b02c/roles
Description
Returns an array of objects, each one representing the User Applications for the supplied application. This document contains the roles the
user has as an array of ObjectId
, a user object with the user's record, and a settings object with the setting key value pairs that the
user has applied, if any.
Returns
{
"timestamp": "2023-11-03T15:01:11.780Z",
"data": [
{
"_id": "64e75b1cf2a040ef8e2cc349",
"application": "64e73269f2a040ef8e2c76f6",
"code": "app",
"name": "App User",
"inherit": [],
"allow": {
"collections": {
"*": ["read", "insert", "update", "delete"]
},
"custom": [],
"system": ["device-read", "device-write"]
},
"deny": {
"collections": {
"*": []
},
"system": [],
"custom": []
}
}
]
}