curl --request DELETE \
--url https://api.sequin.io/v1/streams/c906b4a4-0cda-4f46-bd80-255f570c195d \
--header 'Authorization: Bearer YOUR_API_TOKEN'
{
"deleted": true,
"id": "c906b4a4-0cda-4f46-bd80-255f570c195d"
}
Streams
Delete a stream
This endpoint deletes a stream.
DELETE
/
v1
/
streams
/
{id}
curl --request DELETE \
--url https://api.sequin.io/v1/streams/c906b4a4-0cda-4f46-bd80-255f570c195d \
--header 'Authorization: Bearer YOUR_API_TOKEN'
{
"deleted": true,
"id": "c906b4a4-0cda-4f46-bd80-255f570c195d"
}
This operation is permanent and not reversible. Sequin will only let you destroy a stream if it has no syncs or consumers connected to it.
Request parameters
string
required
ID of the stream.
curl --request DELETE \
--url https://api.sequin.io/v1/streams/c906b4a4-0cda-4f46-bd80-255f570c195d \
--header 'Authorization: Bearer YOUR_API_TOKEN'
{
"deleted": true,
"id": "c906b4a4-0cda-4f46-bd80-255f570c195d"
}
⌘I

