Comment 0 for bug 1477934

Revision history for this message
Yoshinori Iwamoto (iwamoto-y) wrote :

Networking API v2.0 extensions (CURRENT)
Delete network
http://developer.openstack.org/api-ref-networking-v2-ext.html#deleteSecGroup

Error response code "conflict (409)" is missing.

Current document:
Error response codesunauthorized (401), itemNotFound (404)

409 error example:
---
$ curl -g -i -X DELETE http://localhost:9696/v2.0/security-groups/28f39681-8cd5-4aef-9560-66562fc7d8b3.json -H "Accept: application/json" -H "X-Auth-Token: xxxxx"
HTTP/1.1 409 Conflict
Content-Type: application/json; charset=UTF-8
Content-Length: 136
X-Openstack-Request-Id: req-3150d78b-1c38-4608-88bf-7576eb4bb0ae
Date: Fri, 24 Jul 2015 10:11:46 GMT

{"NeutronError": {"message": "Security Group 28f39681-8cd5-4aef-9560-66562fc7d8b3 in use.", "type": "SecurityGroupInUse", "detail": ""}}
---