accept Invitation

@PatchMapping(path = ""/{" + GROUP_IDENTIFIER_KEY + "}" + ACCEPT_GROUP_INVITATION_ENDPOINT", headers = [] )
open fun acceptInvitation(@PathVariable(value = "id") id: String, @RequestHeader(value = "token") token: String, @PathVariable(value = "group_id") groupId: String, @RequestBody payload: Map<String, String>): String

Method to accept a group invitation

Return

the result of the request as String

Parameters

id

The identifier of the user

token

The token of the user

groupId

The identifier of the group to accept the invitation

payload

The payload with the changelog identifier to delete