Deleting security group default rules
DELETE /v2.0/default-security-group-rules/{default_security_group_rule_id}
Delete a security group rule template.
Source: https://docs.openstack.org/api-ref/network/v2/index.html#delete-security-group-default-rule
Request
Parameters
Name | In | Type | Description |
---|---|---|---|
security_group_rule_id
|
path | string | The ID of the security group rule. |
Example
# curl -ks -X DELETE -H 'Content-Type: application/json' -H 'X-Auth-Token: gAAAAA<...>' \ https://<node_IP_addr>:9696/v2.0/default-security-group-rules/eb8ad926-f5c9-4371-b35f-e69563b695ac
Response
Status codes
Success
Code | Reason |
---|---|
204 - No Content
|
The server has fulfilled the request. |
Error
Code | Reason |
---|---|
401 - Unauthorized
|
User must authenticate before making a request. |
404 - Not Found
|
The requested resource could not be found. |
412 - Precondition Failed
|
The server does not meet one of the preconditions that the requester put on the request header fields. |