Toggle a BYOK provider key active/inactive
Provider Keys
Toggle a BYOK provider key active/inactive
Use when: caller wants to temporarily disable a BYOK provider key (so Layer falls back to pooled credentials) without deleting it, or re-enable a previously disabled key
Activates or deactivates a provider key without deleting it. Useful for temporarily disabling BYOK routing for a provider while keeping the registered key for later re-enablement.
PATCH
Toggle a BYOK provider key active/inactive
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
Layer API key (prefixed sk-). Generated from the dashboard under Settings → API Keys, or via layer key create in the CLI.
Path Parameters
Available options:
openai, anthropic, google, mistral Body
application/json
Response
Toggle applied.