Delete File
Delete file from Crowdin project. All the translations will be lost without ability to restore them.
Request
POST http://api.crowdin.net/api/project/{project-identifier}/delete-file?key={project-key}
Parameters
| Name | Value | Description |
|---|---|---|
| filerequired | string | File name that should be deleted. |
| keyrequired | string | Project API key. |
| Variables | ||
| project-identifierrequired | string | Should contain the project identifier. |
Response
If successful, this method returns a XML structure, as shown below.
Sample unsuccessful response:
<?xml version="1.0" encoding="ISO-8859-1"?>
Sample unsuccessful response:
<?xml version="1.0" encoding="ISO-8859-1"?>3API key is not valid
Examples
curl \
-F "file=/directory/strings.xml" \
http://api.crowdin.net/api/project/{project-identifier}/delete-file?key={project-key}
