curl --request PATCH \
--url https://api.sequin.io/v1/streams/c906b4a4-0cda-4f46-bd80-255f570c195d \
--header 'Authorization: Bearer YOUR_API_TOKEN' \
--header 'Content-Type: application/json' \
--data '{ "slug": "dev" }'
{
"id": "c906b4a4-0cda-4f46-bd80-255f570c195d",
"slug": "dev",
"org_id": "75958cea-c981-4116-9a0d-c1e99e826688",
"created_at": "2024-12-15 01:29:29",
"updated_at": "2024-12-15 01:29:29"
}
Streams
Update a stream
This endpoint updates a stream.
PATCH
/
v1
/
streams
/
{id}
curl --request PATCH \
--url https://api.sequin.io/v1/streams/c906b4a4-0cda-4f46-bd80-255f570c195d \
--header 'Authorization: Bearer YOUR_API_TOKEN' \
--header 'Content-Type: application/json' \
--data '{ "slug": "dev" }'
{
"id": "c906b4a4-0cda-4f46-bd80-255f570c195d",
"slug": "dev",
"org_id": "75958cea-c981-4116-9a0d-c1e99e826688",
"created_at": "2024-12-15 01:29:29",
"updated_at": "2024-12-15 01:29:29"
}
Request parameters
string
required
The ID of the sync.
string
Slug of the stream.
curl --request PATCH \
--url https://api.sequin.io/v1/streams/c906b4a4-0cda-4f46-bd80-255f570c195d \
--header 'Authorization: Bearer YOUR_API_TOKEN' \
--header 'Content-Type: application/json' \
--data '{ "slug": "dev" }'
Response fields
{
"id": "c906b4a4-0cda-4f46-bd80-255f570c195d",
"slug": "dev",
"org_id": "75958cea-c981-4116-9a0d-c1e99e826688",
"created_at": "2024-12-15 01:29:29",
"updated_at": "2024-12-15 01:29:29"
}
string
ID of the stream.
string
Slug of the stream.
string
ID of your organization.
string
Timestamp of when the stream was created, in ISO 8601 format.
string
Timestamp of when the stream was last updated, in ISO 8601 format.

