Xsolla-logoXsolla Developers
前往发布商帐户

Update server custom ID for userServer-side

put/projects/{project_id}/users/{user_id}/server_custom_id

Updates server custom ID for a user.

SecurityServer
Request
path Parameters
user_id
required
string <uuid>

用户ID。您可以在发布商帐户 > 您的登录管理器项目 > 用户中找到它。

project_id
required
string <uuid>

发布商帐户中的登录管理器项目ID。

Request Body schema: application/json
server_custom_id
required
string or null <= 255 characters

Custom ID that already exists on your server. Must be unique for a Login project. Can include latin characters, digits, characters ".", “-”, and “_”.

Responses
204

No content

400

错误的请求

401

未授权

404

未找到

422

无法处理的实体

Request samples
application/json
{
  • "server_custom_id": "string"
}
Response samples
{
  • "error": {
    }
}