curl --request POST \
--url https://api2.rhombussystems.com/api/permission/getPermissionsForCurrentUser \
--header 'Content-Type: application/json' \
--header 'x-auth-apikey: <api-key>' \
--header 'x-auth-scheme: <x-auth-scheme>' \
--data '{}'import requests
url = "https://api2.rhombussystems.com/api/permission/getPermissionsForCurrentUser"
payload = {}
headers = {
"x-auth-scheme": "<x-auth-scheme>",
"x-auth-apikey": "<api-key>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'POST',
headers: {
'x-auth-scheme': '<x-auth-scheme>',
'x-auth-apikey': '<api-key>',
'Content-Type': 'application/json'
},
body: JSON.stringify({})
};
fetch('https://api2.rhombussystems.com/api/permission/getPermissionsForCurrentUser', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));HttpResponse<String> response = Unirest.post("https://api2.rhombussystems.com/api/permission/getPermissionsForCurrentUser")
.header("x-auth-scheme", "<x-auth-scheme>")
.header("x-auth-apikey", "<api-key>")
.header("Content-Type", "application/json")
.body("{}")
.asString();{
"accessControlLocationAccessMap": {},
"accessMap": {},
"assignablePermissionGroups": [
"AAAAAAAAAAAAAAAAAAAAAA"
],
"componentCompositeGranularAccessMap": {},
"deviceAccessMap": {},
"error": true,
"errorMsg": "<string>",
"functionalityList": [
"DEVICE_ADMINISTRATION"
],
"installer": false,
"locationAccessMap": {},
"locationGranularAccessMap": {},
"permissionGroupName": "Administrator",
"superAdmin": false,
"warningMsg": "<string>"
}Get permissions for current user
Get device and functionality permissions for user or API token
curl --request POST \
--url https://api2.rhombussystems.com/api/permission/getPermissionsForCurrentUser \
--header 'Content-Type: application/json' \
--header 'x-auth-apikey: <api-key>' \
--header 'x-auth-scheme: <x-auth-scheme>' \
--data '{}'import requests
url = "https://api2.rhombussystems.com/api/permission/getPermissionsForCurrentUser"
payload = {}
headers = {
"x-auth-scheme": "<x-auth-scheme>",
"x-auth-apikey": "<api-key>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'POST',
headers: {
'x-auth-scheme': '<x-auth-scheme>',
'x-auth-apikey': '<api-key>',
'Content-Type': 'application/json'
},
body: JSON.stringify({})
};
fetch('https://api2.rhombussystems.com/api/permission/getPermissionsForCurrentUser', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));HttpResponse<String> response = Unirest.post("https://api2.rhombussystems.com/api/permission/getPermissionsForCurrentUser")
.header("x-auth-scheme", "<x-auth-scheme>")
.header("x-auth-apikey", "<api-key>")
.header("Content-Type", "application/json")
.body("{}")
.asString();{
"accessControlLocationAccessMap": {},
"accessMap": {},
"assignablePermissionGroups": [
"AAAAAAAAAAAAAAAAAAAAAA"
],
"componentCompositeGranularAccessMap": {},
"deviceAccessMap": {},
"error": true,
"errorMsg": "<string>",
"functionalityList": [
"DEVICE_ADMINISTRATION"
],
"installer": false,
"locationAccessMap": {},
"locationGranularAccessMap": {},
"permissionGroupName": "Administrator",
"superAdmin": false,
"warningMsg": "<string>"
}Authorizations
Your Rhombus API key. Must be accompanied by the x-auth-scheme header set to api-token (or partner-api-token for partner endpoints).
Headers
Authentication scheme identifier. Use api-token for standard API key authentication, partner-api-token for partner API key authentication. Must be paired with the x-auth-apikey header containing your API key.
api-token, api, partner-api-token, partner-api Body
Request object for getting permissions for the current user.
Response
OK
Response object containing comprehensive permission information for the current user including functionality, device, location, and granular access maps.
Map of access control location UUIDs to permission levels
Show child attributes
Show child attributes
Deprecated: Map of device UUIDs to permission levels (use deviceAccessMap instead)
Show child attributes
Show child attributes
Set of permission group UUIDs the user can assign to other users
base 64 (url-safe) uuid string
"AAAAAAAAAAAAAAAAAAAAAA"
Map of component composite UUIDs to granular functionality permission maps. Functionality keys are LocationFunctionality values (normalized from ComponentCompositeFunctionality via ComponentCompositeFunctionality#getLocationFunctionality).
Show child attributes
Show child attributes
Map of device UUIDs to permission levels
Show child attributes
Show child attributes
List of functionalities the user has access to
DEVICE_ADMINISTRATION, ORG_ADMINISTRATION, AUTH_ADMINISTRATION, FIRMWARE_ADMINISTRATION, DOOR_ACCESS_ADMINISTRATION, CAMERA_ADMINISTRATION, REGISTER_DEVICES, DELETE_DEVICES, LOCATION_ADMINISTRATION, POLICY_ADMINISTRATION, USER_ADMINISTRATION, REPORT_ADMINISTRATION, NOTIFICATION_ADMINISTRATION, LICENSE_ADMINISTRATION, RECEIVE_EMAILS, MANAGE_FACES, MANAGE_LICENSEPLATES, API_ADMINISTRATION, INTEGRATION_ADMINISTRATION, DATA_EXFILTRATION, ALERT_MONITORING_ADMINISTRATION, ALERT_MONITORING_VIEWONLY, ALERT_MONITORING_OPERATOR, GUEST_MANAGEMENT_ADMINISTRATION, GUEST_MANAGEMENT_VIEWONLY, CLIP_MANAGEMENT, VIEW_SAVED_VIDEO, VIEW_AND_MANAGE_SAVED_VIDEO, CLLM_ADMINISTRATION, UNKNOWN Whether the user has installer privileges
false
Map of location UUIDs to permission levels
Show child attributes
Show child attributes
Map of location UUIDs to granular functionality permission maps
Show child attributes
Show child attributes
Name of the user's permission group
"Administrator"
Whether the user has super admin privileges
false