addMembers

@PutMapping(path = ""/{" + IDENTIFIER_KEY + "}/" + PROJECTS_KEY + "/{" + PROJECT_IDENTIFIER_KEY + "}" + ADD_MEMBERS_ENDPOINT", headers = [])
open fun addMembers(@PathVariable(value = "id") id: String, @PathVariable(value = "project_id") projectId: String, @RequestHeader(value = "token") token: String, @RequestBody payload: String): String

Method to add members in a project

Return

the result of the request as String

Parameters

id

: the identifier of the user

projectId

: the project identifier where add the members

token

: the token of the user

payload

: payload of the request


             {
                 "projectMembers": "the emails of the members", -> [List of String]
                 "role": "the role to attribute at the members" -> [String]
             }