curl --request PUT \
--url https://platform.unstructuredapp.io/api/v1/destinations/{destination_id} \
--header 'Content-Type: application/json' \
--data '{
"config": {
"collection_name": "<string>",
"keyspace": "<string>",
"batch_size": 20,
"api_endpoint": "<string>",
"token": "<string>",
"flatten_metadata": false
}
}'
{
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"name": "<string>",
"type": "astradb",
"config": {
"collection_name": "<string>",
"keyspace": "<string>",
"batch_size": 123,
"api_endpoint": "<string>",
"token": "<string>"
},
"created_at": "2023-11-07T05:31:56Z",
"updated_at": "2023-11-07T05:31:56Z"
}
Update the configuration of an existing destination connector.
curl --request PUT \
--url https://platform.unstructuredapp.io/api/v1/destinations/{destination_id} \
--header 'Content-Type: application/json' \
--data '{
"config": {
"collection_name": "<string>",
"keyspace": "<string>",
"batch_size": 20,
"api_endpoint": "<string>",
"token": "<string>",
"flatten_metadata": false
}
}'
{
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"name": "<string>",
"type": "astradb",
"config": {
"collection_name": "<string>",
"keyspace": "<string>",
"batch_size": 123,
"api_endpoint": "<string>",
"token": "<string>"
},
"created_at": "2023-11-07T05:31:56Z",
"updated_at": "2023-11-07T05:31:56Z"
}
Successful Response
The response is of type object
.
Was this page helpful?