Delete Files (v3)

The Delete Files (v3) REST API deletes a file from the repository. This topic describes the simplified v3 version of this REST API. This version contains all parameters in the payload and does not require URL encoding while calling the REST APIs. This makes the v3 API easier to use. This API is backwards compatible.

Filenames that use a backslash \ as path separators must be handled using escape characters; for example, using \\ as the value for \ (the file separator). For a file named inbox\file1.csv, pass it as inbox\\file1.csv.

For more information on deleting files, see EPM Automate Commands in Working with EPM Automate for Oracle Enterprise Performance Management Cloud.

This API is v3.

Required Roles

Service Administrator

Power User assigned to the Migration Administrator Profitability and Cost Management application role

REST Resource

POST /interop/rest/v3/files/delete


Before using the REST resources, you must understand how to access the REST resources and other important concepts. See Implementation Best Practices for EPM Cloud REST APIs. Using this REST API requires prerequisites. See Prerequisites.


Supported Media Types: application/json

The following table summarizes the request parameters.

Table 9-31 Parameters

Name Description Type Required Default
fileName File name to delete Payload Yes None

Example URL and Payload

"fileName": "inbox/file1.csv",


Supported Media Types: application/json

Table 9-32 Parameters

Parameters Description
Details Published if there is an error with the error string
Status See Migration Status Codes
Links Detailed information about the link
Href Links to the API call
Action The HTTP call type
Rel Possible value: self
Data Parameters as key value pair passed in the request

Example Response Body

		"action": "POST",

Sample cURL command

curl -X POST -s -u '<USERNAME>:<PASSWORD>' -o response.txt -D
respHeader.txt -H 'Content-Type: application/json' -d
'{"fileName":"FILE_TO_BE_DELETED"}' 'https://<SERVICE_NAME>-
Common Functions