> For the complete documentation index, see [llms.txt](https://docs.payments.thalescloud.io/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.payments.thalescloud.io/merchant-tokenization/es/tokenizacion-pci/implement-pci-tokenization/delete-a-token.md).

# Eliminar un token

Elimina un token cuando el usuario final te pide que elimines los datos de la tarjeta almacenados para Card-on-file (COF).

## Flujo

<figure><img src="/files/e968f4b0ca233db5eccb0c698f5b70ac78aee290" alt=""><figcaption><p>Flujo de eliminación de token</p></figcaption></figure>

<table><thead><tr><th width="100">Paso</th><th>Descripción</th></tr></thead><tbody><tr><td>1</td><td>El comerciante o PSP llama a <code>deleteToken</code> y proporciona el <code>tokenId</code>.<br>El backend de Thales elimina el token y el PAN asociado y la fecha de caducidad.</td></tr></tbody></table>

{% hint style="warning" %}
La eliminación del token es irreversible. Para usar la misma tarjeta de nuevo, crea un nuevo token.
{% endhint %}

## API

Usa la misma `deleteToken` operación para la tokenización PCI y la tokenización de la red de pagos.

* Referencia de la API: [Eliminar token](broken://pages/dc5ab94330c643fa04568881681a3eb65d299d02#delete-tokens-tokenid)


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.payments.thalescloud.io/merchant-tokenization/es/tokenizacion-pci/implement-pci-tokenization/delete-a-token.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
