Delete auction
DELETE/company/auction/:service_code
Permanently delete an auction. Only applicable to auctions in 'draft' or 'empty' status.
Consequences:
- Permanent deletion of all data
- Cannot be undone
- If it has bids, they will also be deleted
Validations:
- Auction must be in draft or empty status
- Company must be the owner
Request
Responses
- 200
- 400
- 401
- 404
Auction deleted successfully.
Invalid operation. Possible causes:
- Auction is not in 'draft' or 'empty' state
- Has accepted bids
Unauthorized (invalid or expired token)
Auction not found or does not belong to the company.