Change Directory

Rename directory or modify its attributes. When renaming directory the path can not be changed (it means new_name parameter can not contain path, name only).




Name Value Description
namerequired string Full directory path that should be modified (e.g. /MainPage/AboutUs).
new_nameoptional string New directory name.
titleoptional string New directory title to be displayed in Crowdin UI.
export_patternoptional string New directory export pattern. Is used to create directory name and path in resulted translations bundle.
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.
project-identifierrequired string Should contain the project identifier.
project-keyrequired string Project API key.


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"?>

  API key is not valid


curl \
-F "name=localizable" \
-F "title=Website" \
-F "new_name=translatable" \{project-identifier}/change-directory?key={project-key}