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).
Request
Note: Either use the combination of project identifier and project key or combination of project identifier, username, and account key to pass to this endpoint.
POST https://api.crowdin.com/api/project/{project-identifier}/change-directory?key={project-key}
POST https://api.crowdin.com/api/project/{project-identifier}/change-directory?login={username}&account-key;={account-key}
Parameters
Name
Value
Description
name required
string
Full directory path that should be modified (e.g. /MainPage/AboutUs).
new_name optional
string
New directory name.
title optional
string
New directory title to be displayed in Crowdin UI.
export_pattern optional
string
New directory export pattern. Is used to create directory name and path in resulted translations bundle.