Open a dispute on an active contract
cURL
curl --request POST \ --url https://api.example.com/contracts/{id}/dispute \ --header 'Content-Type: application/json' \ --data ' { "reason": "<string>" } '
curl -X POST https://api.midasprotocol.org/contracts/contract-uuid/dispute \ -H "Authorization: Bearer pp_your_key" \ -H "Content-Type: application/json" \ -d '{ "reason": "Dataset was incomplete and unusable" }'
{ "id": "uuid", "status": "DISPUTED", "disputeReason": "Dataset was incomplete and unusable" }