delete Account

@DeleteMapping(path = "USERS_KEY + "/{" + IDENTIFIER_KEY + "}"", headers = [] )
open fun deleteAccount(@PathVariable(value = "id") id: String, @RequestHeader(value = "token") token: String): String

Method to delete the account of the user

Return

the result of the request as String

Parameters

id

: the identifier of the user

token

: the token of the user