---
title: "Update custom domain"
method: POST
path: "/apps/{app_id}/domain"
tags: ["Apps"]
---

# Update custom domain

`POST /apps/{app_id}/domain`

## Path parameters

- `app_id` string, uuid, required

## Request body

- UpdateCustomDomainRequest
  - `custom_domain` string, required

## Response `200`

Custom domain updated successfully

- object
  - `message` string
  - `custom_hostname` object
  - `cname` string

## Other responses

- `400` — Bad request or validation error

---

[API](https://skmtc.dev/shardcloud/apis/cloud-website-api.md) · [All operations](https://skmtc.dev/shardcloud/apis/cloud-website-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/shardcloud/cloud-website-api/revisions/7fe2fc6c24d7/schema)
