πΈ 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}
Request
- Base URLhttps://api.freeapi.app/api/v1
- Authnone declared
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Response
Delete a post
Example response
{
"message": "Post deleted successfully",
"statusCode": 200,
"success": true
}Changes
No recorded changes to this operation across all 1 revision of this API.