---
title: "Delete One Public Key"
method: DELETE
path: "/accounts/{{account_id}}/keys/{key_id}"
tags: ["Key"]
---

# Delete One Public Key

`DELETE /accounts/{{account_id}}/keys/{key_id}`

Delete one public key associated with a specified account

## Path parameters

- `account_id` string, required
- `key_id` string, required

## Headers

- `Content-Type` string, required
- `Authorization` string, required

## Response `204`

SUCCESS: The specified public key has been removed from the Key API

## Other responses

- `400` — NOT_AVAILABLE: The resource you are requesting is temporarily unavailable
- `401` — UNAUTHORIZED: Authentication failed; check to make sure your policy key is correct
- `404` — RESOURCE_NOT_FOUND: The api could not find the resource you requested
- `500` — UNKNOWN: Issue in Brightcove system; try again later. TIMEOUT: Server likely too busy; try again later.

## Changes

- **2023-03-26** `553d8996cd0e` — 1 info
  - endpoint added

[Change history](https://skmtc.dev/brightcovelearning/apis/key-api-reference/changes/accounts/:{account_id}/keys/:key_id/delete.md)

---

[API](https://skmtc.dev/brightcovelearning/apis/key-api-reference.md) · [All operations](https://skmtc.dev/brightcovelearning/apis/key-api-reference/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/brightcovelearning/key-api-reference/revisions/553d8996cd0e/schema)
