identityDelete

suspend fun identityDelete(call: ApplicationCall)

Handles delete POST request.

Deletes an identity with the given token (encrypted id - see tokenToId) from the storage.

Request format:

{
"token": "...."
}

Response format:

{
"deleted": <boolean>
}