Skip to content

API Reference / Contracts

Delete a contract

Soft-deletes the contract identified by the given ID. The contract stops evaluating and no longer appears in lists.

POST/contracts.v1.Contracts/DeleteContract

Request body

application/jsonRequired

Request to delete a contract. It stops evaluating and buying or selling at once and no longer appears in reads.

contractId?string

Opaque 16-byte identifier of the contract to delete, base64-encoded in JSON.

Format"byte" base64

Response body

application/json

Success

No fields.

curl -X POST "https://api.goldmine.to/contracts.v1.Contracts/DeleteContract" \
  -H "Authorization: Bearer $CSTRADER_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "contractId": "EBESExQVFhcYGRobHB0eHw=="
  }'
{}