{
  "slug": "stripe-batch-jobs-v2-supports-delete-operations-f513936a7603",
  "title": "Stripe Batch Jobs v2 supports DELETE operations",
  "tools": [
    "stripe"
  ],
  "tags": [
    "agent"
  ],
  "introduced_at": "2026-04-22T00:00:00.000Z",
  "announced_at": "2026-04-22T00:00:00.000Z",
  "effective_at": null,
  "date_basis": "source-publication",
  "status": "unknown",
  "how": {
    "incantation": "When batching resource deletions, create a Batch Job with `endpoint.http_method` set to `delete`. Include the `2026-04-22.preview` Stripe API version in the request.",
    "examples": [
      "curl -X POST https://api.stripe.com/v2/core/batch_jobs \\\n  -H \"Authorization: Bearer <YOUR_SECRET_KEY>\" \\\n  -H \"Stripe-Version: 2026-04-22.preview\" \\\n  --json '{\"endpoint\":{\"path\":\"<RESOURCE_ENDPOINT_PATH>\",\"http_method\":\"delete\"},\"metadata\":{},\"skip_validation\":false}'",
      "\"endpoint\": {\"path\": \"/v1/subscriptions/:subscription/migrate\", \"http_method\": \"delete\"}"
    ],
    "gotchas": [
      "Availability: preview",
      "endpoint (required): Object configuring the batch job endpoint.",
      "endpoint.path (required): Path for the endpoint; use the resource endpoint path to batch.",
      "endpoint.http_method (required): HTTP method for the operation; the release note documents `delete` and `post` as allowed values.",
      "metadata (required): Metadata of the batch job; use an empty object when no metadata is supplied.",
      "skip_validation (required): Whether validation runs before executing the batch job.",
      "Prerequisite: For REST API requests, include the `Stripe-Version: 2026-04-22.preview` header. Use a Stripe secret key as the bearer credential.",
      "The `endpoint.http_method` parameter previously only supported `POST` operations.",
      "The change does not affect existing batch operations that use the `POST` method."
    ]
  },
  "why_it_matters": "Batch DELETE operations on Stripe resources, such as canceling multiple subscriptions.",
  "before": "Set `endpoint.http_method` to `post`; this parameter previously only supported `post`.",
  "sources": [
    "https://docs.stripe.com/changelog/dahlia/2026-04-22/batch-api-delete-method",
    "https://docs.stripe.com/api/v2/core/batch-jobs/create?api-version=2026-04-22.preview"
  ],
  "rank": 0.99028,
  "judge": {
    "publish": true,
    "judge_model": "codex-cli/gpt-6-luna+typesafe/jev-1.13.0",
    "prompt_version": "extract-v7+enrich-v2+judge-v2x3+jev-publish-v1"
  },
  "review_state": "approved",
  "provenance": {
    "run_id": "wave1b-tools-20261017",
    "verdict_id": "wave1b-tools-20261017:wave1b-tools-20261017-2d096f890f1f92c0-0:gate",
    "evidence_hash": "bd55e98f2aee548415bf7a562925fdc39002d1e373b6291c88d726cd5b3ddeaa"
  },
  "review": {
    "draft_hash": "814b786d16ae77dd101360b1757e16588c93e91db4f358ba7b2b64b8f43188b2",
    "reviewer": "publication-gate",
    "reviewed_at": "2026-10-07T00:00:00.000Z",
    "decision": "wave1b-tools-20261017:gate",
    "reason": "3 of 3 judge runs approved with p_yes >= 0.9 (mean 0.99 >= 0.9; 2 needed) and Jev gave 0.64 (>= 0.6 needed)."
  }
}
