PUT
/
api
/
v1
/
ai
/
provider
Update A I Provider
curl --request PUT \
  --url http://localhost:8080/api/v1/ai/provider \
  --header 'Authorization: Basic <encoded-value>' \
  --header 'Content-Type: application/json' \
  --data '{
  "provider": "<string>",
  "api_key": "<string>"
}'
{
  "status": "success",
  "data": true
}

Authorizations

Authorization
string
header
required

Basic authentication using base64 encoded API key and secret. Format: Authorization: Basic <base64(api_key:api_secret)>

Body

application/json

AI provider configuration

The body is of type object.

Response

200
application/json

AI provider updated successfully

The response is of type object.