Skip to main content
DELETE
/
api
/
v1
/
byok
/
providers
/
{provider}
Delete a BYOK provider key
curl --request DELETE \
  --url https://neo.api.projectdiscovery.io/api/v1/byok/providers/{provider} \
  --header 'Authorization: Bearer <token>'
{
  "auto_switched": true,
  "deleted": true,
  "provider": "<string>",
  "remaining_keys": 123
}

Documentation Index

Fetch the complete documentation index at: https://docs.neo.projectdiscovery.io/llms.txt

Use this file to discover all available pages before exploring further.

Authorizations

Authorization
string
header
required

JWT authentication token

Path Parameters

provider
enum<string>
required

Provider identifier

Available options:
openrouter,
anthropic,
openai,
google,
xai,
vercel-gateway,
google-vertex,
amazon-bedrock

Response

Provider key deleted

auto_switched
boolean
required

Whether the mode was auto-switched to "neo" (happens when last key is deleted)

deleted
boolean
required

Whether the key was deleted

provider
string
required

The provider that was deleted

remaining_keys
integer
required

Number of remaining provider keys