Collect roles (replaced by POST /v1/role/query)
Get all (or some of) the roles of which a user is a member (either directly or indirectly). The POST /v1/role/query is a preferable alternative, which can better handle complex filters.
Query parameters
Only return those roles which have access to a specific view
Only return roles with one of the specified ids
Only return roles with a name in this array
Only return roles which are managed (directly or indirectly) by one of the specified ancestor role ids. Prefer the companyId query parameter
Only return roles which are directly or indirectly manages by one of the specified company ids
For each of the returned roles, set the roleManagement property to indicate whether the user has direct or indirect roleManagement rights
For each of the returned roles, set the userManagement property to indicate whether the user has direct or indirect userManagement rights
For each of the returned roles, set the viewManagement property to indicate whether the user has direct or indirect viewManagement rights
For each of the returned roles, set the deviceManagement property to indicate whether the user has direct or indirect deviceManagement rights
For each of the returned roles, set the reportManagement property to indicate whether the user has direct or indirect reportManagement rights
For each of the returned roles, set the alarmManagement property to indicate whether the user has direct or indirect alarmManagement rights
Response
The roles of which the user is a member and which match all specified filters
Changes
No recorded changes to this endpoint across all 1 revision of this API.