---
title: "Replace Post Authors"
method: PATCH
path: "/posts/{id}/authors"
tags: ["Post Authors"]
---

# Replace Post Authors

`PATCH /posts/{id}/authors`

Replace all authors on a post with a new set of authors.
All existing authors are removed and only the newly specified authors remain.

## Path parameters

- `id` integer, required

## Request body

- object
  - `jsonapi` object, required — JSON:API version metadata included in every JSON:API response.
    - `version` string, required — Implemented JSON:API version.
  - `data` union, required
    - ResourceIdentifier[]
      - `type` string, required — Resource type (required) - posts, tags, authors etc.
      - `id` string, required — Resource ID (required) - String format - Must be unique within its type **Important:** The example value (123) is a sample. For actual use: - Get Tag IDs: `GET /v1/tags` - Get Author IDs: `GET /v1/authors` Using non-existent IDs will result in a 400 error.
    - null, nullable — Remove all authors

## Response `200`

Authors replaced successfully

## Other responses

- `400` — Bad request
- `401` — Authentication failed
- `403` — Insufficient permissions
- `404` — Resource not found
- `405` — Method not allowed
- `500` — 서버 내부 오류

---

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