Skip to main content
PUT
/
api
/
v1
/
dt
/
user
/
status
Control User
curl --request PUT \
  --url https://api.example.com/api/v1/dt/user/status \
  --header 'Content-Type: application/json' \
  --data '
{
  "uuid": "e69da788a6c841d4953c475fc42bf464",
  "platform_id": "AXTES",
  "username": "player001",
  "type": "1",
  "key": "abc123hash"
}
'
{
  "error": {
    "code": 0,
    "msg": "Success",
    "uuid": "e69da788a6c841d4953c475fc42bf464"
  }
}
CodeDescription
0Success
2Invalid parameter
19Request limit reached
20Secret key error
21Invalid username
25Type parameter error
36Server error
9999Unknown error

Body

application/json
uuid
string
required

Platform-defined unique request serial number

platform_id
string
required

Platform product ID

username
string
required

User account in game

type
string
required

Control type: 0 - Enable, 1 - Disable (force disconnect online users), 2 - Suspend (online users will not be forced to disconnect)

key
string
required

md5(type + username + platform_secret)

Response

Success

error
object