DeleteAccountRequest

data class DeleteAccountRequest(account: String, server: Boolean?) : SignaldRequestBodyV1<EmptyResponse>

delete all account data signald has on disk, and optionally delete the account from the server as well. Note that this is not "unlink" and will delete the entire account, even from a linked device.

Constructors

DeleteAccountRequest
Link copied to clipboard
common
fun DeleteAccountRequest(account: String, server: Boolean? = null)

Functions

submit
Link copied to clipboard
common
fun submit(socketCommunicator: SocketCommunicator): EmptyResponse
submitSuspend
Link copied to clipboard
common
suspend fun submitSuspend(socketCommunicator: SuspendSocketCommunicator): EmptyResponse

Properties

account
Link copied to clipboard
common
val account: String
The account to deleteExample: "+12024561414"
id
Link copied to clipboard
common
val id: String
The id to include in the request.
server
Link copied to clipboard
common
val server: Boolean? = null
delete account information from the server as well (default false)
version
Link copied to clipboard
common
val version: String
The version to include in the request.