Skip to content

feat: Create API endpoint to delete a book by its Id #7

@MahendraDani

Description

@MahendraDani

Descriptions

Users should be able to delete a book by its Id

Difficulty

  • Advanced
  • 50 Points

API Endpoint

PUT http://localhost:3000/books/delete/:id

Controller

/controllers/books/deleteBook.js

Request Params

  • id

Response

{
status : 200,
message : "Book deleted successfully"
}

Metadata

Metadata

Assignees

No one assigned

    Labels

    Advanced50 Reward points

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions