BYOK

Delete a BYOK provider credential

Delete (soft-delete) a bring-your-own-key (BYOK) provider credential by its id. The encrypted key material is wiped and the record is marked as deleted. Management key required.

delete/byok/{id}

Request

  • Base URL: https://openrouter.ai/api/v1
  • URL: https://openrouter.ai/api/v1/byok/{id}
  • Auth: HTTP bearer

Path parameters

idstring uuid required

The BYOK credential ID (UUID).

Example:11111111-2222-3333-4444-555555555555

Response

BYOK credential deleted successfully

deletedtrue required

Confirmation that the BYOK credential was deleted.

Example response

{
  "deleted": true
}

Changes

No recorded changes to this operation across all 364 revisions of this API.