---
title: "Delete Data from Locker"
method: POST
path: "/api/v2/vault/delete"
tags: ["Data"]
---

# Delete Data from Locker

`POST /api/v2/vault/delete`

Delete sensitive data from the locker

## Headers

- `x-tenant-id` string

## Request body

- union
  - DeleteDataRequest
    - `entity_id` string — Unique identifier for the entity
    - `vault_id` string — Unique identifier for the vault
  - JWEReq
    - `header` string
    - `iv` string
    - `encrypted_payload` string
    - `tag` string
    - `encrypted_key` string

## Response `200`

Delete Data Response

- union
  - DeleteDataResponse
    - `entity_id` string — Unique identifier for the entity
    - `vault_id` string — Unique identifier for the vault
  - 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)
