decline Invitation

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

Method to decline 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 decline the invitation

payload

The payload with the changelog identifier to delete