---
title: "Bulk Delete Agent Provider Keys"
method: POST
path: "/api/agents/{agent_id}/provider-keys/bulk-delete"
tags: ["agents"]
---

# Bulk Delete Agent Provider Keys

`POST /api/agents/{agent_id}/provider-keys/bulk-delete`

## 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/bulk-delete`
- Auth: none declared

Permanently delete several of an agent's provider keys in one call.

TOS-1591 A5: bulk delete is the only bulk action for keys — there is no bulk
move. Irreversible, so it is admin-gated via the ADDITIVE folder rung on top
of the active-agent-owner authority.

## Path parameters

- `agent_id` string, uuid, required

## Headers

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

## Request body

- BulkDeleteAgentProviderKeysRequest
  - `providers` string[], required

## Response `200`

Successful Response

- BulkDeleteAgentProviderKeysResponse
  - `ok` boolean
  - `deleted` integer, required

## 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/ce2c2ce318b1?raw)
