---
title: "调整账号排序"
method: PATCH
path: "/api/v2/channels/account-groups/{groupId}/accounts/rank"
tags: ["渠道管理/账号分组"]
---

# 调整账号排序

`PATCH /api/v2/channels/account-groups/{groupId}/accounts/rank`

接口说明：更新指定分组内的账号排序。

## Path parameters

- `groupId` string, required

## Request body

- object
  - `list` object[], required — 排序列表
    - `id` string, required — 账号 ID
    - `rank` number, required — 排序值

## Response `200`

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

- object
  - `data` unknown
  - `code` integer, required — 业务状态码。0 表示成功，非 0 表示业务错误。
  - `message` string, required — 响应消息。
  - `requestId` string — 请求 ID。
  - `timestamp` integer — 错误响应时间戳，Unix 毫秒。

---

[API](https://skmtc.net/aitoearn/apis/aitoearn-api.md) · [All operations](https://skmtc.net/aitoearn/apis/aitoearn-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/aitoearn/aitoearn-api/revisions/19d860d9260d/schema)
