---
title: "Update project subdomain"
method: PUT
path: "/api/v1/projects/{project_id}/domains"
tags: ["Projects", "Domains"]
---

# Update project subdomain

`PUT /api/v1/projects/{project_id}/domains`

Update the subdomain for a project.

## Path parameters

- `project_id` string, uuid, required — The unique identifier of the project

## Request body

- UpdateSubdomainRequest — Request to update the subdomain for a project. Attributes: subdomain: The new subdomain (e.g., 'my-app' for my-app.apps.rebolt.ai).
  - `subdomain` string, required

## Response `200`

Successful Response

- SubdomainUpdateResponse — Response after updating a project's subdomain. Attributes: success: Whether the update was successful. subdomain: The new subdomain. full_domain: The full domain URL. deployment_url: The URL where the project will be accessible.
  - `success` boolean, required
  - `subdomain` string, required
  - `full_domain` string, required
  - `deployment_url` string, required

## Other responses

- `422` — Validation Error

---

[API](https://skmtc.dev/rebolt/apis/fastapi.md) · [All operations](https://skmtc.dev/rebolt/apis/fastapi/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/rebolt/fastapi/revisions/ee5884f323f3/schema)
