class ProjectTeamController {

    @PostMapping(params = "remove-organisation")
    @PreAuthorize("hasAnyAuthority('ifs_administrator', 'project_finance')")
    @SecuredBySpring(value = "EDIT_PROJECT_TEAM", description = "IFS Admin and project finance can edit project team.")
    public String removeOrganisation(@PathVariable("projectId") long projectId,
                                     @PathVariable("competitionId") long competitionId,
                                     @RequestParam("remove-organisation") final long orgId) {
        partnerOrganisationRestService.removePartnerOrganisation(projectId, orgId).getSuccess();
        return format("redirect:/competition/%d/project/%d/team", competitionId, projectId);
    }

}