Skip to main content


If you want to delete any records or all records so we use DELETE method.

Delete All Data#

If you want remove all data (truncate table) so here we pass table with all=true parameter, which is confirm that user is really want to delete data.

{  "status":true,  "message":"All data has been deleted"}

It can delete the complete records from table.

Delete specific data#

If you want to delete perticular data from users table, like you want to delete data for user who have id=1. so we just normaly pass data with Json body.



{  "id":1}


{  "status":true,  "message":"Data has been deleted"}

It will delete the record who have id=1.