Remove a catalog item

delete

/rest/ofscPartsCatalog/v1/catalogs/{catalog}/{language}/{itemLabel}

This operation deletes a catalog item with the specified catalog label, specified language, and the specified item label.

The Parts Catalog service is modified to manage the updates internally so that it does not cause constant catalog redistribution to the technician devices. All the incremental updates to the catalog are collected and applied after a certain period of time, which could take up to 4 hours.

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
Show Source
Back to Top

Examples

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

Request Example

curl -u 'clientID@instanceName:clientSecret' \ -X DELETE \ --url 'https://<instance_name>.fs.ocs.oraclecloud.com/rest/ofscPartsCatalog/v1/catalogs/my_catalog/en/RG5-7691-250CN' \ -H 'Content-Type: application/json' -H 'Accept: application/json'

Response Header Example

The following shows an example of the response header.

HTTP/1.1 200 OK
Server: nginx
Date: Thu, 07 Feb 2019 16:28:18 GMT
Content-Type: application/json; charset=utf-8
Connection: close

Response Body Example

204 Response
Operation completed successfully
Back to Top