---
title: "Delete API Key"
method: POST
path: "/v1/accounts/{account_id}/users/{user_id}/apiKeys:delete"
tags: ["gateway.openapi_Gateway"]
---

# Delete API Key

`POST /v1/accounts/{account_id}/users/{user_id}/apiKeys:delete`

## Request

- Base URL: `https://api.fireworks.ai`
- URL: `https://api.fireworks.ai/v1/accounts/{account_id}/users/{user_id}/apiKeys:delete`
- Auth: HTTP bearer
- TypeScript: <https://skmtc.dev/fw-ai-external/apis/gateway-rest-api/docs/v1/accounts/:account_id/users/:user_id/apiKeys:delete/post.ts> (a function with typed inputs; its response is checked against the schema)

## Path parameters

- `account_id` string, required
- `user_id` string, required

## Request body

- GatewayGatewayDeleteApiKeyBody
  - `keyId` string, required: The key ID for the API key.

## Response `200`

A successful response.

- object

## Changes

- **2025-11-06** `311efdb2fa57`: 3 info
  - the endpoint scheme security `BearerAuth` was added to the API
  - api tag `gateway.openapi_Gateway` added
  - api tag `Gateway` removed

[Operation history](https://skmtc.dev/fw-ai-external/apis/gateway-rest-api/changes/v1/accounts/:account_id/users/:user_id/apiKeys:delete/post.md)

---

[API](https://skmtc.dev/fw-ai-external/apis/gateway-rest-api.md) - [All operations](https://skmtc.dev/fw-ai-external/apis/gateway-rest-api/llms.txt) - [OpenAPI document](https://skmtc.dev/fw-ai-external/apis/gateway-rest-api/revisions/3bf245180173?raw)
