---
title: "Delete a post"
method: DELETE
path: "/api/v2/organizations/{orgSlug}/posts/{postId}"
tags: ["Posts"]
---

# Delete a post

`DELETE /api/v2/organizations/{orgSlug}/posts/{postId}`

Delete a post by id. 

 Required scopes: `flex.collaboration.posts.delete`

## Path parameters

- `postId` string, required
- `orgSlug` string, required

## Response `200`

- PostResultDto
  - `_id` string — The _id of the post.
  - `title` string — The title of the post.
  - `description` string — The content the post.
  - `locations` string[] — An array with the ids of all locations in which the post is visible.
  - `isPinned` boolean — Shows if the post is pinned to the top.
  - `type` 'info' | 'important' | 'event' — The type of the post.
  - `url` string — An additional url that is shown in the post.
  - `image` string — The url of the image of the post.
  - `member` string — The _id of the member that created the post.
  - `company` string — The _id of the company that created the post.
  - `createdBy` string — The user that created the post.
  - `createdAt` string — The time when the post was created.

---

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