---
title: "Remove an API key"
method: POST
path: "/api_keys/remove"
tags: ["API KEYS"]
---

# Remove an API key

`POST /api_keys/remove`

Remove an existing API key

## Request body

- object
  - `id` string, required — The ID of the existing API key you wish to remove.
  - `subaccount_id` string — If you wish to make this API call on behalf of a subaccount then include its unique ID here.

## Response `200`

Successfully removed API key

## Other responses

- `400` — 400

---

[API](https://skmtc.net/smtp2go/apis/smtp2go-api-v3-0-4.md) · [All operations](https://skmtc.net/smtp2go/apis/smtp2go-api-v3-0-4/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/smtp2go/smtp2go-api-v3-0-4/revisions/1ba6b25eebb9/schema)
