osc placement resource-provider inventory purge

Deletes all inventory records for the resource provider identified by {uuid}.

Troubleshooting

The request returns an HTTP 409 when there are allocations against the provider or if the provider’s inventory is updated by another thread while attempting the operation.

Normal Response Codes: 204

Error response codes: itemNotFound(404), conflict(409)

Usage: osc placement resource-provider inventory purge <UUID>

Arguments:

  • <UUID> — uuid parameter for /resource_providers/{uuid}/inventories/{resource_class} API