Actions98
- Auto Reply Actions
- Chat Actions
- Contact Actions
- Group Actions
- Label Actions
- Message Actions
- Media Actions
- Notification Actions
- Profile Actions
- Scheduler Actions
- Session Actions
- Status Update Actions
- System Actions
- User Actions
- Webhook Actions
User → Update
AI-generatedSummary
Update a user's metadata
Inputs
- userId (required) — Internal ID of the user to update, e.g. "usr_123xyz"
- userData — Array of key-value pairs defining user metadata; each item has 'name' and 'value' fields
Output shape
a single updated user object
The operation returns the API response representing the updated user; no pagination or error envelope is wrapped.
Examples
Example 1: Update user metadata with a single property
{"resource":"User","operation":"Update","userId":"usr_123xyz","userData":[{"name":"role","value":"admin"}]}
Example 2: Update user with multiple metadata entries
{"resource":"User","operation":"Update","userId":"usr_98765","userData":[{"name":"department","value":"HR"},{"name":"status","value":"active"}]}
Example 3: Update user with no metadata changes
{"resource":"User","operation":"Update","userId":"usr_55555","userData":[]}