# API Keys

This section displays a table listing all **API keys** configured for your organization.

For each key, the table displays the following information:

* Title
* Unique identifier (ID)
* User who created the key
* Creation date
* Expiration date

A contextual menu <img src="https://3291879974-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F9n1KCuTyIKwSpZcPcC6l%2Fuploads%2FIiSgmqj0JLuaBKevonkv%2Fmenu.png?alt=media&#x26;token=42be5883-97c6-4e3e-8aab-4ba1da610f6b" alt="" data-size="line"> in each column header allows you to **sort, filter, hide, or display attributes** according to your needs.

## Adding an API Key

1. Click **Add Key**.
2. Enter a name and expiration date, then choose the role assigned to the key (only **Editor** and **Viewer** roles are available). Fields marked with an asterisk (\*) are required.
3. Click **Create**.

A message reminds you that the key is **private** and will no longer be accessible after the window is closed.

Make sure to copy it immediately using the copy icon <img src="https://3291879974-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F9n1KCuTyIKwSpZcPcC6l%2Fuploads%2FzzDyH68KLKGdfWI7M4Nl%2Fcopy.png?alt=media&#x26;token=702f7ae6-f6ef-4e33-acae-0a75b73823dd" alt="" data-size="line"> if you need to use it elsewhere.

Click **OK** to complete the creation. The key is then added to the table.&#x20;

## Managing API Keys

To manage an API key, hover over its row to display the contextual menu, then click it to access the available options:

* **View information**
* **Delete**

The information view displays:

* Title
* Creator
* Role
* Email address
* Expiration date

You can copy the email address using the copy icon.

## Deleting an API Key

You can delete API keys that are no longer needed. However, be aware of the implications: a key may own resources such as **data sources, projects, layers, or tables**.

Before deleting a key, make sure to transfer ownership of its resources to another member of the organization. Otherwise, the resources will be deleted along with the key.

#### Deletion steps

1. Click the menu and select **Delete**.
2. Confirm your intention in the dialog box.
3. If the key owns resources, a list of members with the **Editor** role will be displayed. Select the member to whom the resources will be transferred.
4. If the key owns no resources, confirm the deletion.

The selected member becomes the owner of all transferred resources. Access permissions associated with the deleted key are removed.

{% hint style="warning" %}
Resources without another owner will be **permanently deleted**.
{% endhint %}

{% hint style="warning" %}
Deleting an API key is **irreversible**. The key is permanently removed from **JMap Cloud**.
{% endhint %}
