deleteCollection

delete

/ccadmin/v1/collections/{id}

Delete Collection. Delete a collection by ID.

Request

Supported Media Types
Path Parameters
Query Parameters
Back to Top

Response

Supported Media Types

204 Response

Following model is returned when operation succeeds.

Default Response

The error response. The following are the internal error codes thrown by this API when the request processing fails in Oracle Commerce Cloud: |Error Code|Description| |------------------|------------------| |20169|Internal Error| |20162|Attempted to delete a collection with child collections. Collections must have no children to be deleted| |20161|Collection Id is invalid or non-existent| |200228|Deletion of a root category is not allowed| |200225|Operation on collection is not allowed for the custom catalog|
Body ()
Root Schema : errorModel
Type: object
Show Source
Nested Schema : errors
Type: array
An optional list of errors if multiple errors were encountered
Show Source
Nested Schema : items
Type: object
Show Source
Back to Top