Deletes multiple streams in a single request. A stream cannot be deleted if it is currently in use by a landing page or other entity; the request returns a 400 error in that case.
Requires the stream:write or streams.write permission.
Request
DELETE /stream
Headers
| Header | Value |
|---|---|
Authorization | Bearer <token> |
Content-Type | application/json |
Request Body
| Field | Type | Required | Description |
|---|---|---|---|
ids | array | Yes | Array of stream IDs to delete. |
Example Request
{
"ids": [1, 2, 3]
}Response
Returns a confirmation object on success, or a 400 error if ids is not an array or if one of the streams is in use.
Example Response
{
"ok": true
}
