Listing all permissions of a user¶
Sends a GET request to the endpoint /user/{id}/permissions.
Description¶
The List-User-Permissions request allows the user to request a list of all permissions of a user account of the organisation.
Requirements¶
Values of the request: User-ID {id}d}
Objects: none
Request¶
To request a list of the permissions of a user account, the User-ID {id} needs to be added to the path of the request.
As a result, the user gets one or more objects ObjectPermissionVO with the requested information.
The object provides the following information:
| Attributes | Description | Values |
|---|---|---|
objectType |
The type of the object. The object refers to the function in the Myra App. |
|
objectPermissionType |
The level of the permission. |
|
action |
The type of the permission. |
|
objectInstance |
The ID of the main parent. | integer |
name |
The name of the object to which permissions have been assigned. Only filled if an assignment has been made. Otherwise, the attribute does not exist. | string |
scopes |
A list of children. | array |
parents |
A list of parents. | array |
value |
The value of the permission. | string |
id |
The ID of the entry. | integer |
modified |
The last modification date in ISO 8601 format. | string($date-time) |
created |
The creation date in ISO 8601 format. | string($date-time) |
Example¶
Example response:
[
{
"objectType": "Domain",
"objectPermissionType": "GROUP",
"action": "READ",
"objectInstance": 0,
"name": "string",
"scopes": [],
"parents": [],
"value": "string",
"id": 0,
"modified": "2026-01-01T00:00:00+00:00",
"created": "2026-01-01T00:00:00+00:00"
}
]
Responses¶
The following responses are available:
| STATUS CODE | DESCRIPTION |
|---|---|
| 200 | The request has succeeded. |
| 400 | The request was unsuccessful. The request was invalid or information is missing. |
| 401 | The request has not succeeded because the user authentication was incorrect. |
| 403 | The request has not succeeded because the user does not have the right permissions. |