---
title: "Rebuild the marketing site with the saved order."
method: POST
path: "/api/v1/marketing-showcase/admin/publish"
tags: ["Marketing"]
---

# Rebuild the marketing site with the saved order.

`POST /api/v1/marketing-showcase/admin/publish`

## Request

- Base URL: `https://api.avatarfactory.io` (the document declares no server; this is the origin it was published from)
- URL: `https://api.avatarfactory.io/api/v1/marketing-showcase/admin/publish`
- Auth: one of:
  - API key in cookie `session`
  - HTTP bearer

<br/>409 is a build already running, ours or another one holding<br/>CodeBuild's single concurrent slot. 503 is everything else that<br/>stopped the build from starting (build project unset, throttling,<br/>IAM, connectivity), never a 500.

## Response `200`

OK

- PublishResponse
  - `success` boolean, required

## Other responses

- `409`: Conflict
- `422`: Unprocessable Entity
- `503`: Service Unavailable

---

[API](https://skmtc.dev/avatarfactory/apis/avatarfactory-api.md) · [All operations](https://skmtc.dev/avatarfactory/apis/avatarfactory-api/llms.txt) · [OpenAPI document](https://skmtc.dev/avatarfactory/apis/avatarfactory-api/revisions/66fc7aa3f296?raw)
