Skip to content

Latest commit

 

History

History
37 lines (25 loc) · 1.01 KB

File metadata and controls

37 lines (25 loc) · 1.01 KB
code type title description
true
page
UpdateSelfAsync
Updates the current user object in Kuzzle.

UpdateSelfAsync

Updates the current user object in Kuzzle.

Arguments

public async Task<JObject> UpdateSelfAsync(JObject content);
Argument Type Description
content
JObject
JObject representing the user content

Return

Return a JObject with the following properties:

Property Type Description
_id
string
User's kuid
_source
JObject
Additional (and optional) user properties

Exceptions

Throws a KuzzleException if there is an error. See how to handle error.

Usage

<<< ./snippets/update-self.cs