> For the complete documentation index, see [llms.txt](https://docs.udara360.io/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.udara360.io/udara360-docs-1/cards/interswitch/unlinkinstantcard.md).

# UnLinkInstantCard

To delink a card from its linked account, you can send a `PUT` request to the following endpoint:

<mark style="color:blue;">`PUT`</mark> `/api/Card/v{{version}}/Interswitch/UnlinkInstantCard`

The request body should contain the `cardId` of the card record to unlink and the `accountNumber` currently linked to the card.

This endpoint streamlines the process of removing the association between a card and an account, offering a single call to reverse what LinkInstantCard set up.

{% hint style="info" %}
This can be used only for Instant Cards.
{% endhint %}

**Headers**

| Name                                           | Value              |
| ---------------------------------------------- | ------------------ |
| Content-Type<mark style="color:red;">\*</mark> | `application/json` |
| Request-Reference                              | `unique_string`    |

**Body**

<table><thead><tr><th>Name</th><th>Data Type</th><th data-type="checkbox">Required</th><th>Description</th></tr></thead><tbody><tr><td><code>cardId</code></td><td>string</td><td>true</td><td>Id of the card record to unlink.</td></tr><tr><td><code>accountNumber</code></td><td>string</td><td>true</td><td>Account number linked to the card which is to be unlinked.</td></tr></tbody></table>

Here is an example request and response with a sample payload sent to the endpoint in Curl format.

<details>

<summary>Sample Request</summary>

```json
curl --location -g --request PUT '{{baseUrl}}/api/Card/v{{version}}/Interswitch/UnLinkInstantCard' \
--header 'Content-Type: application/json' \
--data '{
  "cardId": "6099f04c-b963-4919-35a4-104a42eeell8",
  "accountNumber": "1200087103"
}'
```

</details>

<details>

<summary>Response: <code>200</code></summary>

```json
{
  "status": true,
  "message": "Operation Successful"
}
```

</details>
