PUT
/
api
/
v1
/
sources
/
{source_id}
Update source connector
curl --request PUT \
  --url https://platform.unstructuredapp.io/api/v1/sources/{source_id} \
  --header 'Content-Type: application/json' \
  --data '{
  "config": {
    "remote_url": "<string>",
    "account_name": "<string>",
    "account_key": "<string>",
    "connection_string": "<string>",
    "sas_token": "<string>",
    "recursive": true
  }
}'
{
  "id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
  "name": "<string>",
  "type": "azure",
  "config": {
    "remote_url": "<string>",
    "account_name": "<string>",
    "account_key": "<string>",
    "connection_string": "<string>",
    "sas_token": "<string>",
    "recursive": true
  },
  "created_at": "2023-11-07T05:31:56Z",
  "updated_at": "2023-11-07T05:31:56Z"
}

Headers

unstructured-api-key
string | null

Path Parameters

source_id
string<uuid>
required

Body

application/json
config
object
required

Response

Successful Response

id
string<uuid>
required
name
string
required
type
enum<string>
required
Available options:
azure,
box,
confluence,
couchbase,
databricks_volumes,
dropbox,
elasticsearch,
gcs,
google_drive,
kafka-cloud,
mongodb,
onedrive,
outlook,
postgres,
s3,
salesforce,
sharepoint,
slack,
snowflake,
jira,
zendesk
config
object
required
created_at
string<date-time>
required
updated_at
string<date-time> | null