delete Group

@DeleteMapping(path = "/{" + GROUP_IDENTIFIER_KEY + "}", headers = [] )
open fun deleteGroup(@PathVariable(value = "id") id: String, @RequestHeader(value = "token") token: String, @PathVariable(value = "group_id") groupId: String): String

Method to delete a group

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 delete