cURL
curl --request POST \ --url http://localhost:3000/v2/UserDelete \ --header 'Content-Type: application/json' \ --header 'X-Bunker-Token: <api-key>' \ --data ' { "mode": "login", "identity": "<string>", "request_metadata": {} } '
{ "status": "ok" }
Deletes a user and their associated data
API token for authentication
Mode of user identification
login
token
email
phone
custom
User identifier corresponding to the mode
Additional metadata for the request
User deleted successfully
"ok"