Preview deleting many streams
POST
/streams/bulk-delete/plan/manage Delete and money: deletes, credits, servers or panel settings. Scopes
What deleting the selection would remove, touching nothing: streams, their sessions, the sources only they use (sources_orphaned) and the streams playing now. A selection is the streams ticked (ids) or every stream the list filters select (all_matching: true with filters, less exclude).
Body
selectionobjectrequiredThe streams a bulk action applies to: the ones ticked (
ids), or every stream the list filters select (all_matching: truewithfilters, which take the list's query parameters), lessexclude.idsstring (uuid)[]all_matchingbooleanDefault:
falsefiltersobjectexcludestring (uuid)[]
Response
200 OK
streamsintegerrequiredsessionsintegerrequiredsources_orphanedintegerrequiredSources deleted with them.
sources_keptintegerrequiredSources other streams still use.
playingintegerrequiredStreams stopped first.
samplestring[]requiredUp to 10 names.
Errors
- 400 Something sent is not valid. Each field that is wrong is named with what is wrong.
- 401 No credential, or one that is wrong, expired or revoked.
- 403 The account, or the key's or app's scopes, may not do this.
- 429 Slow down: wait the seconds in the Retry-After header, then try again.