cURL
curl --request PATCH \ --url https://api.prequel.co/import/streams/{id} \ --header 'Content-Type: application/json' \ --header 'X-API-KEY: <api-key>' \ --data ' { "name": "<string>", "is_valid": true, "is_enabled": true, "mappings": [ {} ] } '
{ "name": "<string>", "destination_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a", "dataset_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a", "mappings": [ {} ], "id": "3c90c3cc-0d44-4b50-8888-8dd25736052a", "is_valid": true, "is_enabled": true }
Updated
Mapping structure intentionally left flexible here because expression semantics remain under definition.