Dummy JSON
Posts
Copy Page
Dummy JSON
Start your journey
Dummy JSON
Auth
Login user and get tokens
Get current auth user
Users
Get all users
Get a single user
Add a new user
Update a user
Delete a user
Products
Get all products
Get a single product
Search product
Limit and skip product
Sort products
Get all products categories
Get products category list
Get products by a category
Add a new product
Update a product
Delete a product
Posts
Get all post
GET
Get a single post
GET
Search posts
GET
Limit and skip posts
GET
Sort posts
GET
Get all posts tags
GET
Get posts tag list
GET
Get posts by a tag
GET
Get all post by user id
GET
Get post's comments
GET
Add a new post
POST
Update a post
PUT
Delete a post
DELETE
Posts
Copy Page
Delete a post
DELETE
/posts/1
Try it
Run in Apidog
Run in Apidog
Last modified:
2025-05-23 10:40:01
Maintainer:
ekovegeance
Deleting a post will not delete it into the server.
It will simulate a DELETE request and will return deleted post with
isDeleted
&
deletedOn
keys
Request
None
Request samples
Shell
JavaScript
Java
Swift
Go
PHP
Python
HTTP
C
C#
Objective-C
Ruby
OCaml
Dart
R
Request
Request Example
Shell
JavaScript
Java
Swift
cURL
cURL-Windows
Httpie
wget
PowerShell
curl
--location
--request
DELETE
'https://dummyjson.com/posts/1'
Responses
🟢
200
Success
application/json
Generate Code
Body
Generate Code
Example
{
}
Modified atÂ
2025-05-23 10:40:01
Previous
Update a post