---
title: "Remove Provider Key"
method: DELETE
path: "/api/provider-keys/{provider}"
tags: ["provider-keys"]
---

# Remove Provider Key

`DELETE /api/provider-keys/{provider}`

Revoke the caller's key for *provider*, at the provider and here.

Returns a body rather than 204 so the caller learns whether the key was
actually deactivated at the provider; a silent success would imply it
always is.

## Path parameters

- `provider` 'anthropic' | 'openai', required — Model providers ``qkey`` can hand out keys for.

## Response `200`

Successful Response

- RemoveResponse
  - `provider` 'anthropic' | 'openai', required — Model providers ``qkey`` can hand out keys for.
  - `key_hint` string, required
  - `deactivated_at_provider` boolean, required

## Other responses

- `422` — Validation Error

## Changes

- **2026-08-30** `f4de1bab5efb` — 1 info
  - endpoint added

[Change history](https://skmtc.dev/quadrillion/apis/quadrillion-cloud-api/changes/api/provider-keys/:provider/delete.md)

---

[API](https://skmtc.dev/quadrillion/apis/quadrillion-cloud-api.md) · [All operations](https://skmtc.dev/quadrillion/apis/quadrillion-cloud-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/quadrillion/quadrillion-cloud-api/revisions/f4de1bab5efb/schema)
