Revoke signature
DELETE/api/auction/sign/:serviceCode
Revokes the digital signature of an auction by the company.
Requirements:
- The auction must be in the 'closed' state
- It must have a previous signature from the company
- The user must be an administrator or owner
- There must be no associated delivery created
Actions performed:
- Deletes the company's digital signature
- Changes the signed_by_company status to false
- Deletes any generated contract
- Deletes the delivery if it has not been accepted
Usage example:
DELETE /api/auction/sign/ABC123
The response confirms the successful revocation.
Request
Responses
- 200
- 400
- 401
Signature revoked successfully
Request error
Unauthorized