账号任务API接口
执行任务为异步运行
获取账号任务列表
http
GET /openapi/account/task
响应:Pagination<Task[]
>
检测账号
http
POST /openapi/account/check
请求体参数:
字段名 | 类型 | 可空 | 说明 |
---|---|---|---|
account_ids | number[] | 否 | 账号 ID 列表 |
请求体参数示例
json
{
"account_ids": [
1001,
1002
]
}
修改账号密码
http
POST /openapi/account/change-password
请求体参数:
字段名 | 类型 | 可空 | 说明 |
---|---|---|---|
account_ids | number[] | 否 | 账号 ID 列表 |
password | string | 否 | 新密码 |
请求体参数示例
json
{
"account_ids": [
1001
],
"password": "mrwwP$95J"
}
修改账号地区
http
POST /openapi/account/change-country
请求体参数:
字段名 | 类型 | 可空 | 说明 |
---|---|---|---|
account_ids | number[] | 否 | 账号 ID 列表 |
country | string | 否 | 地区码 |
请求体参数示例
json
{
"account_ids": [
1001
],
"country": "USA"
}
移除账号已登录设备
http
POST /openapi/account/remove-devices
请求体参数:
字段名 | 类型 | 可空 | 说明 |
---|---|---|---|
account_ids | number[] | 否 | 账号 ID 列表 |
请求体参数示例
json
{
"account_ids": [
1001
],
}
修改账号密保
http
POST /openapi/account/change-questions
请求体参数:
字段名 | 类型 | 可空 | 说明 |
---|---|---|---|
account_ids | number[] | 否 | 账号 ID 列表 |
questions | Question[] | 否 | 密保问题 |
请求体参数示例
json
{
"account_ids": [
1001
],
"questions": [
{
"question": "朋友",
"answer": "aaa"
},
{
"question": "工作",
"answer": "bbb"
},
{
"question": "父母",
"answer": "ccc"
}
]
}
修改账号姓名
http
POST /openapi/account/change-name
请求体参数:
字段名 | 类型 | 可空 | 说明 |
---|---|---|---|
account_ids | number[] | 否 | 账号 ID 列表 |
first_name | string | 否 | 名 |
last_name | string | 否 | 姓 |
请求体参数示例
json
{
"account_ids": [
1001
],
"first_name": "mr",
"last_name": "ww"
}