Endpoint
Request Body
The ID of the user whose metadata you want to update.
A JSON object containing the metadata fields to update or add. This will be shallow-merged with existing metadata.
Request Example
Response
Always returns
"OK"The complete metadata object after the update has been applied.
Response Example
Implementation Details
Source: View source- This API requires public tenant access
- Metadata updates are performed as a shallow merge
- New fields are added
- Existing fields are updated
- Fields not in
metadataUpdateremain unchanged
- User ID mapping is automatically handled for app-specific queries
- Returns the complete, updated metadata object
Merge Behavior Example
If existing metadata is:Use Cases
- Store user preferences and settings
- Save custom profile information
- Track user-specific application state
- Maintain feature flags per user
Related Endpoints
Get User Metadata
Retrieve existing metadata for a user