Users
Replace a user's metadata
Replace a user's metadata attributes with the provided values.
Unlike PATCH /v1/users/{user_id}/metadata (merge semantics), this endpoint replaces the supplied metadata columns entirely — the prior contents of each supplied column are discarded. Columns omitted from the request body are left unchanged.
Prefer the PATCH endpoint for partial updates. Use PUT only when you explicitly intend to overwrite a metadata column wholesale.
put/users/{user_id}/metadata
Path parameters
user_idstring required
The ID of the user whose metadata will be replaced
Request body
Response
Success
Example response
{
"last_active_at": 1700690400000,
"legal_accepted_at": 1700690400000
}