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