Deleting an Enterprise Switch
Function
This API is used to delete an enterprise switch if you no longer need it.
Authorization Information
Each account has all the permissions required to call all APIs, but IAM users must be assigned the following required identity policy-based permissions. For details about the required permissions, see Permissions Policies and Supported Actions.
|
Action |
Access Level |
Resource Type (*: required) |
Condition Key |
Alias |
Dependencies |
|---|---|---|---|---|---|
|
esw:instance:delete |
Write |
- |
- |
- |
- |
URI
DELETE /v3/{project_id}/l2cg/instances/{instance_id}
|
Parameter |
Mandatory |
Type |
Description |
|---|---|---|---|
|
instance_id |
Yes |
String |
|
|
project_id |
Yes |
String |
|
Request Parameters
None
Response Parameters
Status code: 204
The DELETE operation is successful. For more status codes, see Status Codes.
None
Example Requests
DELETE https://{endpoint}/v3/b2782e6708b8475c993e6064bc456bf8/l2cg/instances/1800017b-941d-4c08-8509-40c6d102a662
Example Responses
None
Status Codes
|
Status Code |
Description |
|---|---|
|
204 |
The DELETE operation is successful. For more status codes, see Status Codes. |
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