---
title: "Purge objects from rpaasv2."
method: POST
path: "/resources/{instance}/purge/bulk"
tags: ["rpaas-purger"]
---

# Purge objects from rpaasv2.

`POST /resources/{instance}/purge/bulk`

This endpoint is exclusive for RPaaS v2 API.

## Path parameters

- `instance` string, required

## Request body

- Purge[]
  - `path` string
  - `preserve_path` boolean
  - `extra_headers` string

## Response `200`

OK

- PurgeBulkResponse[]
  - `path` string
  - `instances_purged` integer
  - `error` string

## Other responses

- `400` — Body or instance name empty.

## Changes

> 17 revisions in range; 2 not diffed.

- **2023-07-21** `1c0398a775bb` — 3 info
  - api tag `rpaas-purger` added
  - api tag `rpaas` removed
  - the response property `Msg` became required for the status `400`
- **2022-10-26** `11985f21f301` — 1 info
  - endpoint added
- **2020-08-17** `f427a0b3759f` — 1 breaking
  - api path removed without deprecation

[Change history](https://skmtc.dev/tsuru/apis/reverse-proxy-as-a-service/changes/resources/:instance/purge/bulk/post.md)

---

[API](https://skmtc.dev/tsuru/apis/reverse-proxy-as-a-service.md) · [All operations](https://skmtc.dev/tsuru/apis/reverse-proxy-as-a-service/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/tsuru/reverse-proxy-as-a-service/revisions/611d7951dc76/schema)
