Delete a bid
DELETE/company/bid-auctions/:service_code
Allows a user to delete a bid they have previously placed, provided the auction has not yet been awarded.
Constraints:
- Only own bids can be deleted
- The auction must be in the 'published' state
- Requires JWT authentication
Usage example:
DELETE /company/bid-auctions/TRANS-12345
Request
Responses
- 200
- 401
- 404
Bid successfully removed. Returns the updated auction details.
Unauthorized. Possible causes:
- Invalid or expired JWT token
- User is not the owner of the bid
Not found. Possible causes:
- The auction does not exist
- The user has no bids in this auction