Parameters
user
dictionary
first_name
string
Description
first name of the user.
last_name
string
Description
last name of the user.
profile_pic
string
Description
profile picture URL of the user.
PATCH/v1/users/{{user_id}}
bash
curl https://api.tradly.app/v1/users/{{user_id}} \
-H "Authorization: Bearer YOUR_PUBLISHABLE_OR_SECRET_KEY" \
-H "Content-Type: application/json" \
-X PATCH \
-d '{
"user": {
"first_name": "Charles",
"last_name": "Pearson",
"profile_pic": "https://cdn.icon-icons.com/icons2/1378/PNG/512/avatardefault_92824.png"
}
}'RESPONSE
json
{
"status": true,
"data": {
"user": {
"id": "uuid"
}
}
}