Skip to main content
PATCH
/
v1
/
provider-keys
/
:provider
/
toggle
Toggle a BYOK provider key active/inactive
curl --request PATCH \
  --url https://api.verlon.ai/v1/provider-keys/:provider/toggle \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "isActive": true
}
'
{
  "error": "<string>",
  "message": "<string>",
  "details": "<unknown>"
}

Documentation Index

Fetch the complete documentation index at: https://docs.verlon.ai/llms.txt

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

Authorizations

Authorization
string
header
required

Layer API key (prefixed sk-). Generated from the dashboard under Settings → API Keys, or via layer key create in the CLI.

Path Parameters

provider
enum<string>
required
Available options:
openai,
anthropic,
google,
mistral

Body

application/json
isActive
boolean
required

Response

Toggle applied.