Skip to main content
POST
/
users
/
update
Update user
curl --request POST \
  --url https://api.zochil.io/v3/monitoring/users/update \
  --header 'Content-Type: application/json' \
  --header 'access-token: <api-key>' \
  --data '
{
  "id": "<string>",
  "first_name": "<string>",
  "last_name": "<string>",
  "email": "jsmith@example.com",
  "phone": "<string>",
  "address": "<string>",
  "status": "<string>"
}
'

Authorizations

access-token
string
header
required

Body

application/json
id
string
required

User ID to update

first_name
string

Updated first name

last_name
string

Updated last name

email
string<email>

Updated email address

phone
string

Updated phone number

address
string

Updated address

status
string

Updated user status

Response

200

User updated successfully