---
title: "Save the draft block for a slug"
method: PUT
path: "/api/admin/content/{slug}"
tags: ["Admin"]
---

# Save the draft block for a slug

`PUT /api/admin/content/{slug}`

## Request

- Base URL: `https://app.d-sports.org`
- URL: `https://app.d-sports.org/api/admin/content/{slug}`
- Auth: HTTP bearer

Platform moderator/admin only (#998). Partial write: omitted fields keep their stored value, and `bullets` is trimmed with blanks dropped. Nothing reaches `GET /api/content/{slug}` until `POST /api/admin/content/{slug}/publish`. `PATCH` is an alias of `PUT`.

## Path parameters

- `slug` string, required

## Request body

- object
  - `title` string
  - `body` string
  - `bullets` string[]

## Response `200`

{ success, data: AdminCopy }

## Other responses

- `400`: { success: false, error, code: "VALIDATION_ERROR" }
- `401`: Not authenticated
- `403`: { success: false, error, code: "FORBIDDEN" }

## Changes

- **2026-11-18** `6de639c52609`: 1 info
  - endpoint added

[Operation history](https://skmtc.dev/d-sports-ecosystem/apis/d-sports-api/changes/api/admin/content/:slug/put.md)

---

[API](https://skmtc.dev/d-sports-ecosystem/apis/d-sports-api.md) - [All operations](https://skmtc.dev/d-sports-ecosystem/apis/d-sports-api/llms.txt) - [OpenAPI document](https://skmtc.dev/d-sports-ecosystem/apis/d-sports-api/revisions/63735cf90a04?raw)
