Delete File

Delete file from Crowdin project. All the translations will be lost without ability to restore them.

Request

POST https://api.crowdin.com/api/project/{project-identifier}/delete-file?key={project-key}

Parameters

Name Value Description
filerequired string File name that should be deleted.
branchoptional string The name of related version branch (Versions Management).
jsonoptional string May not contain value. Defines that response should be in JSON format.
jsonpoptional string Callback function name. Defines that response should be in JSONP format.
Variables
project-identifierrequired string Should contain the project identifier.
project-keyrequired string Project API key.

Response

If successful, this method returns a XML structure, as it is shown below.
<?xml version="1.0" encoding="ISO-8859-1"?>
  
  

Unsuccessful response sample:
  <?xml version="1.0" encoding="ISO-8859-1"?>
  
    3
    API key is not valid
  

Examples

curl \
  -F "file=/directory/strings.xml" \
  https://api.crowdin.com/api/project/{project-identifier}/delete-file?key={project-key}