Skip to main content
DELETE
/
contracts
/
{id}
Delete a contract
curl --request DELETE \
  --url https://panel.sendcloud.sc/api/v3/contracts/{id} \
  --header 'Authorization: Basic <encoded-value>'
{
  "errors": [
    {
      "status": "<string>",
      "code": "unknown_field",
      "detail": "<string>",
      "id": "<string>",
      "links": {
        "about": "<string>"
      },
      "title": "<string>",
      "source": {
        "pointer": "<string>",
        "parameter": "<string>",
        "header": "<string>"
      },
      "meta": {}
    }
  ]
}
Include the id of the contract as a path parameter to delete information for that specific contract. If you have multiple active contracts for the same carrier and you delete the default contract, we will automatically pick the first added contract as the new default. If you delete the last contract for a specific carrier, we will disable this carrier and its shipping options to prevent that you will accidentally use Sendcloud’s transactional rates.

Authorizations

Authorization
string
header
required

Basic Authentication using API key and secrets is currently the main authentication mechanism.

Path Parameters

id
integer
required

The id of the contract.

Response

No Content