---
title: "Disable edges to suppliers and remove them from managed collections."
method: DELETE
path: "/public/v1/sites-upsert/delta"
tags: ["Suppliers - Sites Upsert"]
deprecated: true
---

# Disable edges to suppliers and remove them from managed collections.

`DELETE /public/v1/sites-upsert/delta`

## Request

- Base URL: `https://api.prewave.com`
- URL: `https://api.prewave.com/public/v1/sites-upsert/delta`
- Auth: API key in header `X-Auth-Token`
- TypeScript: <https://skmtc.dev/prewave/apis/public-prewave-api/docs/public/v1/sites-upsert/delta/delete.ts> (a function with typed inputs; its response is checked against the schema)

> **Deprecated.**

⚠️ **DEPRECATED** - This endpoint is deprecated and will be removed on 31 May 2027.

**Migration:** `POST /public/v2/suppliers/sites` to create sites, `GET /public/v2/suppliers/sites/pending` to track processing.

Deactivate supplier edges identified by your references.

**Required permission:** `create_sites_upsert_requests`

**Performance impact:** Low

## Query parameters

- `dryRun` boolean

## Request body

- SitesUpsertYourReference[]
  - `id` string, required: A textual identifier that uniquely identifies a Site connected to your organization. Your reference can be a Supplier ID, ERP ID, or any other unique identifier for a site.
  - `source` string, nullable: An identifier that determines which system the “your_reference” originates. The source could be any ERP system or any internal tool you use to maintain your data

## Response `200`

Request created successfully

- SitesUpsertRequestCreatedResponse
  - `requestId` string, uuid, required: The ID of a sites upsert request. Use this ID to check the status of the request and to retrieve dry-run ids.

## Other responses

- `403`: 403 Forbidden - Authentication or authorization failure. This status code is returned when: (1) the request lacks valid authentication credentials (missing or invalid X-Auth-Token header), or (2) the authenticated user does not have the required permission to access this resource.
- `429`: API rate limit exceeded
- `500`: 500 Internal Server Error - An unexpected error occurred on the server. The request may or may not have been processed.

## Changes

- **2026-08-28** `d08b2fe6a84f`: 1 info
  - endpoint deprecated

[Operation history](https://skmtc.dev/prewave/apis/public-prewave-api/changes/public/v1/sites-upsert/delta/delete.md)

---

[API](https://skmtc.dev/prewave/apis/public-prewave-api.md) - [All operations](https://skmtc.dev/prewave/apis/public-prewave-api/llms.txt) - [OpenAPI document](https://skmtc.dev/prewave/apis/public-prewave-api/revisions/8b6e3b3827ca?raw)
