Fully updates a role's name and description
Fully updates a roles. Both name and description must be given.
PUT
/api/2/role/{id}Authorization
AuthorizationBasic auth · headerrequiredIn order to use basic authorization, provide username:password Base64 encoded in the 'Authorization' header.
Path parameters
idinteger<int64>requiredThe role id
Request body
application/jsondescriptionstringnamestringResponses
200
Returns updated role.
actorsRoleActorBean[]Show propertiesHide properties
Array of
RoleActorBeannamestringdescriptionstringidinteger<int64>namestringselfstring<uri>400
Returned when name or description is not given or the name field is invalid (empty or starts or ends with whitespace).
401
Returned if the requesting user is not logged in.
403
Returned if the requesting user is not an admin or a sysadmin.
404
Returned if the role with the given id does not exist.