cURL
curl --request POST \ --url http://localhost:3000/v2/UserDeleteRequest \ --header 'Content-Type: application/json' \ --header 'X-Bunker-Token: <api-key>' \ --data ' { "mode": "login", "identity": "<string>", "request_metadata": {} } '
{ "status": "ok", "requestuuid": "<string>" }
Creates a deletion request for a user (requires approval)
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 deletion request created successfully
"ok"
UUID of the deletion request