Skip to content

Latest commit

 

History

History
41 lines (27 loc) · 1.21 KB

File metadata and controls

41 lines (27 loc) · 1.21 KB
code type title description
true
page
updateSelf
Updates the current user object in Kuzzle.

updateSelf

Updates the currently logged in user content.

This route cannot update the list of associated security profiles. To change a user's security profiles, the route security:updateUser must be used instead.


updateSelf(content, [options]);

Arguments Type Description
content
object
User custom information
options
object
Query options

options

Additional query options

Property Type
(default)
Description
queuable
boolean

(true)
If true, queues the request during downtime, until connected to Kuzzle again

Resolves

A User representing the current user logged with the SDK.

Usage

<<< ./snippets/update-self.js