curl --request PATCH \
--url https://api.example.com/v1/users/me \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"first_name": "<string>",
"last_name": "<string>",
"phone": "<string>",
"organization": "<string>"
}
'{
"data": {
"id": "01K8PU01AJ0T77HRYE78AN7AAA",
"email": "logan@example.com",
"first_name": "John",
"last_name": "Johnson",
"plan": "pro",
"cases_limit": 50,
"cases_count": 12,
"phone": "+11112223333",
"organization": "Johnson Estate Services",
"role": "owner",
"created_at": "2023-11-07T05:31:56Z",
"updated_at": "2023-11-07T05:31:56Z"
}
}Update the current user’s profile information.
curl --request PATCH \
--url https://api.example.com/v1/users/me \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"first_name": "<string>",
"last_name": "<string>",
"phone": "<string>",
"organization": "<string>"
}
'{
"data": {
"id": "01K8PU01AJ0T77HRYE78AN7AAA",
"email": "logan@example.com",
"first_name": "John",
"last_name": "Johnson",
"plan": "pro",
"cases_limit": 50,
"cases_count": 12,
"phone": "+11112223333",
"organization": "Johnson Estate Services",
"role": "owner",
"created_at": "2023-11-07T05:31:56Z",
"updated_at": "2023-11-07T05:31:56Z"
}
}