---
title: "Admin Bulk"
method: POST
path: "/api/price-compare/admin/sets/bulk"
tags: ["Price Compare"]
---

# Admin Bulk

`POST /api/price-compare/admin/sets/bulk`

## Request

- Base URL: `https://data.getplace.io` (the document declares no server; this is the origin it was published from)
- URL: `https://data.getplace.io/api/price-compare/admin/sets/bulk`
- Auth: OAuth 2
  - Password
  - Token URL: `/api/auth/login`

Delete or restore many benchmarks at once.

Copying in bulk is deliberately NOT here: every copy has its own question
about an existing copy in the target account, and answering all of them with
one flag is how work gets overwritten. The client loops the single-copy
endpoint instead, and sees each answer.

## Request body

- BulkRequest
  - `ids` string[], required
  - `action` 'delete' | 'restore', required

## Response `200`

Successful Response

- BulkResponse
  - `affected` integer, required
  - `requested` integer, required

## Other responses

- `422`: Validation Error

---

[API](https://skmtc.dev/getplace/apis/getplace-insights-api.md) - [All operations](https://skmtc.dev/getplace/apis/getplace-insights-api/llms.txt) - [OpenAPI document](https://skmtc.dev/getplace/apis/getplace-insights-api/revisions/0f337387603f?raw)
