---
title: "Publish"
method: POST
path: "/api/cms/{space}/publish"
tags: ["cms"]
---

# Publish

`POST /api/cms/{space}/publish`

## Request

- Base URL: `https://api.tintin-x.com` (the document declares no server; this is the origin it was published from)
- URL: `https://api.tintin-x.com/api/cms/{space}/publish`
- Auth: HTTP bearer

Publish drafts to make them live. Optionally trigger site rebuild.

## Path parameters

- `space` string, required

## Request body

- SrcApiRoutesCmsPublishRequest
  - `types` string[], nullable
  - `locales` string[], nullable
  - `trigger_build` boolean

## Response `200`

Successful Response

- unknown

## Other responses

- `422`: Validation Error

---

[API](https://skmtc.dev/tintin-x/apis/tintin-api.md) · [All operations](https://skmtc.dev/tintin-x/apis/tintin-api/llms.txt) · [OpenAPI document](https://skmtc.dev/tintin-x/apis/tintin-api/revisions/8839a8d0a66c?raw)
