cURL
curl --request PUT \ --url http://localhost:3000/v1/user/token/{token} \ --header 'Content-Type: application/json' \ --header 'X-Bunker-Token: <api-key>' \ --data '{ "name": "Alex" }'
{ "status": "ok", "token": "3c90c3cc-0d44-4b50-8888-8dd25736052a" }
Updates a user record. When using JSON, you can remove fields by setting their value to null. All changes are logged in the audit trail.
Root access token for Databunker API
User token (UUID)
The body is of type object.
object
User updated successfully
ok
"ok"