跳转到主要内容
PATCH
/
api
/
v2
/
channels
/
account-groups
/
{groupId}
/
accounts
/
rank
调整账号排序
curl --request PATCH \
  --url https://aitoearn.cn/api/v2/channels/account-groups/{groupId}/accounts/rank \
  --header 'Content-Type: application/json' \
  --header 'X-Api-Key: <api-key>' \
  --data '
{
  "list": [
    {
      "id": "<string>",
      "rank": 123
    }
  ]
}
'
{
  "code": 0,
  "message": "请求成功",
  "data": "string"
}

授权

X-Api-Key
string
header
必填

AiToEarn Open Platform API Key。

路径参数

groupId
string
必填

分组 ID

请求体

application/json
list
object[]
必填

排序列表

响应

200 - application/json

请求已被服务处理。业务是否成功以响应体 code === 0 为准。

code
integer
必填

业务状态码。0 表示成功,非 0 表示业务错误。

message
string
必填

响应消息。

data
any
requestId
string

请求 ID。

timestamp
integer

错误响应时间戳,Unix 毫秒。