cURL
curl --request DELETE \ --url https://harbor-parking.vercel.app/api/claims/{id}
{ "message": "Claim cancelled successfully", "deleted_claim_id": "abc123de-e89b-12d3-a456-426614174003" }
Cancel a parking spot claim
curl -X DELETE "https://harbor-parking.vercel.app/api/claims/abc123de-e89b-12d3-a456-426614174003" \ -H "Authorization: Bearer YOUR_JWT_TOKEN" \ -H "Content-Type: application/json"
{ "error": "You can only delete your own claims" }