このページは、お客様の言語ではご利用いただけません。Huawei Cloudは、より多くの言語バージョンを追加するために懸命に取り組んでいます。ご協力ありがとうございました。
- What's New
- Service Overview
- Billing
- Getting Started
- User Guide
- API Reference
- FAQs
- Videos
- General Reference
Copied.
Resetting Instances in Batches
Function
This API is used to reset instances in batches.
Before calling this API, ensure that the tenant has purchased a KooPhone cloud phone instance.
After this API is called, the current instances will be initialized.
URI
POST /v1/instances/batch-reset
Request Parameters
Parameter |
Mandatory |
Type |
Description |
---|---|---|---|
x-request-id |
Yes |
String |
Unique ID of a request. |
X-Auth-Token |
Yes |
String |
Tenant-level token. |
Parameter |
Mandatory |
Type |
Description |
---|---|---|---|
instance_ids |
Yes |
Array of strings |
Instance list. |
Response Parameters
Status code: 200
Parameter |
Type |
Description |
---|---|---|
error_code |
String |
Response code, which can be KOOPHONE.API.xxxx or common.00000xxx. |
error_msg |
String |
Response description. |
Status code: 400
Parameter |
Type |
Description |
---|---|---|
error_code |
String |
Response code, which can be KOOPHONE.API.xxxx or common.00000xxx. |
error_msg |
String |
Response description. |
Status code: 500
Parameter |
Type |
Description |
---|---|---|
error_code |
String |
Response code, which can be KOOPHONE.API.xxxx or common.00000xxx. |
error_msg |
String |
Response description. |
Example Requests
/v1/instances/batch-reset { "instance_ids" : [ "a44uhlf7", "efjy72gs" ] }
Example Responses
Status code: 200
Normal response.
{ "error_code" : "0", "error_msg" : "ok" }
Status Codes
Status Code |
Description |
---|---|
200 |
Normal response. |
400 |
Bad Request |
500 |
Internal Server Error |
Error Codes
See Error Codes.
Feedback
Was this page helpful?
Provide feedbackThank you very much for your feedback. We will continue working to improve the documentation.See the reply and handling status in My Cloud VOC.
For any further questions, feel free to contact us through the chatbot.
Chatbot