Courses
Vue Foundations Vue Fullstack Vue Enterprise
Articles
Latest Topics
More
Newsletter Sponsorship Discord About
The video for this lesson is currently being updated, please read the transcript instead.
Vue Enterprise > Lesson 48

Authenticated routes

Another very important aspect of our API is the permissions, including the authentication header and roles.

Let's now jump down to the DELETE /items/:id endpoint, which is, of course, an authenticated endpoint, and we'll document it.

Delete

We'll begin by adding a doc block, and adding the @api parameter on the first line. The first value for this parameter will be {delete} for the DELETE method. The second value will be the path, which is /items/:id.


Back to course page

Click to load comments...

Courses
  • Vue Foundations
  • Vue Fullstack
  • Vue Enterprise
Articles
  • Latest
  • Topics
Newsletter
  • Join
  • Sponsorship
More
  • Discord
  • Vue.js jobs
  • About

Vue.js Developers © 2021. View our privacy policy .

  • RSS
  • |
  • Atom