Logo
OpenText Developer Cloud public resources API Documentation

Deletes all stage files.

DELETE {{baseUrl}}/session/files?filter=*&suppress_response_codes=in adipisicing

This call deletes all stage files in the session including those returned by service calls. Once called, the deleted files will no longer be available.

Deleting files accepts a query string parameter, filter, as shown below. Currently, the only value this parameter supports is *, which means all files. This is the only filter value currently supported by the Services and provides for the deletion of all the files in the session.

 

Body PARAM

Key Datatype Required Description 
filter
string
suppress_response_codes
string This can be left without an assignment or you can use itself, suppress_response_codes=suppress_response_codes



HEADERS

Key Datatype Required Description 




RESPONSES

status OK

{ "returnStatus": { "status": 200, "code": "OK0000", "message": "", "server": "WS-Sb29a7dd631e94af5a5439148ea7a5bffHS" } }



Curl
curl -X DELETE 'https://capture.ot2.opentext.com/cp-rest/v2/session/files?filter=*&suppress_response_codes=in adipisicing?filter=*&suppress_response_codes=in adipisicing'

ENDPOINTS