Skip to main content
PATCH
Update User
Update details of an existing user. Only fields provided in the request will be modified. Triggers webhook validation before updating.

Path Parameters

string
required
The unique ID of the user to update

Body Parameters

The body must contain an update object with one or more of the following fields
string
Updated full name
string
Updated username (will be sanitized and lowercased)
string
URL to the user’s new avatar image
string
Updated user biography
string
User’s birthdate in ISO 8601 format
object
Object with longitude and latitude properties
object
Custom public metadata
object
Custom secure metadata (used server-side but never returned in responses)

Response

string
User’s unique identifier
string
Updated username
string
User’s full name
string
URL to user’s avatar image
string
User’s biography
string
User’s birthdate in ISO 8601 format
object
object
Custom public metadata
array
Array of active suspensions (if any)

Error Responses


Notes

  • Requires authentication.
  • validateUserUpdated webhook is called before update.
  • secureMetadata is accepted but never returned.
  • suspensions are included in the response if active.
  • Location must be an object with longitude and latitude.