Skip to main content

API - Sandbox - Clear

This method empties the sandbox.

If you organise your files in sub directories such as in "folder1000\file1.dox", etc. you may selectively empty the sandbox by folder ("directoryname" set to "folder1000").

URL

(DELETE) /api/files/directory?token=&locale=sandbox&directoryname=

Please note that this is an HTTP DELETE action.

PARAMETERS

token

The session token obtained when connecting.

locale

Insert "sandbox"

directoryname

Optional. To delete a specific sub folder in the sandbox. If not specified the entire sandbox content is deleted.

You generally do not need this parameter.

RESULTS

The method returns no result. An HTTP status of 204 indicates success. Other HTTP status values indicate an error.

COMMENTS

You can also delete individual files or sub-directories in the sandbox using:

API - Delete translated content

API - Delete translated content directory

 

JavaScript errors detected

Please note, these errors can depend on your browser setup.

If this problem persists, please contact our support.