PUT
/
api
/
v1
/
destinations
/
{destination_id}
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"
}

Headers

unstructured-api-key
string | null

Path Parameters

destination_id
string
required

Body

application/json

Response

200
application/json

Successful Response

The response is of type object.