Permissions

How many users hold this role

The blast radius of a role edit, as one number.

Exists so the confirmation dialog can say WHO it affects instead of "all holders". The frontend cannot compute this: the only role-assignment field it receives is Z_Users.idrole (8 rows on the test clone), while the real answer comes mostly from Z_UserRoles (210) — counting client-side would understate a 142-user role as 1 and make the warning worse than useless.

get/api/roles/{role_id}/holders

Request

  • Base URL
    https://api.multigest.pt (the document declares no server; this is the origin it was published from)
  • URL
    https://api.multigest.pt/api/roles/{role_id}/holders
  • Auth
    API key in header x-api-token and API key in header x-origin-verify

Path parameters

role_idinteger required

Headers

x-api-tokenstring nullable

Response

Successful Response

unknown required

Changes

No recorded changes to this operation across all 21 revisions of this API.