code | type | title | description |
---|---|---|---|
true |
page |
updateSelf |
Updates the current user object in Kuzzle. |
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 |
Additional query options
Property | Type (default) |
Description |
---|---|---|
queuable |
boolean ( true ) |
If true, queues the request during downtime, until connected to Kuzzle again |
A User representing the current user logged with the SDK.
<<< ./snippets/update-self.js