---
title: "Update author"
method: PATCH
path: "/v1/authors/{identifier}"
tags: ["Authors"]
---

# Update author

`PATCH /v1/authors/{identifier}`

Update an existing author by ID or slug. Requires a private API key.

## Path parameters

- `identifier` string, required — Author ID or slug

## Request body

- UpdateAuthorBody
  - `name` string
  - `slug` string
  - `bio` string, nullable
  - `role` string, nullable
  - `email` string, email, nullable
  - `image` string, uri, nullable
  - `socials` SocialInput[] — Social media links. Replaces all existing socials when provided.
    - `platform` 'x' | 'twitter' | 'github' | 'facebook' | 'instagram' | 'youtube' | 'tiktok' | 'linkedin' | 'website' | 'onlyfans' | 'discord' | 'bluesky', required
    - `url` string, uri, required

## Response `200`

Author updated successfully

- CreateAuthorResponse
  - `author` object, required
    - `id` string, required
    - `name` string, required
    - `slug` string, required
    - `bio` string, nullable, required
    - `role` string, nullable, required
    - `image` string, nullable, required
    - `socials` Social[], required
      - `url` string, uri, required
      - `platform` string, required

## Other responses

- `400` — Invalid request body
- `403` — Public API key used for write operation
- `404` — Author not found
- `409` — Author with this slug already exists
- `500` — Server error

---

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