code | type | title | description |
---|---|---|---|
true |
page |
UpdateSelfAsync |
Updates the current user object in Kuzzle. |
Updates the current user object in Kuzzle.
public async Task<JObject> UpdateSelfAsync(JObject content);
Argument | Type | Description |
---|---|---|
content |
JObject |
JObject representing the user content |
Return a JObject with the following properties:
Property | Type | Description |
---|---|---|
_id |
string |
User's kuid |
_source |
JObject |
Additional (and optional) user properties |
Throws a KuzzleException
if there is an error. See how to handle error.
<<< ./snippets/update-self.cs