Project

General

Profile

Task #17920

WSC: userupdate()

Added by Sachin Divekar about 1 year ago. Updated about 1 year ago.

Status:
New
Priority:
Normal
Assignee:
-
Start date:
Due date:
% Done:

0%

Estimated time:

Description

Request

{
  "id": "df84nsd...",
  "username": "johns",
  "email": "john@example.com",
  "firstName": "John",
  "lastName": "Smith",
  "emailVerified": true,
  "attributes": {
    "vendor": true
  },

where

  • id or username is mandatory, to refer to the entity being updated
  • the rest of the fields are optional, and only those values which need to be updated will be present. The attributes object, if present, will replace the entire earlier object in the system
  • the enabled parameter is not permitted in the request. Use useractivate() and userdeactivate() instead, for audit and access control purposes.

Response

On success, an empty object will be returned.

Reference : userupdate()

Also available in: Atom PDF