# Deleting and Expiring API Keys

## Deleting API Keys

1. **Click the trash icon** next to the API key you want to delete. A confirmation dialog titled **“Delete your API key”** will appear. Click **“Delete API key”** to confirm.

<div><figure><img src="/files/rUjVsRAnvsSlGyAl3C1b" alt=""><figcaption></figcaption></figure> <figure><img src="/files/5rlEEYkTK8z6lmAtgibp" alt=""><figcaption></figcaption></figure></div>

2. After deletion, you’ll return to the dashboard. A notification saying **“Deleted the API key.”** will appear at the bottom right of the screen.

<figure><img src="/files/8RtM5mwpFI5KERuIb1M7" alt=""><figcaption></figcaption></figure>

## Expiring API Keys

#### Where to View Expiry

1. You can view your API key’s expiration date in the API dashboard, under the API Keys section.

<figure><img src="/files/2dquPamnGZdaC2UyH5vn" alt=""><figcaption></figcaption></figure>

#### Expiry Notifications

1. To help ensure uninterrupted service, users will receive email notifications before an API key expires.&#x20;
2. These notifications are sent at the following intervals:
   1. 3 months before expiry
   2. 1 month before expiry
   3. 3 weeks before expiry
   4. 1 week before expiry
3. Example of email notification

<figure><img src="/files/HpJLIuit5JI0Uq7iiVJD" alt=""><figcaption></figcaption></figure>

> Each email will specify the expiring key and its exact expiration date and time (in SGT), with a link to your dashboard to manage or renew the key.


---

# Agent Instructions: 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://guide.data.gov.sg/developer-guide/api-overview/deleting-and-expiring-api-keys.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.
