Account & Projects

Rename a project

Changed on

Changes the name of an existing project and returns the updated project details.

put/projects-api/v2/projects/{projectId}/rename

Request

  • Base URL
    https://api.smartling.com
  • Auth
    HTTP bearer

Path parameters

projectIdstring required

Unique identifier of a Smartling project — 9 lowercase alphanumeric characters.

Example:84c012a33

A unique project identifier. This can be found in the Smartling Dashboard under Account Settings > API.

Request body

projectNamestring required

The new name of the project. It must not be blank and must not exceed 170 characters.

Example request

{
  "projectName": "Android XML Content v2"
}

Response

OK

Example response

{
  "response": {
    "data": {
      "accountUid": "ab5f1939",
      "archived": false,
      "projectId": "fd7244365",
      "projectName": "fd7244365",
      "projectTypeCode": "APPLICATION_RESOURCES",
      "sourceLocaleDescription": "English",
      "sourceLocaleId": "en-US",
      "targetLocales": [
        {
          "description": "Russian (Russia)",
          "enabled": true,
          "localeId": "ru-RU"
        }
      ]
    }
  }
}

Changes