Permissions

Add permission to role

Add a single permission to a role.

Same privileged-grant policy as the per-user paths (2026-08-13). Roles were the last outright refusal to fall: the argument for keeping them absolute was blast radius, and the answer is to SHOW the blast radius — the 409 names how many people hold the role — rather than to refuse an operation Multigest staff legitimately need.

post/api/roles/{role_id}/permissions

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}/permissions
  • 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

Request body

permission_idinteger required
grant_privileged_roleboolean

Response

Successful Response

unknown required

Changes

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