Update the credentials and configuration of an existing datasource. The API validates and tests the new credentials before applying changes.
name field in the credentials. After updating, the schema will be automatically re-cached.application/json for all requests.name field matching the existing datasource name.| Error Code | HTTP Status | Description |
|---|---|---|
INVALID_REQUEST_BODY | 400 | Missing required fields or invalid credential structure |
DATASOURCE_NAME_ERROR | 400 | Datasource not found |
CREDENTIAL_TEST_FAILED | 400 | Connection test failed |
AUTHENTICATION_ERROR | 401 | Invalid or missing service token |
SCHEMA_CACHE_FAILED | 500 | Schema caching failed |
DATASOURCE_NOT_FOUND | 404 | The specified datasource does not exist |
INTERNAL_SERVER_ERROR | 500 | Server error occurred |