Deleting a Security Group
Function
This API is used to delete a security group.
Constraints
Before deleting a security group, ensure that the security group is not associated with any instance.
Debugging
You can debug this API through automatic authentication in API Explorer.
URI
DELETE /v3/{project_id}/vpc/security-groups/{security_group_id}
Parameter |
Mandatory |
Type |
Description |
---|---|---|---|
project_id |
Yes |
String |
Project ID. For details about how to obtain a project ID, see Obtaining a Project ID. |
security_group_id |
Yes |
String |
Security group ID. |
Request Parameters
None
Response Parameters
None
Example Requests
Deleting a security group.
DELETE https://{Endpoint}/v3/{project_id}/vpc/security-groups/1d8b19c7-7c56-48f7-a99b-4b40eb390967
Example Responses
None
Status Codes
Status Code |
Description |
---|---|
204 |
Normal response to the DELETE operation. 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