D黑奴背锅 文档中心
修仙 API角色
POST/business/xiuxian/player/change_nickname

修改角色名称(道号)。

Authorization

bearerAuth
AuthorizationBearer <token>

In: header

Request Body

application/json

TypeScript Definitions

Use the request body type in TypeScript.

Response Body

application/json

curl -X POST "https://example.com/business/xiuxian/player/change_nickname" \  -H "Content-Type: application/json" \  -d '{    "user_name": "string"  }'
{  "code": 0,  "message": "修改道号成功",  "data": {    "user_id": "b1_p1",    "user_name": "剑仙"  },  "time": 1779502528}