Delete Berita

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

Method : DELETE

URL : /news/(SLUG)

Response : 200 OK

{
"message": "Success delete news",
"status": 200
}

Response : 404 NOT FOUND

Not Found

Response : 500 ERROR

Internal Server Error