---
title: "Delete secure token"
method: DELETE
path: "/processing-terminals/{processingTerminalId}/secure-tokens/{secureTokenId}"
tags: ["secureTokens"]
---

# Delete secure token

`DELETE /processing-terminals/{processingTerminalId}/secure-tokens/{secureTokenId}`

Use this method to delete a secure token and its related payment details from our vault.  

To delete a secure token, you need its secureTokenId, which you sent in the request of the [Create Secure Token](https://docs.payroc.com/api/schema/tokenization/secure-tokens/create) method.  

**Note:** If you don’t have the secureTokenId, use our [List Secure Tokens](https://docs.payroc.com/api/schema/tokenization/secure-tokens/list) method to search for the secure token.  

When you delete a secure token, you can’t recover it, and you can’t reuse its identifier for a new token.

## Path parameters

- `processingTerminalId` string, required
- `secureTokenId` string, required

## Headers

- `Authorization` string, required

## Response `204`

Successful request. We deleted the secure token.

- object

## Other responses

- `400` — Invalid request
- `401` — Identity could not be verified
- `403` — Do not have permissions to perform this action
- `404` — Resource not found
- `500` — An error has occured

---

[API](https://skmtc.dev/payroc/apis/schema.md) · [All operations](https://skmtc.dev/payroc/apis/schema/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/payroc/schema/revisions/1d9d3e305945/schema)
