PATCH
/
user
/
curl --request PATCH \
  --url https://api.letraz.app/api/v1/user/ \
  --header 'Authorization: Basic <encoded-value>' \
  --header 'Content-Type: application/json' \
  --data '{
  "title": "<string>",
  "first_name": "<string>",
  "last_name": "<string>",
  "email": "jsmith@example.com",
  "phone": "<string>",
  "dob": "2023-12-25",
  "nationality": "<string>",
  "address": "<string>",
  "city": "<string>",
  "postal": "<string>",
  "website": "<string>",
  "profile_text": "<string>",
  "country": "<string>"
}'
{
  "id": "<string>",
  "title": "<string>",
  "first_name": "<string>",
  "last_name": "<string>",
  "email": "jsmith@example.com",
  "phone": "<string>",
  "dob": "2023-12-25",
  "nationality": "<string>",
  "address": "<string>",
  "city": "<string>",
  "postal": "<string>",
  "country": {
    "code": "<string>",
    "name": "<string>"
  },
  "website": "<string>",
  "profile_text": "<string>",
  "created_at": "2023-11-07T05:31:56Z",
  "updated_at": "2023-11-07T05:31:56Z"
}

Authorizations

Authorization
string
header
required

Basic authentication header of the form Basic <encoded-value>, where <encoded-value> is the base64-encoded string username:password.

Body

Response

201
application/json

The response is of type object.