Core resources
Update a user
Changed onpatch/users/{id}
Request
- Base URLhttps://core.sivo.com
- Auth
- API key in header Authorization
- or OAuth 2Authorization codehttps://dashboard.sivo.com/oauth/authorizeClient credentialsToken URLhttps://core.sivo.com/oauth/token
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Path parameters
idstring required
An object id with prefix
Example:user_0123456789ABCDEFGHIJKLMNOPq
Headers
if-matchstring date-time required
ETag value for Optimistic Concurrency Control (OCC). Should contain the last known updated_at timestamp in ISO 8601 format.
Example:2024-01-15T10:30:00Z
Request body
Example request
{
"picture": "https://www.acme.com",
"zoneinfo": "America/New_York",
"locale": "en-US"
}Response
Successful operation
Example response
{
"picture": "https://www.acme.com",
"zoneinfo": "America/New_York",
"locale": "en-US",
"email": "email@domain.com",
"phone_number": "+14155551234",
"id": "user_0123456789ABCDEFGHIJKLMNOPq",
"created_at": "2024-01-15T10:30:00Z",
"created_by": "user_0123456789ABCDEFGHIJKLMNOPq",
"updated_at": "2024-01-15T10:30:00Z",
"updated_by": "user_0123456789ABCDEFGHIJKLMNOPq"
}Changes
- warning
removed the request property
- warning
removed the request property
- info
the
response's property pattern was changed from^[a-z]{3,7}_[0-9A-Za-z]{27}$to^[0-9A-Za-z_-]{1,255}$for the status - info
the
response's property pattern was changed from^[a-z]{3,7}_[0-9A-Za-z]{27}$to^[0-9A-Za-z_-]{1,255}$for the status
- warning