<@U04S8PLJWMT> how can we clear multiple streams f...
# ask-ai
m
@kapa.ai how can we clear multiple streams for a specific connection?
k
To clear multiple streams for a specific connection in Airbyte, you can use the UI to clear all affected streams when making schema or configuration changes, or you can clear all streams in a connection at once. Here’s how you can do it: 1. Via Schema Changes (Prompted Clear): - When you make configuration or schema changes that affect multiple streams, Airbyte will prompt you to clear the affected streams. You can approve this prompt to clear only those streams that have changed. 2. Clear All Streams in a Connection: - Navigate to the connection’s Settings tab. - Click Clear data. - Confirm the selection to remove all previously synced data from the destination for that connection. 3. Clear Individual Streams: - If you want to clear specific streams (but not all), go to the connection’s Status page. - Click the three grey dots next to each stream you want to clear and select Clear data for each one. Currently, the UI does not provide a direct way to select and clear an arbitrary subset of streams in a single action, but you can clear all affected streams when prompted or clear them one by one as described above. Airbyte also supports clearing multiple streams through the API, but the documentation does not provide detailed steps for this method. Important: After clearing, you need to trigger a sync to reload the data for the cleared streams. Be aware that clearing data is irreversible and may lead to data loss if your source does not retain all historical records. For more details, see the official documentation on [Clearing your data](https://docs.airbyte.com/platform/operator-guides/clear). Sources: [Clearing your data](https://docs.airbyte.com/platform/operator-guides/clear)
m
@kapa.ai ok....can you give me the documentation of api's, which clear multiple streams?
k
A message from kapa.ai
I'm sorry, but the knowledge sources do not provide specific API documentation or example requests for clearing multiple streams in a single API call. The documentation confirms that Airbyte supports clearing multiple streams through the API, but it does not include the exact API endpoints, request formats, or detailed instructions for this operation. It only provides general guidance and refers users to the main API documentation for further details, which is located at [reference.airbyte.com](https://reference.airbyte.com/reference/getting-started) [Clearing your data](https://docs.airbyte.com/platform/operator-guides/clear). If you need the exact API details for clearing multiple streams, you will need to consult the full API reference or reach out to Airbyte support for more specific guidance.
m
@kapa.ai api/v1/connections/clear/stream give details for this.
k
A message from kapa.ai
I'm sorry, but the knowledge sources provided do not contain any details or documentation about the
api/v1/connections/clear/stream
endpoint. There is no information about its usage, parameters, or example requests in the available documentation. The sources only mention that clearing multiple streams via the API is supported, but do not provide specifics about the endpoints or their usage. For detailed API documentation, you may need to consult the official Airbyte API reference at [reference.airbyte.com](https://reference.airbyte.com/reference/getting-started), as the current knowledge sources do not include this information.