---
title: "Delete a GDPR data request"
method: DELETE
path: "/gdpr-requests/{id}"
tags: ["GDPR Requests"]
---

# Delete a GDPR data request

`DELETE /gdpr-requests/{id}`

## Request

- Base URL: `http://localhost:8000/api/shop`
- URL: `http://localhost:8000/api/shop/gdpr-requests/{id}`
- Auth: HTTP bearer
- TypeScript: <https://skmtc.dev/bagisto/apis/bagisto-shop-api/docs/gdpr-requests/:id/delete.ts> (a function with typed inputs; its response is checked against the schema)

Deletes one of the customer's own GDPR data requests. Returns 204 No Content on success.

## Path parameters

- `id` string, required

## Headers

- `X-STOREFRONT-KEY` string, required
- `X-Locale` string
- `X-Channel` string
- `X-Currency` string

## Response `204`

Request deleted. No content.

## Other responses

- `404`: Request not found or not owned by the caller.

---

[API](https://skmtc.dev/bagisto/apis/bagisto-shop-api.md) - [All operations](https://skmtc.dev/bagisto/apis/bagisto-shop-api/llms.txt) - [OpenAPI document](https://skmtc.dev/bagisto/apis/bagisto-shop-api/revisions/f619df36bf29?raw)
