Delete Data from Locker
Delete data from the Locker vault.
Endpoint
POST https://api.example.com/api/v2/vault/delete
Headers
x-tenant-id: string
Body
Content-Type: application/json
The request body might be JWE + JWS encrypted when using middleware.
Possible body schema:
{
"entity_id": "<string>",
"vault_id": "<string>"
}entity_id (string): Unique identifier for the entity
vault_id (string): Unique identifier for the vault
Example — cURL
Response
200 — application/json
Response schema:
entity_id (string): Unique identifier for the entity
vault_id (string): Unique identifier for the vault
Related links
Retrieve Data from Locker: https://api-reference.hyperswitch.io/locker-api-reference/locker-general-purpose-storage/retrieve-data-from-locker
Get or insert the data fingerprint: https://api-reference.hyperswitch.io/locker-api-reference/locker-general-purpose-storage/get-or-insert-the-card-fingerprint
Suggest edits: https://github.com/juspay/hyperswitch/edit/main/api-reference/locker-api-reference/locker-general-purpose-storage/delete-data-from-locker.mdx Raise issue: https://github.com/juspay/hyperswitch/issues/new?title=Issue%20on%20docs&body=Path:%20/locker-api-reference/locker-general-purpose-storage/delete-data-from-locker