osc placement resource-provider inventory delete

Delete the inventory record of the {resource_class} for the resource provider identified by {uuid}.

See Troubleshooting section in Delete resource provider inventories for a description. In addition, the request returns HTTP 409 when there are allocations for the specified resource provider and resource class.

Normal Response Codes: 204

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

Usage: osc placement resource-provider inventory delete <UUID> <RESOURCE_CLASS>

Arguments:

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