edit Group

@PostMapping(path = "/{" + GROUP_IDENTIFIER_KEY + "}", headers = [] )
open fun editGroup(@PathVariable(value = "id") id: String, @PathVariable(value = "group_id") groupId: String, @RequestHeader(value = "token") token: String, @ModelAttribute payload: GroupDTO): String

Method to create edit an existing group

Return

the result of the request as String

Parameters

id

The identifier of the user

token

The token of the user

payload

: payload of the request


                                             {
                                                 "logo" : "logo of the group", -> [String]
                                                 "name" : "name of the group", -> [String]
                                                 "group_description": "description of the group", -> [String]
                                                 "members" : [ -> [List of Strings or empty]
                                                     // id of the group member -> [String]
                                                 ],
                                                 "projects" : [ -> [List of Strings or empty]
                                                     // id of the projects -> [String]
                                                 ]
                                             }