mail Questions? Contact Crowdin.net

Delete Directory

Delete Crowdin project directory. All nested files and directories will be deleted too.

Request

POST http://api.crowdin.net/api/project/{project-identifier}/delete-directory?key={project-key}

Parameters

Name Value Description
namerequired string Directory path (or just name if the directory is in root).
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.
<?xml version="1.0" encoding="ISO-8859-1"?>
  

Sample unsuccessful response:
<?xml version="1.0" encoding="ISO-8859-1"?>

  3
  API key is not valid


Examples

curl \
-F "name=localizable" \
http://api.crowdin.net/api/project/{project-identifier}/delete-directory?key={project-key}