doDeleteSSEFiles
post
/ccadmin/v1/serverExtensions/deleteFiles
Do Delete SSEFiles. Delete one or more files by path
Request
Supported Media Types
- application/json
Query Parameters
-
restartExtensionServer(optional): boolean
If passed as false, then the extension server will not be restarted after deleting the extension
-
trackProgress(optional): boolean
If true, then the response will contain workRequestId which can be used to track the extension server restart status.
Root Schema : doDeleteSSEFiles_request
Type:
Show Source
object
-
paths:
array paths
Array of paths to delete. Paths must be files within a valid upload folder.
Example:
{
"paths":[
"/productReview.zip",
"/external%20ShippingCalculator.zip"
]
}
Nested Schema : paths
Type:
array
Array of paths to delete. Paths must be files within a valid upload folder.
Show Source
Response
Supported Media Types
- application/json
200 Response
Following model is returned when operation succeeds.
202 Response
The following model is returned when track progress query parameter is passed as true.
Root Schema : doDeleteSSEFile_response_accepted
Type:
Show Source
object
-
message(optional):
string
The message describing the status
-
workRequestId(optional):
string
The id of the restart request which can be used to track the extension server restart status.
Example Response (application/json)
{
"message":"The extension has been deleted. Please use the workRequestId to track the restart status.",
"workRequestId":"mblNhrQ2D2"
}
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|
|------------------|------------------|
|100307|One or more files could not be deleted.|
|14000|Extension Server could be down or not reachable. Please check your configuration or contact your system administrator.|
|13014|Missing required property: {0}.|
|100301|The paths parameter cannot be null.|
|100302|The paths parameter cannot be empty.|
Root Schema : errorModel
Type:
Show Source
object
-
devMessage(optional):
string
An optional non-localized message containing technical information for developers
-
errorCode(optional):
string
The numerical code identifying the error
-
errors(optional):
array errors
An optional list of errors if multiple errors were encountered
-
message(optional):
string
The localized message describing the error
-
moreInfo(optional):
string
An optional non-localized message with more information
-
o:errorPath(optional):
string
An optional machine readable description of where the error occurred
-
status(optional):
string
The HTTP status code
-
type(optional):
string
The URI to the HTTP state code definition
Nested Schema : errors
Type:
array
An optional list of errors if multiple errors were encountered
Show Source
Nested Schema : items
Type:
Show Source
object
-
devMessage(optional):
string
An optional non-localized message containing technical information for developers
-
errorCode(optional):
string
The numerical code identifying the error
-
message(optional):
string
The localized message describing the error
-
moreInfo(optional):
string
An optional non-localized message with more information
-
o:errorPath(optional):
string
An optional machine readable description of where the error occurred
-
status(optional):
string
The HTTP status code