Skip to main content
DELETE
/
v1
/
posts
/
{postId}
Delete a post
import { ParagraphAPI } from "@paragraph-com/sdk"

const api = new ParagraphAPI({ apiKey: "your-api-key" })
await api.posts.delete({ id: "3T2PQZlsdQtigUp4fhlb" })
{
  "success": true
}

Authorizations

Authorization
string
header
required

API key for authenticating protected endpoints. Pass as Bearer token in Authorization header.

Path Parameters

postId
string
required

Unique identifier of the post to delete

Body

application/json

Body

The body is of type object.

Response

Post deleted successfully

success
enum<boolean>
required

Whether the deletion succeeded

Available options:
true