Skip to main content
DELETE
/
v1
/
llm-provider
/
{provider}
Delete LLM provider configuration
curl --request DELETE \
  --url https://api.example.com/v1/llm-provider/{provider} \
  --header 'Authorization: Bearer <token>'
{
  "provider": "openai"
}

Documentation Index

Fetch the complete documentation index at: https://docs.re-factor.ai/llms.txt

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

Delete an LLM provider configuration.

Path Parameters

ParameterTypeRequiredDescription
providerstringyesThe provider to delete configuration for (e.g., openai, anthropic)

Response Examples

Success Response

{
  "provider": "openai"
}

Provider Not Found

{
  "error": {
    "code": "NOT_FOUND",
    "message": "No configuration found for provider: openai"
  }
}

Usage Example

curl -X DELETE "https://api.psci.ai/api/v1/llm-provider/openai" \
  -H "Authorization: Bearer ${API_KEY}"

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

provider
enum<string>
required

The LLM provider to delete configuration for The provider to use for LLM access

Available options:
openai,
anthropic,
google,
google-vertex,
azure,
amazon-bedrock,
xai

Response

OK

provider
enum<string>

The provider to use for LLM access

Available options:
openai,
anthropic,
google,
google-vertex,
azure,
amazon-bedrock,
xai