Updated on 2023-06-12 GMT+08:00

Updating a User Nickname

Function

Updating a User Nickname

URI

PUT /v4/user

Request Parameters

Table 1 Request header parameters

Parameter

Mandatory

Type

Description

X-Auth-Token

Yes

String

User Token

Table 2 Request body parameters

Parameter

Mandatory

Type

Description

nick_name

Yes

String

Nickname of the user.

Response Parameters

Status code: 400

Table 3 Response body parameters

Parameter

Type

Description

error_msg

String

Description

error_code

String

Error Codes

Status code: 401

Table 4 Response body parameters

Parameter

Type

Description

error_msg

String

Description

error_code

String

Error Codes

Example Requests

PUT https://{endpoint}/v4/user

{
  "nick_name" : "Tom"
}

Example Responses

None

Status Codes

Status Code

Description

204

No Content

400

Bad Request

401

Unauthorized

Error Codes

See Error Codes.