Skip to content

Backend : Delete Entire Collection with Projects #1216

@Vriti62

Description

@Vriti62

Description
This sub-issue focuses on allowing a logged-in user to delete an entire collection along with all the saved projects inside it.

Tasks / Requirements
-Add an authenticated DELETE endpoint to remove a collection by its ID.
-Ensure that all projects belonging to that collection are deleted (since each saved project is stored as a separate document).
-Validate that only the owner (userID) of the collection can delete it.
-Return success or appropriate error responses (e.g., collection not found).

refers: #1180

Metadata

Metadata

Assignees

Type

Projects

Status

done

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions