---
title: "Delete pending survey transfers or shares by batch number"
method: DELETE
path: "/pending-surveys/{batch-no}"
tags: ["misc"]
---

# Delete pending survey transfers or shares by batch number

`DELETE /pending-surveys/{batch-no}`

## Request

- Base URL: `https://localhost:8081`
- URL: `https://localhost:8081/pending-surveys/{batch-no}`
- Auth: none declared

Delete pending survey transfers or shares by batch number

## Path parameters

- `batch-no` integer, required

## Response `202`

The pending survey transfers or shares have been deleted

## Other responses

- `404`: The batch number does not exist
- `500`: A database error occured during the deletion

---

[API](https://skmtc.dev/office-of-national-statistics/apis/party-service-api.md) - [All operations](https://skmtc.dev/office-of-national-statistics/apis/party-service-api/llms.txt) - [OpenAPI document](https://skmtc.dev/office-of-national-statistics/apis/party-service-api/revisions/49a2e83bb1a7?raw)
