Delete Stream
Permanently removes a stream and gracefully disconnects all connected listener sessions
DELETE/streams/{id}
Request Parameters
Required headers and parameter specifications for this endpoint.
Headers
| Header | Type | Required | Description |
|---|---|---|---|
| X-PolyEdge-Key | string | required | PolyEdge API Key for client authentication and rate-limiting |
Path Parameters
| Parameter | Type | Required | Description |
|---|---|---|---|
| id | string | required | Stream ID |
Response (200 OK)
Field definitions for the successful response payload.
200 Response Example
json
{
"id": "c9d57864-338f-4240-aa37-e7ab4ea491fb"
}Response Body Fields
| Field | Type | Description |
|---|---|---|
id | string | - |
cURL Example
Copy and run this command directly in your terminal to test this endpoint.
cURL: DELETE /streams/{id}
bash
curl -X DELETE "https://stream.polyedge.dev/streams/c9d57864-338f-4240-aa37-e7ab4ea491fb" \
-H "Content-Type: application/json" \
-H "X-PolyEdge-Key: Your-PolyEdge-ApiKey"