Skip to main content
PATCH
/
api
/
v1
/
users
/
{user_id}
curl -X PATCH "https://api.openwearables.com/api/v1/users/123e4567-e89b-12d3-a456-426614174000" \
  -H "Authorization: Bearer your_developer_token" \
  -H "Content-Type: application/json" \
  -d '{
    "first_name": "Jane",
    "email": "[email protected]"
  }'
{
  "id": "123e4567-e89b-12d3-a456-426614174000",
  "created_at": "2024-01-15T10:30:00Z",
  "first_name": "Jane",
  "last_name": "Doe",
  "email": "[email protected]",
  "external_user_id": "ext_user_12345"
}

Authentication

This endpoint requires developer authentication. Developer credentials provide elevated privileges for modifying user data.

Path Parameters

user_id
string
required
The unique UUID identifier of the user to update

Request Body

All fields are optional. Only provide the fields you want to update.
first_name
string
User’s first name. Maximum 100 characters.
last_name
string
User’s last name. Maximum 100 characters.
email
string
User’s email address. Must be a valid email format.
external_user_id
string
External system identifier for the user.

Response

Returns the updated user object with all current field values.
id
string
Unique UUID identifier for the user
created_at
string
ISO 8601 timestamp of when the user was created
first_name
string
User’s first name
last_name
string
User’s last name
email
string
User’s email address
external_user_id
string
External system identifier for the user
curl -X PATCH "https://api.openwearables.com/api/v1/users/123e4567-e89b-12d3-a456-426614174000" \
  -H "Authorization: Bearer your_developer_token" \
  -H "Content-Type: application/json" \
  -d '{
    "first_name": "Jane",
    "email": "[email protected]"
  }'
{
  "id": "123e4567-e89b-12d3-a456-426614174000",
  "created_at": "2024-01-15T10:30:00Z",
  "first_name": "Jane",
  "last_name": "Doe",
  "email": "[email protected]",
  "external_user_id": "ext_user_12345"
}

Build docs developers (and LLMs) love