Skip to main content

API - Delete translated content directory

This method lets you delete all files in a sub-directory of the IN, OUT or Sandbox directories. This is useful if you group files inside sub-directories. For example, a source file "myfolder1\myfile.docx" is located inside folder "myfolder1".


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

Please note that this is an HTTP DELETE action.


Parameters are:


The session token obtained when connecting.


Either the source language code, a target language code or "sandbox" to delete sandbox files (used to obtain cost quotations).

Language codes are ISO 2 letter codes such as “en”, “fr”, “en-GB”, “en-US”, etc.


The relative path of the sub-directory.

  • This can be a folder like “myfolder1”.
  • Or, it can include further directories such as “myfolder1\folder2”.

Do not use absolute paths - these are not allowed.


The method returns no result. An HTTP status of 204 indicates success.

If the directory does not exist, the method returns HTTP 400.

See HTTP status values for error handling.

JavaScript errors detected

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

If this problem persists, please contact our support.