---
title: "Delete alias"
method: DELETE
path: "/v1/aliases/{alias}"
tags: ["/v1/aliases"]
---

# Delete alias

`DELETE /v1/aliases/{alias}`

Delete an alias with immediate effect. The alias will no longer be recognized if used later with any API call.

## Path parameters

- `alias` string, required — An alias (token) received from a previous transaction if `option.createAlias` was set to `true`. In order to retrieve the alias from a previous transaction, use the [Status API](#operation/status).

## Response `204`

Successful delete

## Other responses

- `400` — Invalid request

---

[API](https://skmtc.dev/pci-proxy/apis/pci-proxy-api-reference-datatrans-endpoints.md) · [All operations](https://skmtc.dev/pci-proxy/apis/pci-proxy-api-reference-datatrans-endpoints/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/pci-proxy/pci-proxy-api-reference-datatrans-endpoints/revisions/1f4f905fd175/schema)
