Skip to content

Get Role's Rights at Machine

Given a list of machine identifiers and a list of role names (or IDs), returns the cumulative list of all rights granted by all the specified roles, at the specified machine.

Verb POST
Endpoint {base-url}/roles/role-rights-at-machine
Max Page Size 50

Request Body

{
  "requestFilter": {
    "machineIdentifiers": ["3283"]
  },
  "routeFilter": {
    "roleIdentifiers": [4]
  }
}

Filters Honored

Returns

On Success

Return format is Dictionary<int, List<int>>, where the key is the machine ID and the list is the granted right IDs.

Response Body

{
  "1": [1, 2, 3]
}