---
title: "Delete Data from Locker"
method: POST
path: "/data/delete"
tags: ["Cards", "Data"]
---

# Delete Data from Locker

`POST /data/delete`

Delete sensitive data from the locker

## Headers

- `x-tenant-id` string

## Request body

- union
  - DeleteDataReq
    - `merchant_id` string
    - `merchant_customer_id` string
    - `card_reference` string
  - JWEReq
    - `header` string
    - `iv` string
    - `encrypted_payload` string
    - `tag` string
    - `encrypted_key` string

## Response `200`

Delete Data Response

- union
  - DeleteDataRes — Response received if the data deletion was successful
    - `status` 'Ok'
  - JWERes — JWE encrypted response equivalent
    - `header` string
    - `iv` string
    - `encrypted_payload` string
    - `tag` string
    - `encrypted_key` string

---

[API](https://skmtc.net/hyperswitch/apis/dynamic-routing-openapi-3-0.md) · [All operations](https://skmtc.net/hyperswitch/apis/dynamic-routing-openapi-3-0/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/hyperswitch/dynamic-routing-openapi-3-0/revisions/8fbf69ab2597/schema)
