delete Account
Deletes an account's recovery registration from the server.
Permanently removes the account's recovery configuration. This operation is irreversible. The server returns the account details as they were before deletion.
Return
Sep30AccountResponse with the account details before deletion
Parameters
address
The Stellar account address to delete
jwt
SEP-10 authentication token
Throws
If the request is malformed (HTTP 400)
If the JWT token is invalid or expired (HTTP 401)
If the account is not registered (HTTP 404)
If there is a conflict during deletion (HTTP 409)
If the server returns HTTP 200 with a malformed body
If the server returns an unexpected HTTP status code
Example:
val deletedAccount = sep30.deleteAccount("GABC...", jwtToken)
println("Deleted account: ${deletedAccount.address}")Content copied to clipboard