- Docs
- Api%2Freference%2Fwallets%2FDeleteWallet
Delete my wallet
Close the signed-in account for good. Every session ends and every API key it created is revoked, so nothing is left that can act as this person. This cannot be undone. Objects they own are not deleted — transfer anything that matters to another account first, or it will be left with an owner who no longer has an account. Requires the `wallets.delete` permission.
The access token returned after a successful sign-in, sent as
Authorization: Bearer <access_token>.
It identifies the person and the organization they are working in, and
it lasts about fifteen minutes. When it runs out, use their refresh
token at POST /auth/refresh-token instead of asking them to sign in
again.
In: header
Response Body
application/json
application/json
application/json
application/json
curl -X DELETE "https://api.dual.network/wallets/me"{}{
"code": 3,
"message": "Key: 'limit' Error:Field validation for 'limit' failed on the 'lte' tag"
}{
"code": 16,
"message": "no auth provided"
}{
"code": 13,
"message": "internal error"
}