---
title: "Delete card validity period"
method: DELETE
path: "/wallet/v2/cards/{cardId}/validity"
tags: ["Card validity"]
---

# Delete card validity period

`DELETE /wallet/v2/cards/{cardId}/validity`

## Request

- Base URL: `https://sandbox.pismolabs.io`
- URL: `https://sandbox.pismolabs.io/wallet/v2/cards/{cardId}/validity`
- Auth: HTTP bearer

Delete a card's previously scheduled validity period. 

The card's validity period can be removed when a virtual or plastic card has a `valid_until` value in effect.

If the card's status is `NORMAL`, `REISSUED`, `BLOCKED`, `PENDING`, or `WARNING`, the `valid_until` value is removed and the card's status remains the same.

When authorizing a card with a `valid_until` value in effect, this date and the card's `expiration date` are both taken into account. Otherwise, only the `expiration_date` is taken into account.

This endpoint generates a [Card updated](https://developers.pismo.io/events/docs/cards-update-1) event with `operation_type` = `CARD_VALIDITY_CANCEL`.

**Notes:** 

 * This endpoint requires an account token&mdash;an access token encoded with a Pismo account ID. 

 * This is a PCI endpoint, use the https://gw-pci.pismolabs.io environment.

## Path parameters

- `cardId` string, required

## Response `204`

No content.

## Other responses

- `401`: Access token is missing or invalid
- `403`: You don't have permission to access this resource
- `500`: Internal server error

---

[API](https://skmtc.dev/pismo/apis/card-issuing-cards.md) - [All operations](https://skmtc.dev/pismo/apis/card-issuing-cards/llms.txt) - [OpenAPI document](https://skmtc.dev/pismo/apis/card-issuing-cards/revisions/05611ac051b0?raw)
