@PatchMapping("/{id}/category")
    public ResponseEntity<Void> saveRoleCategories(@PathVariable("id") String id,
            @RequestBody String[] categoryIds) {
        roleService.saveRoleCategories(id, categoryIds);
        return ResponseEntity.noContent().build();
    }
saveRoleCategories

@param id id
@param categoryIds categoryIds
@return Void
src/main/java/com/tuituidan/openhub/controller/RoleController.java