📸 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
Example response
{
"message": "Post deleted successfully",
"statusCode": 200,
"success": true
}