---
title: "Delete Agent Provider Key"
method: DELETE
path: "/api/agents/{agent_id}/provider-keys/{provider}"
tags: ["agents"]
---

# Delete Agent Provider Key

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

## Request

- Base URL: `https://app.thinqos.com` (the document declares no server; this is the origin it was published from)
- URL: `https://app.thinqos.com/api/agents/{agent_id}/provider-keys/{provider}`
- Auth: none declared

Hard-delete a provider key stored on the agent identity.

TOS-1591 A4: permanent — no recycle bin, no restore. Irreversible, so it
requires the ADDITIVE admin rung on the agent's home folder (A3).

## Path parameters

- `agent_id` string, uuid, required
- `provider` string, required

## Headers

- `x-impersonate-identity-id` string, nullable

## Response `204`

Successful Response

## Other responses

- `422`: Validation Error

---

[API](https://skmtc.dev/thinqos/apis/thinqos-api.md) · [All operations](https://skmtc.dev/thinqos/apis/thinqos-api/llms.txt) · [OpenAPI document](https://skmtc.dev/thinqos/apis/thinqos-api/revisions/5387b4ded614?raw)
