---
title: "Update custom translation hosting settings"
method: PATCH
path: "/api/v1/hosting/custom-hosting"
tags: ["Hosting"]
---

# Update custom translation hosting settings

`PATCH /api/v1/hosting/custom-hosting`

## Request

- Base URL: `https://api.simplelocalize.io`
- URL: `https://api.simplelocalize.io/api/v1/hosting/custom-hosting`
- Auth: API key in header `X-SimpleLocalize-Token`
- TypeScript: <https://skmtc.dev/simplelocalize/apis/simplelocalize-api/docs/api/v1/hosting/custom-hosting/patch.ts> (a function with typed inputs; its response is checked against the schema)

The endpoint is used for updating custom translation hosting provider credentials (e.g. AWS S3, Azure Blob Storage, Google Cloud Storage).
The connection is verified before the settings are saved - if verification fails, the settings are not updated and the endpoint returns an error.

## Request body

- CdnCustomHostingUpdateApiRequest
  - `provider` 'NONE' | 'AMAZON_S3' | 'AZURE_BLOB_STORAGE' | 'GOOGLE_CLOUD_STORAGE', required: Custom translation hosting provider. Use 'NONE' to disable custom hosting.
  - `accessKey` string: AWS S3 access key
  - `secretKey` string: AWS S3 secret key
  - `region` string: AWS S3 region
  - `bucket` string: AWS S3 bucket name
  - `accountName` string: Azure Storage account name
  - `accountKey` string: Azure Storage account key
  - `containerName` string: Azure Blob Storage container name
  - `credentialsJson` string: Google Cloud Storage credentials JSON

## Response `200`

OK

## Other responses

- `400`: Bad Request
- `402`: Payment Required
- `403`: Forbidden
- `404`: Not Found
- `409`: Conflict
- `429`: Too Many Requests
- `500`: Internal Server Error

## Changes

- **2026-11-07** `67a25a25863a`: 1 info
  - endpoint added

[Operation history](https://skmtc.dev/simplelocalize/apis/simplelocalize-api/changes/api/v1/hosting/custom-hosting/patch.md)

---

[API](https://skmtc.dev/simplelocalize/apis/simplelocalize-api.md) - [All operations](https://skmtc.dev/simplelocalize/apis/simplelocalize-api/llms.txt) - [OpenAPI document](https://skmtc.dev/simplelocalize/apis/simplelocalize-api/revisions/67a25a25863a?raw)
