Skip to main content
DELETE
/
byok
/
{id}
Delete a BYOK provider credential
curl --request DELETE \
  --url https://openrouter.ai/api/v1/byok/{id} \
  --header 'Authorization: Bearer <token>'
{
  "deleted": true
}

Authorizations

Authorization
string
header
required

API key as bearer token in Authorization header

Path Parameters

id
string<uuid>
required

The BYOK credential ID (UUID).

Example:

"11111111-2222-3333-4444-555555555555"

Response

BYOK credential deleted successfully

deleted
boolean
required

Confirmation that the BYOK credential was deleted.

Example:

true