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

Path parameters

role_idinteger required

Headers

x-api-tokenstring nullable

Request body

permission_idinteger required
grant_privileged_roleboolean

Response

Successful Response

{"stackTrail":"paths:/api/roles/{role_id}/permissions:post:responses:200:content:application/json:schema","oasType":"schema","type":"unknown"}

Changes

No recorded changes to this endpoint across all 1 revision of this API.