---
title: "Protected Deploy Website"
method: POST
path: "/api/websites/{website_id}/deploy"
tags: ["Websites - Protected"]
---

# Protected Deploy Website

`POST /api/websites/{website_id}/deploy`

Deploy website to production domain.

Copies all S3 content from staging domain (e.g., rochaautomoveis.multigest.pt)
to production domain (e.g., rochaautomoveis.pt).

- Staging folder remains intact for future rebuilds
- Production folder gets overwritten with staging content
- DB already has production domain references (no DB update needed)

## Path parameters

- `website_id` integer, required

## Headers

- `x-api-token` string, nullable

## Response `200`

Successful Response

- unknown

## Other responses

- `422` — Validation Error

---

[API](https://skmtc.dev/multigest/apis/multigest-protected-api.md) · [All operations](https://skmtc.dev/multigest/apis/multigest-protected-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/multigest/multigest-protected-api/revisions/4b44eb76b3ee/schema)
