Get All Access Rules attached to User
Returns detailed info about all Access Rule attached to user
Path Parameters
- userUid integer required
Possible values:
>= 1
Unique Identifier for User Item
Responses
- 200
- 400
- 401
- 403
OK
- application/json
- Schema
- Example (from schema)
- Example
Schema
- list_items object[]
{
"list_items": [
{
"name": "Fist two floors",
"areas": [
1000
],
"item_uid": 3
}
]
}
{
"list_items": [
{
"item_uid": 1,
"name": "First two floors",
"areas": [
1000,
2000
]
},
{
"item_uid": 2,
"name": "First three floors",
"areas": [
1000,
2000,
3000
]
}
]
}
No such user
- application/json
- Schema
- Example (from schema)
- No such user
Schema
- error string
{
"error": true
}
{
"error": "No such user"
}
Unauthorized request. Log In
- application/json
- Schema
- Example (from schema)
- Log In
Schema
- error string
{
"error": "Log In"
}
{
"error": "Log In"
}
Administrator rights required. You are currently logged in with different user account. Log In with administrator rights
- application/json
- Schema
- Example (from schema)
- Admin Rights Required
Schema
- error string
{
"error": "Administrator rights required"
}
{
"error": "Administrator rights required"
}
Loading...