調用MoveAccount將成員移動到另一個資源夾。
調試
您可以在OpenAPI Explorer中直接運行該接口,免去您計算簽名的困擾。運行成功后,OpenAPI Explorer可以自動生成SDK代碼示例。
授權信息
當前API暫無授權信息透出。
請求參數
名稱 | 類型 | 必填 | 描述 | 示例值 |
---|---|---|---|---|
AccountId | string | 是 | 需要移動的賬號 ID。 | 12323344**** |
DestinationFolderId | string | 是 | 目標資源夾 ID。 | fd-bVaRIG**** |
返回參數
示例
正常返回示例
JSON
格式
{
"RequestId": "9B34724D-54B0-4A51-B34D-4512372FE1BE"
}
錯誤碼
HTTP status code | 錯誤碼 | 錯誤信息 | 描述 |
---|---|---|---|
400 | MissingParameter.AccountId | You must specify AccountId. | AccountId不能為空。 |
400 | InvalidParameter.AccountId | The AccountId is invalid. | 成員ID無效,請輸入16位賬號ID。 |
400 | MissingParameter.DestinationFolderId | You must specify DestinationFolderId. | 目標資源夾ID缺失,請指定目標ID。 |
400 | InvalidParameter.DestinationFolderId | The DestinationFolderId is invalid. | 目標資源夾ID無效,資源夾ID應以“r-”開頭+6位數字或英文字母或以“fd-”開頭+10位數字或英文字母。 |
404 | EntityNotExists.Account | This resource directory account does not exist. | 成員不存在,請先創建成員。 |
404 | EntityNotExists.ResourceDirectory | The resource directory for the account is not enabled. We recommend that you first enable the resource directory for the account. | 當前賬號未啟用資源目錄,請先啟用資源目錄。 |
404 | EntityNotExists.Folder | The resource directory folder does not exist. | 資源夾不存在,請先創建資源夾。 |
409 | AccountTypeOrStatusMismatch | You cannot perform the action on the member account. | 成員類型或狀態不匹配。 |
訪問錯誤中心查看更多錯誤碼。
變更歷史
變更時間 | 變更內容概要 | 操作 |
---|
暫無變更歷史