updateCurrentUser

Updates user information.

This method supports partial updating, only those fields of the object that you specify in the request body will be changed.

Request

PATCH https://api.bytehand.com/v2/users/current

Body

An object of the type UserSeed is required in the request body.

Authorization

Requires authorization and access right profile_manage.

Response

Upon successful completion of the request, an object of type Response is returned.

Example

Request

PATCH https://api.bytehand.com/v2/users/current

Content-Type: application/json;charset=UTF-8
X-Service-Key: ZO0XJngUXZKjlcFNpzXBbw4UriheYwlc

{
  "given_name": "John",
  "family_name": "Smith"
}

Response

Status Code: 200
Content-Type: application/json;charset=UTF-8
Cache-Control: no-cache, no-store, max-age=0, must-revalidate
Pragma: no-cache

{
  "result": "updated",
  "id": "82136",
  "count": 1
}