delete Session

@DeleteMapping(path = "/{" + IDENTIFIER_KEY + "}" )
open fun deleteSession(@PathVariable(value = "id") sessionId: String, @RequestParam(value = "language", required = false, defaultValue = "en") language: String, @RequestBody payload: Map<String, String>): String

Endpoint used to delete an existing session

Return

the response as String

Parameters

sessionId

The identifier of the session to delete

language

The language of the user who sent the request

payload

The payload of the request


                             {
                                 "password" : "the password used to protect the session accesses" -> [String]
                             }