🎉 Nextra 2.0 is released. Read more →
Next Docs v2DocsDocsLibsLibsFeaturesFeaturesBlogBlog
Contact ↗Contact ↗ (opens in a new tab)
GitHubGitHub (opens in a new tab)
  • Introduction
  • Components Docs
  • Components
    • MDX
    • Custom
  • API Docs
  • Example
    • API Playground
    • Template

    • Get
    • Create
    • Create (Form Data)
    • Update Put
    • Update Post (JSON)
    • Update Post (Form Data)
    • Delete
  • Updates
    • Release Notes
    • Changelog
    • Roadmap
  • Docs
    • Introduction
    • Components Docs
    • Components
      • MDX
      • Custom
    • API Docs
    • Example
      • API Playground
      • Template

      • Get
      • Create
      • Create (Form Data)
      • Update Put
      • Update Post (JSON)
      • Update Post (Form Data)
      • Delete
    • Updates
      • Release Notes
      • Changelog
      • Roadmap
  • Libs
    • Introduction
    • Sandpack
    • Chart
  • Features
  • Blog
  • Company
    • About
    • Contact Us
  • Contact ↗ (opens in a new tab)
Question? Give us feedback (opens in a new tab)Edit this page on GitHub →
Docs
Example
Delete

Delete

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 : /url/(id)

Response : 200 - OK

{
  "message": "success delete data",
  "status": 200
}

Response : 404 - Not Found

Not Found

Response : 500 - Server Error

Internal Server Error
Update Post (Form Data)Release Notes

Powered byVercel

© 2022 The Nextra Project.