code: @RequestMapping(value = "projects/{projectId}/{type}/{id}", method = RequestMethod.PUT)
      public Ack saveProjectPermission(@PathVariable ID projectId, @PathVariable PermissionTargetType type, @PathVariable int id, @RequestBody PermissionInput input) {
          return accountService.saveProjectPermission(projectId, type, id, input);
      }
docs: Saving a project permission