editProject

@PostMapping(path = "/{" + IDENTIFIER_KEY + "}/" + PROJECTS_KEY + "/{" + PROJECT_IDENTIFIER_KEY + "}", headers = [])
open fun editProject(@PathVariable(value = "id") id: String, @PathVariable(value = "project_id") projectId: String, @RequestHeader(value = "token") token: String, @ModelAttribute payload: ProjectsHelper.ProjectPayload): String

Method to update a project

Return

the result of the request as String

Parameters

id

: the identifier of the user

token

: the token of the user

projectId

: the project identifier to update

payload

: payload of the request


             {
                 "logoUrl": "the logo of the project path", -> [String]
                 "name": "the project name" -> [String],
                 "projectMembers": "the identifiers of the members", -> [List of String]
             }