Update retrieval source
Update a retrieval source's name or provider configuration.
Required permission: retrieval.manage.
Request
- Base URLhttps://api.connic.co
- AuthHTTP bearer
Path parameters
ID of the project the API key belongs to.
Retrieval source ID from GET /retrieval/sources.
Query parameters
Environment ID from GET /environments.
Request body
New name. Omit to keep the current one.
Keys to change, merged into the current config; omitted keys and empty integration_token, api_token, or client_secret values keep their stored values. Clears last_error and resets an error status to active.
Response
Successful Response
Environment the source syncs into.
Source type: notion, confluence (Confluence Cloud), coda (Superhuman Docs), zendesk (Zendesk Help Center), sharepoint (SharePoint and OneDrive), or website. code is the source deployments create for the project's retrieval/ folder; it can't be updated or deleted.
Provider settings without integration_token, api_token, and client_secret. For code, deployment_id of the deployment whose files it holds.
active, or error after a failed sync. Updating config resets error to active.
Start time of the most recent successful sync; null until one succeeds.
Message from the most recent sync that failed or was skipped, or a JSON string with a file_issues list when it completed with file problems; null otherwise.
Changes
No recorded changes to this operation across all 17 revisions of this API.