Delete Inspiration

Delete Inspiration

You can delete data that has been stored in database by sending a DELETE request to remove a document using the unique id

Method : DELETE

URL : /api/inspiration?id=(id)

Response : 200 - OK

{
  "message": "Success delete inspiration"
}

Response : 422 - Unprocessable Content

{
  "error": "Id required"
}

Response : 404 - Not Found

Not Found

Response : 500 - Server Error

Internal Server Error