Update user
Changes the caller's name. Use me, or the caller's own ID; nobody changes anyone else's.
PATCH
Changes the caller's name. Use me, or the caller's own ID; nobody changes anyone else's.
bearerheader
AuthorizationBearer <token>An access token, or an API key.
user*stringThe user's ID, or me for the caller.
Match
^(me|usr_[0-7][0-9a-hjkmnp-tv-z]{25})$application/json- body
displayName?stringName shown in user interfaces.
Length
length <= 100OK
application/json- response
createTime*stringWhen the user first signed in.
Format
date-timedisplayName*stringName shown in user interfaces.
email*stringEmail address, as verified by the identity provider.
name*stringResource name, users/{user_id}.
curl -X PATCH 'https://api.kosem.ai/v1/users/string' \
-H 'Content-Type: application/json' \
-d '{}'Example Response
{
"createTime": "2019-08-24T14:15:22Z",
"displayName": "string",
"email": "string",
"name": "string"
}