---
title: "Delete a post"
method: DELETE
path: "/social-media/posts/{postId}"
tags: ["📸 Social Media"]
---

# Delete a post

`DELETE /social-media/posts/{postId}`

The API endpoint allows users to delete a post by passing the post ID as a path variable.

By accessing this endpoint and providing the specific post ID in the URL, users can initiate the deletion of the corresponding post.

## Response `200`

Delete a post

- object
  - `data` object
  - `message` string
  - `statusCode` number
  - `success` boolean

---

[API](https://skmtc.net/hiteshchoudhary-ssesph/apis/freeapi.md) · [All operations](https://skmtc.net/hiteshchoudhary-ssesph/apis/freeapi/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/hiteshchoudhary-ssesph/freeapi/revisions/a9f3a290e4dc/schema)
