---
updatedAt: 2026-06-06T23:57:39.000Z
agentTools:
  projectIndex: https://docs.shipscience.com/llms.txt
---

# Destroy

Delete a dispute. Only a `pending` dispute can be deleted; once it is in
process with the carrier the request returns `422`.


# OpenAPI definition

```json
{
  "openapi": "3.0.1",
  "info": {
    "title": "Shipscience API",
    "version": "v1",
    "description": "ShipScience's REST API for partners and customers.\n\n## Authentication\n\nMost endpoints require a bearer JWT in the `Authorization` header. Tokens\nare issued by the ShipScience login flow and are valid for 4 hours.\nClients are responsible for refreshing tokens before expiry. The\n`/api/v1/tokens` endpoint is an exception — it authenticates with the\n`api-key` header rather than a bearer JWT, since its purpose is to\nissue the JWT itself.\n\n## Partner endpoints\n\nThe **Sub Accounts** section is only available to accounts explicitly\nenabled as partners. If you receive `403 Forbidden`, contact\n**support@shipscience.com** to request access.\n"
  },
  "tags": [
    {
      "name": "SimpleClaim Disputes",
      "description": "Disputes opened against a claim's carrier resolution. List existing disputes\nfor a claim or open a new one with a `reason` and supporting `note`. Only one\nactive (pending or in-process) dispute may exist per claim at a time.\nThe parent claim is addressed by its id or tracking number.\n"
    }
  ],
  "paths": {
    "/api/v1/simple_claims/{tracking_number}/simple_claim_disputes/{id}": {
      "parameters": [
        {
          "name": "tracking_number",
          "in": "path",
          "description": "The claim's id or tracking number",
          "required": true,
          "schema": {
            "type": "string"
          }
        },
        {
          "name": "id",
          "in": "path",
          "description": "The dispute id",
          "required": true,
          "schema": {
            "type": "string"
          }
        }
      ],
      "delete": {
        "summary": "Destroy",
        "tags": [
          "SimpleClaim Disputes"
        ],
        "description": "Delete a dispute. Only a `pending` dispute can be deleted; once it is in\nprocess with the carrier the request returns `422`.\n",
        "security": [
          {
            "bearer_auth": []
          }
        ],
        "responses": {
          "204": {
            "description": "no content"
          },
          "422": {
            "description": "locked",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/api_error"
                }
              }
            }
          }
        }
      }
    }
  },
  "components": {
    "schemas": {
      "api_error": {
        "type": "object",
        "properties": {
          "error": {
            "type": "object",
            "properties": {
              "message": {
                "type": "string"
              },
              "details": {
                "type": "object",
                "additionalProperties": true
              }
            },
            "required": [
              "message"
            ]
          }
        },
        "required": [
          "error"
        ]
      }
    },
    "securitySchemes": {
      "bearer_auth": {
        "type": "http",
        "scheme": "bearer"
      }
    }
  },
  "servers": [
    {
      "url": "https://app.shipscience.com",
      "variables": {
        "defaultHost": {
          "default": "app.shipscience.com"
        }
      }
    }
  ]
}
```