placement/releasenotes/notes/delete-inventories-placement-api-13582910371308c4.yaml
Rafael Folco df9af212c2 DELETE all inventory for a resource provider
This patch adds a new method for deleting all inventories for a
resource provider: DELETE /resource-providers/{uuid}/inventories

Return codes:
204 NoContent on success
404 NotFound if the resource provider does not exist
405 MethodNotAllowed if a microversion is specified that is before
    this change (1.5)
409 Conflict if inventory in use or if some other request concurrently
    updates this resource provider

Change-Id: I1ecb12c888f873e8330367c8411d5a2ef0458495
Implements: bp delete-inventories-placement-api
2017-03-20 14:00:33 +00:00

19 lines
522 B
YAML

---
features:
- |
Supports a new method for deleting all inventory for a
resource provider
* DELETE /resource-providers/{uuid}/inventories
Return codes
* 204 NoContent on success
* 404 NotFound for missing resource provider
* 405 MethodNotAllowed if a microversion is specified that is before
this change (1.5)
* 409 Conflict if inventory in use or if some other request concurrently
updates this resource provider
Requires OpenStack-API-Version placement 1.5