# How to revoke an API key

# How do I revoke an API key?

This article explains how to **revoke an API key**. Follow these steps to disable programmatic access for a specific integration. This ensures your workspace data remains secure.

### In this article, you will learn how to

- **Revoke an API key from a service account**.
- Stop external integrations from using a disabled token.
- Handle confirmation blocks on the dashboard.

## Before you start

Before revoking an API key, make sure you have:
- **Admin access to your Flownally workspace**.
- A service account containing at least one API key.

> **Important:** Revoking an API key is permanent and cannot be undone. **Any software using this token will lose connection** to your account immediately.

## How to revoke an API key

1. Log in to your Flownally workspace.
2. Go to the **Settings** tab.
3. Go to the **API Access** section

![](/help-center/09-settings/02-API/01-01-service-accounts-list.png)

4. **Click on a service account**.
5. Click on the **Revoke** button next to a specific key.

![](/help-center/09-settings/02-API/03-01-revoke-api-key.png)

6. Confirm by clicking on the **Yes, delete** button. 

![](/help-center/09-settings/02-API/03-02-delete-api-key-confirmation.png)

## What happens after revoking an API key?

After revoking an API key, the target token is permanently deleted from your service account. Any external tool attempting to connect with this credential will receive an authentication error. Your system access remains safe from old integrations.

## Troubleshooting

### Revoke button is unclickable

This happens due to a temporary interface loading lag. You must refresh your dashboard page and try clicking again.

### Key is still listed after deletion

This occurs because of a temporary database synchronization delay. You need to reload your browser tab to see the updated status.

## Related articles

- [Flownally API Documentation](https://help.flownally.com/api)
- [How to create a service account](/settings/api/create-service-account)
- [How to create a new API key](/settings/api/create-api-key)
- [How to delete a service account](/settings/api/delete-service-account)
