---
title: "Delete a BYOK key"
method: DELETE
path: "/providers/{provider}"
---

# Delete a BYOK key

`DELETE /providers/{provider}`

## Request

- Base URL: `https://app.fullenrich.com/api/v2`
- URL: `https://app.fullenrich.com/api/v2/providers/{provider}`
- Auth: HTTP bearer
- TypeScript: <https://skmtc.dev/fullenrich/apis/fullenrich-api-documentation/docs/providers/:provider/delete.ts> (a function with typed inputs; its response is checked against the schema)

Delete the key and its credentials. Deletion works when BYOK is not enabled for the workspace.

## Headers

- `Sub-Account-ID` string, uuid

## Response `204`

Deleted

## Other responses

- `400`: Unknown provider name
- `401`: Unauthorized
- `404`: No key for this provider in the selected scope, or the sub-account named in the header does not exist
- `429`: Too Many Requests

## Changes

- **2026-11-05** `9e5fe5ba0794`: 1 info
  - endpoint added

[Operation history](https://skmtc.dev/fullenrich/apis/fullenrich-api-documentation/changes/providers/:provider/delete.md)

---

[API](https://skmtc.dev/fullenrich/apis/fullenrich-api-documentation.md) - [All operations](https://skmtc.dev/fullenrich/apis/fullenrich-api-documentation/llms.txt) - [OpenAPI document](https://skmtc.dev/fullenrich/apis/fullenrich-api-documentation/revisions/b5bec9933c01?raw)
