Skip to main content
PATCH
/
user-resource
/
user
/
profile
Modify Profile Info
curl --request PATCH \
  --url https://api.tenbytecloud.com/v1/user-resource/user/profile \
  --header 'Content-Type: application/x-www-form-urlencoded' \
  --header 'apikey: <api-key>' \
  --data 'first_name=<string>' \
  --data 'last_name=<string>' \
  --data 'phone_number=<string>' \
  --data 'personal_id_number=<string>'
{
  "avatar": "https://s.gravatar.com/avatar/bbb",
  "created_at": "2018-10-25 11:02:59",
  "email": "user@example.com",
  "first_name": "Cloudia",
  "id": 22,
  "last_name": "Iaas",
  "personal_id_number": "123456",
  "phone_number": "+98765",
  "updated_at": "2021-05-18 11:07:00",
  "user_id": 8
}

Authorizations

apikey
string
header
required

Body

application/x-www-form-urlencoded
first_name
string

First name

last_name
string

Last name

phone_number
string

Phone number in any format

personal_id_number
string

Personal identity number, usually issued by the state

Response

200 - application/json

Updated profile

The response is of type object.