Skip to main content
DELETE
/
api
/
providers
/
{provider}
Delete a provider
curl --request DELETE \
  --url http://localhost:8080/api/providers/{provider}
{
  "name": "openai",
  "keys": [
    {
      "id": "<string>",
      "name": "<string>",
      "value": "<string>",
      "models": [
        "<string>"
      ],
      "weight": 123,
      "azure_key_config": {
        "endpoint": "<string>",
        "deployments": {},
        "api_version": "<string>"
      },
      "vertex_key_config": {
        "project_id": "<string>",
        "project_number": "<string>",
        "region": "<string>",
        "auth_credentials": "<string>",
        "deployments": {}
      },
      "bedrock_key_config": {
        "access_key": "<string>",
        "secret_key": "<string>",
        "session_token": "<string>",
        "region": "<string>",
        "arn": "<string>",
        "deployments": {},
        "batch_s3_config": {
          "buckets": [
            {
              "bucket_name": "<string>",
              "prefix": "<string>",
              "is_default": true
            }
          ]
        }
      },
      "huggingface_key_config": {
        "deployments": {}
      },
      "enabled": true,
      "use_for_batch_api": true
    }
  ],
  "network_config": {
    "base_url": "<string>",
    "extra_headers": {},
    "default_request_timeout_in_seconds": 123,
    "max_retries": 123,
    "retry_backoff_initial": 123,
    "retry_backoff_max": 123
  },
  "concurrency_and_buffer_size": {
    "concurrency": 123,
    "buffer_size": 123
  },
  "proxy_config": {
    "type": "none",
    "url": "<string>",
    "username": "<string>",
    "password": "<string>",
    "ca_cert_pem": "<string>"
  },
  "send_back_raw_request": true,
  "send_back_raw_response": true,
  "custom_provider_config": {
    "is_key_less": true,
    "base_provider_type": "openai",
    "allowed_requests": {
      "list_models": true,
      "text_completion": true,
      "text_completion_stream": true,
      "chat_completion": true,
      "chat_completion_stream": true,
      "responses": true,
      "responses_stream": true,
      "count_tokens": true,
      "embedding": true,
      "speech": true,
      "speech_stream": true,
      "transcription": true,
      "transcription_stream": true,
      "batch_create": true,
      "batch_list": true,
      "batch_retrieve": true,
      "batch_cancel": true,
      "batch_results": true,
      "file_upload": true,
      "file_list": true,
      "file_retrieve": true,
      "file_delete": true,
      "file_content": true
    },
    "request_path_overrides": {}
  },
  "status": "active"
}

Path Parameters

provider
string
required

Provider name

Response

Provider deleted successfully

Provider configuration response

name
enum<string>

AI model provider identifier

Available options:
openai,
azure,
anthropic,
bedrock,
cohere,
vertex,
mistral,
ollama,
groq,
sgl,
parasail,
perplexity,
cerebras,
gemini,
openrouter,
elevenlabs,
huggingface,
nebius
keys
object[]
network_config
object

Network configuration for provider connections

concurrency_and_buffer_size
object

Concurrency settings

proxy_config
object

Proxy configuration

send_back_raw_request
boolean
send_back_raw_response
boolean
custom_provider_config
object

Custom provider configuration

status
enum<string>

Status of the provider

Available options:
active,
error,
deleted