deleteLayout

delete

/ccadmin/v1/layouts/{id}

Delete Layout. Deletes a layout

Request

Supported Media Types
Path Parameters
Header Parameters
  • The ID of the workset that this change will appear in. If this header is missing, the change will be made in the default workset.
Back to Top

Response

Supported Media Types

200 Response

Following model is returned when operation succeeds.

400 Response

Error response thrown when cannot retrieve a layout.
Body ()
Root Schema : deleteLayout_failureResponse
Type: object
Show Source
Example Response (application/json)
{
    "errorCode":"32010",
    "message":"The specified layout {id} does not exist",
    "status":"400"
}

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| |------------------|------------------| |32017|Error deleting layout. ({0})| |32001|Error retrieving the layout by its ID.| |32010|The specified layout does not exist| |32018|Specified layout is set as default. Unable to delete.|
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