# General Translation Platform: Update Project info URL: https://generaltranslation.com/en-GB/docs/platform/openapi/reference/project/update-project.mdx --- title: Update Project info description: Update General Translation Project-level settings from automation. API reference for updating Project information. method: POST --- Updates Project-level settings such as the default locale. The Project ID in the path must match the authenticated Project. ## Overview [#overview] ```http POST https://api2.gtx.dev/v2/project/info/:projectId ``` **Permission** `project:write` ยท **Rate limit** Default (200/min) Change a Project's settings using your own automation. To read the current settings, use [Get Project information](/docs/platform/openapi/reference/project/project-info). ## How it works [#how-it-works] * The `projectId` in the path must match the Project the API key is authenticated for. A missing or mismatched ID returns `400`. * When `defaultLocale` is provided, it is validated and set as the Project's default locale. Omitting it leaves the default locale unchanged. * The response confirms success. ## Request [#request] ### Headers | Header | Description | Required | | ----------------- | ---------------------------------------------------- | -------- | | `x-gt-api-key` | Project or Organization API key. | Yes | | `x-gt-project-id` | Project ID. Required when using an Organization key. | No | ### Path parameters | Parameter | Description | Type | Required | | ----------- | ------------------------------------------------- | -------- | -------- | | `projectId` | Project ID; must match the authenticated Project. | `string` | Yes | ### Body **Content type** `application/json` | Field | Description | Type | Optional | Default | | --------------- | ----------------------------------- | -------- | -------- | --------- | | `defaultLocale` | New default locale for the Project. | `string` | Yes | Unchanged | ## Response [#response] **Status** `200 OK` ```json title="Response" { "success": true } ``` ## Errors [#errors] | Status | Cause | | ------ | ----------------------------------------------------------------- | | `400` | Missing or mismatched `projectId`, or an invalid `defaultLocale`. | | `401` | Missing or invalid API key. | | `403` | API key lacks `project:write`. | | `429` | Rate limit exceeded. | ## Example [#example] ```bash curl -X POST https://api2.gtx.dev/v2/project/info/prj_... \ -H "x-gt-api-key: gtx-api-..." \ -H "Content-Type: application/json" \ -d '{ "defaultLocale": "en" }' ```