v1

latestOpenAPI 3.0.3raw.githubusercontent.com2024-10-2916802.4 MB
📸 Social Media

Delete a post

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.

delete/social-media/posts/{postId}

Response

Delete a post

dataobject
messagestring
statusCodenumber
successboolean

Example response

{
  "message": "Post deleted successfully",
  "statusCode": 200,
  "success": true
}