---
title: "Changes to Delete a post"
method: DELETE
path: "/posts/{postId}"
---

# Changes to Delete a post

`DELETE /posts/{postId}`

> Every recorded change to this endpoint, newest first.

## Timeline

Changed in 3 of 3 revisions.

- **2026-07-17** `41c89b420e85` — 3 breaking
- **2025-05-30** `2775bd09f55e` — 1 warning, 4 info
- **2025-05-30** `dbaf42ae4311` — 3 breaking, 2 warning

## Changes

- **2026-07-17** `41c89b420e85` — 3 breaking
  - added the new path request parameter `postId`
  - the `details` response's property type changed from `object` to `array` for status `404`
  - the `details` response's property type changed from `object` to `array` for status `500`
- **2025-05-30** `2775bd09f55e` — 1 warning, 4 info
  - deleted the `path` request parameter `postId`
  - added the optional property `details` to the response with the `404` status
  - added the optional property `details` to the response with the `500` status
  - added the required property `error` to the response with the `404` status
  - added the required property `error` to the response with the `500` status
- **2025-05-30** `dbaf42ae4311` — 3 breaking, 2 warning
  - for the `path` request parameter `postId`, the type changed from `string` to `integer`, and format from `uuid` to no format
  - removed the required property `error` from the response with the `404` status
  - removed the required property `error` from the response with the `500` status
  - removed the optional property `details` from the response with the `404` status
  - removed the optional property `details` from the response with the `500` status

---

[Operation](https://skmtc.dev/azure/apis/simple-social-media-api/docs/posts/:postId/delete.md) · [API](https://skmtc.dev/azure/apis/simple-social-media-api.md) · [Page](https://skmtc.dev/azure/apis/simple-social-media-api/changes/posts/:postId/delete)
