Update Role
POST/api/roles/updaterole
Tier: Internal — subject to change without notice.
Replaces a role's name, description, password policy, and claim set. Existing claims are hard-deleted and rebuilt from the request; any module omitted from {roleDto} is re-added with zero permission.
Request
Responses
- 200
- 400
- 401
- 403
Returns the updated RoleMgmt.RoleDetailDto.
Unknown id (NotFound) or validation failure (e.g. missing Name) — error array.
Caller is not authenticated.
Caller lacks LocafiModule.Role Update.