> For the complete documentation index, see [llms.txt](https://developer.siteminder.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://developer.siteminder.com/direct-booking-api/additional-resources/manage-api-key.md).

# Manage API Key

{% hint style="warning" %}
Before you can view or revoke, a key must exist. See [Generate API Key](/direct-booking-api/additional-resources/generate-api-key.md).
{% endhint %}

### View Key

Click **View Key** to display your API key. Keys are hidden by default to prevent accidental exposure.

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

### Hide Key / Revoke Access

You will see the **Hide Key** and **Revoke Access** buttons below a generated key, after the **View Key** button is clicked.

Click **Revoke Access** to permanently invalidate your current key. Do this if your key is compromised or after completing a key rotation. A new key will not be generated automatically — you must generate one manually.

<figure><img src="/files/4FsqTJ7FjaTE6EzrhqjL" alt=""><figcaption></figcaption></figure>


---

# 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://developer.siteminder.com/direct-booking-api/additional-resources/manage-api-key.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.
