Creating an Order to Disable Dumping Connectors for an Instance
Function
This API is used to create an order to disable dumping connectors for an instance.
This API is out-of-date and may not be maintained in the future. Please use the API described in Disabling Smart Connect (Pay-per-Use Instance).
Call Method
For details, see How to Call an API.
URI
POST /v2/{project_id}/kafka/instances/{instance_id}/delete-connector-order
|
Parameter |
Mandatory |
Type |
Description |
|---|---|---|---|
|
project_id |
Yes |
String |
Project ID. For details, see Obtaining a Project ID. Minimum length: 1 Maximum length: 100 |
|
instance_id |
Yes |
String |
Instance ID. Minimum length: 1 Maximum length: 100 |
Request Parameters
|
Parameter |
Mandatory |
Type |
Description |
|---|---|---|---|
|
instance_id |
Yes |
String |
ID of the instance whose connector you want to disable, which is the same as that in the request path. |
|
url |
No |
String |
Page displayed after the order for disabling connector is submitted. |
Response Parameters
Status code: 200
|
Parameter |
Type |
Description |
|---|---|---|
|
order_id |
String |
Order ID generated by CBC. |
Example Request
POST https://{endpoint}/v2/{project_id}/kafka/instances/{instance_id}/delete-connector-order
{
"instance_id" : "20c6b355-5d95-45ef-b476-e38bcccce0d7",
"url" : "https://console.xxx.xxx.com/dms/?engine=all®ion=xxx&locale=xxx#/queue/manager/newKafkaList"
}
Example Response
Status code: 200
An order created to disable dumping connectors for an instance
{
"order_id" : "CS2304180947HLABU"
}
Status Code
|
Status Code |
Description |
|---|---|
|
200 |
An order to disable dumping connectors for an instance is created. |
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