PUT
/
api
/
v1
/
sources
/
{source_id}
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
required

Body

application/json

Response

200
application/json

Successful Response

The response is of type object.