Delete an Inventory

delete

/rest/ofscCore/v1/inventories/{inventoryId}

This operation deletes the specified inventory.

Request

Path Parameters
Back to Top

Response

Supported Media Types

204 Response

This response code indicates that the operation completed successfully. This operation does not return elements in the response body.

Default Response

This section describes the default error response for this operation.
Body ()
Root Schema : Error
Type: object
Error response
Show Source
Back to Top

Examples

The following example shows how to delete inventory by submitting a DELETE request on the REST resource:

Example of Request Header

The following shows an example of the request header.

DELETE /rest/ofscCore/v1/inventories/21258546 HTTP/1.0
Authorization: Basic c29hcEB5YW1hdG86MQ==
Host: etadev1f
Accept: */*

Example of Response Header

The following shows an example of the response header.

HTTP/1.1 204 No Content
Server: nginx/1.6.2
Date: Fri, 24 Jul 2015 08:35:48 GMT
ContentType:
application/json?? charset=utf8
Connection: close
Back to Top