cURL
curl --request POST \ --url https://cloud.onyx.app/api/manage/admin/connector/{connector_id}/files/update \ --header 'Authorization: Bearer <token>' \ --header 'Content-Type: multipart/form-data' \ --form 'files=<string>' \ --form 'file_ids_to_remove=[]' \ --form files.0.items='@example-file'
{ "file_paths": [ "<string>" ], "file_names": [ "<string>" ], "zip_metadata": {} }
Update files in a connector by adding new files and/or removing existing ones. This is an atomic operation that validates, updates the connector config, and triggers indexing.
Authorization header with Bearer token
Successful Response
Was this page helpful?