Skip to main content
DELETE
/
core
/
users
/
me
Delete user
curl --request DELETE \
  --url https://api.enterprise.sandbox.uphold.com/core/users/me \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "review": {
    "reason": "closure-per-user-request",
    "note": "User requested account closure"
  }
}
'
Deleting a user is a sensitive action that must be taken with caution. It’s reversible but it will require a manual process to restore the user. The platform will not allow you to delete a user if they have pending transactions or a positive balance. In case of a positive balance, you must ask the user to withdraw their funds before proceeding with the deletion. If a deposit is received to an account of a deleted user, the funds will be kept captive and a manual process to release them will be required.

Authorizations

Authorization
string
header
required

OAuth 2.0 authentication.

Body

application/json
review
object
required

Response

User deleted.