Deleting a Security Group Rule
Function
You can call this API to delete a security group rule that is no longer used.
Calling Method
For details, see Calling APIs.
URI
DELETE /v3/{project_id}/vpc/security-group-rules/{security_group_rule_id}
| 
         Parameter  | 
       
         Mandatory  | 
       
         Type  | 
       
         Description  | 
      
|---|---|---|---|
| 
         project_id  | 
       
         Yes  | 
       
         String  | 
       
        
  | 
      
| 
         security_group_rule_id  | 
       
         Yes  | 
       
         String  | 
       
        
  | 
      
Request Parameters
None
Response Parameters
Status code: 204
Normal response to the DELETE operation. For more status codes, see Status Codes.
None
Example Requests
Delete the security group rule whose ID is f626eb24-d8bd-4d26-ae0b-c16bb65730cb.
DELETE https://{Endpoint}/v3/{project_id}/vpc/security-group-rules/f626eb24-d8bd-4d26-ae0b-c16bb65730cb
  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.