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.
Request
where
id
orusername
is mandatory, to refer to the entity being updatedattributes
object, if present, will replace the entire earlier object in the systemenabled
parameter is not permitted in the request. Useuseractivate()
anduserdeactivate()
instead, for audit and access control purposes.Response
On success, an empty object will be returned.
Reference : userupdate()