【前台账号】启用/禁用¶
POST /api/v1/account/set-disable
概述¶
Body 请求参数¶
参数名 | 类型 | 必选 | 说明 |
---|---|---|---|
accountUUIDs | array | Y | 账号UUID 例子: ['acnt_xxxx', 'acnt_yyyy'] 允许为空: False |
isDisable | boolean | Y | 是否禁用, true禁用, false启用 例子: True 允许为空: False 可选值: [True, False] |
参数补充说明¶
请求例子¶
curl '<Endpoint>/api/v1/account/set-disable' \
-H 'Content-Type: application/json' \
-H 'X-Df-Access-Key: <AK key>' \
-H 'X-Df-Nonce: <随机字符>' \
-H 'X-Df-Signature: <签名>' \
-H 'X-Df-Timestamp: <时间戳>' \
--data-raw $'{"accountUUIDs": ["acnt_a95702ad60d04209b3ba42650e75c8a8"],"isDisable": true}'