# Cancel Contract

To cancel a contract you submitted to the API, you need to make a DELETE call to the following URL : https://api-dev.deepblock.fr/api/contracts/{id}/delete

The contract ID can be found in the API answer you got when creating the contract.

It is in the "idContract" parameter inside the "hydra:member" variable.

# API answer

When succesfully cancelled, here's the API answer you'll get :

EXAMPLE
{
    "success": true,
    "message": "Contract successfully cancelled!",
    "canceled": 3336
}