Skip to main content
PUT
/
v1
/
user
/
phone
/
{phone}
Update user by phone
curl --request PUT \
  --url http://localhost:3000/v1/user/phone/{phone} \
  --header 'Content-Type: application/json' \
  --header 'X-Bunker-Token: <api-key>' \
  --data '{}'
{
  "status": "ok",
  "token": "3c90c3cc-0d44-4b50-8888-8dd25736052a"
}

Documentation Index

Fetch the complete documentation index at: https://docs.databunker.org/llms.txt

Use this file to discover all available pages before exploring further.

Authorizations

X-Bunker-Token
string
header
required

Root access token for Databunker API

Path Parameters

phone
string
required

User phone number

Body

The body is of type object.

Response

User updated successfully

status
enum<string>
required
Available options:
ok
Example:

"ok"

token
string<uuid>