disconnect Device

@DeleteMapping(path = "USERS_KEY + "/{" + IDENTIFIER_KEY + "}" + "/" + DEVICES_KEY + "/{" + DEVICE_IDENTIFIER_KEY + "}"", headers = [] )
open fun disconnectDevice(    @PathVariable(value = "id") userId: String,     @PathVariable(value = "device_id") disconnectingDeviceId: String,     @RequestHeader(value = "token") token: String,     @RequestHeader(value = "device_id") deviceId: String): String

Endpoint used to disconnect a device from the current session

Return

the result of the request as String

Parameters

userId

The identifier of the user

disconnectingDeviceId

The identifier of the device to disconnect

token

The token of the user

deviceId

The identifier of the device of the user