---
title: "Delete a blog"
method: DELETE
path: "/v1/accounts/{accountId}/blogs/{blogId}"
tags: ["Blogs"]
---

# Delete a blog

`DELETE /v1/accounts/{accountId}/blogs/{blogId}`

Deletes the blog AND every article in it. The delete happens on the
platform and is permanent; Zernio stores nothing to restore it from.

Supported on Shopify (platform `shopify`). Disconnect a WordPress
account instead of deleting its site; WordPress returns 405 here.

## Path parameters

- `accountId` string, required
- `blogId` string, required

## Response `204`

Blog deleted (no content).

## Other responses

- `400` — Invalid request
- `401` — Unauthorized
- `403` — The platform rejected the request (code insufficient_permissions); reconnect the Shopify account to restore access.
- `404` — Account not found or not accessible (code account_not_found), or blog not found (code blog_not_found).
- `405` — Platform does not support deleting a blog.
- `429` — Rate limited, either by Zernio or by Shopify. Retry later.

## Changes

- **2026-09-16** `3e6ddf2a99ea` — 1 info
  - added the optional property `details/budgetScope` to the response with the `400` status
- **2026-09-15** `0dba7d004d75` — 2 info
  - added the optional property `details/quotaExhausted` to the response with the `400` status
  - added the optional property `details/quotaScope` to the response with the `400` status
- **2026-08-14** `875093317201` — 1 info
  - endpoint added

[Change history](https://skmtc.dev/zernio/apis/zernio-api/changes/v1/accounts/:accountId/blogs/:blogId/delete.md)

---

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