Skip to main content
NICE CXone Expert

We will be updating our infrastructure on Dec 2, 2023. Sites will be down starting at 8pm Pacific time. This may last up to 3 hours.

Expert Success Center

archive/files (DELETE)


Removes all files from the archive (wipe)

  • REST Method: DELETE
  • Method Access: public

Query Parameters

Name Type Description
authenticate bool? Force authentication for request (default: false)

Return Codes

Name Value Description
OK 200 The request completed successfully
Forbidden 403 Administrator access is required

Message Format


Implementation Notes

Removing a file from the archive will cause it to be permanently deleted.

C# Code Sample: Remove All Files

The following code example removes all files from the archive

Sample Code

Plug p = Plug.New("http://deki-hayes/@api/deki"); p.At("users", "authenticate").WithCredentials("admin", "password").Get(); p.At("archive", "files").Delete();

Curl Code Sample:Purge File Archive

The following command permanently deletes all files (i.e. the files cannot be restored):

Sample Code

curl -u admin:password -X DELETE -i http://mindtouch.address/@api/deki/archive/files

Implementation Notes

curl flags

Provides external user authentication.
Specifies the HTTP request method.
Outputs the HTTP response headers. Useful for debugging.


ADMIN permission is required to execute above command.

  • Was this article helpful?