Remove auction from favorites
DELETE/api/auction/favorites/:id
Permanently remove an auction from the company's favorites list.Requirements:- The favorite ID must exist in the database- The user must belong to the owner company- There must be no pending operations associated with the favoriteValidations performed:1. Verifies that the favorite exists and belongs to the company2. Checks that there are no pending operations associated3. Permanently deletes the recordDifferences from PUT:- Permanent deletion vs. update- Does not require a request body- Cannot be undoneUsage example:DELETE /api/auction/favorites/60a1b2c3d4e5f6a1b2c3d4e5The response includes confirmation and deletion metadata.
Request
Responses
- 200
- 400
- 401
Favorite removed successfully
Request error
Unauthorized