Delete Ingress
Deletes an existing ingress by its ID. This will stop any active stream.
Endpoint
DELETE /api/ingress/{ingressId}Request Headers
| Header | Required | Description |
|---|---|---|
x-api-key | Yes | Your API key |
Path Parameters
| Parameter | Type | Required | Description |
|---|---|---|---|
ingressId | string | Yes | The ID of the ingress to delete |
Example Request
curl -X DELETE https://live-api.block8910.com/api/ingress/IN_xxxxxxxxxxxxxx \
-H "x-api-key: YOUR_API_KEY"Response
{
"success": true,
"message": "Ingress deleted successfully"
}Error Response
If the ingress doesn't exist:
{
"error": "Failed to delete ingress",
"message": "ingress not found"
}Notes
- Deleting an ingress will immediately disconnect any active stream
- The stream key becomes invalid after deletion
- Viewers watching the stream will be disconnected