Update a role's permissions
PUT/api/update_role/:name
Replaces the permission set of the named role.
The built-in admin role is refused: it is the guaranteed way back into
an instance, and stripping permissions off it is how an instance locks
itself out of user and role management entirely.
Request
Responses
- 200
- 404
- 422
Successful Response
Role not found
Validation Error