Stream

Remove-MSLStream

Synopsis

Remove a stream.

Syntax

Remove-MSLStream [-StreamID] <Int32> [-PurgeContent] [[-EdgeRCFile] <String>] [[-Section] <String>] [[-AccountSwitchKey] <String>] [-ProgressAction <ActionPreference>] [<CommonParameters>]

Description

Deletes the specified stream.

If you delete an archived stream but don't include -PurgeContent, the stream will be permanently deleted, but any archived content saved on NetStorage will continue to incur billing.

If you set -PurgeContent, the stream will be permanently deleted and any archived content saved on NetStorage for this stream will also be deleted and can't be restored.

Parameters

‑AccountSwitchKey

An account credential key that lets you move between accounts when using an API client enabled for multiple accounts. To find account switch keys, use Get-AccountSwitchKey.

‑EdgeRCFile

Your EdgeGrid resource file to authenticate your command. Defaults to ~/.edgerc.

‑PurgeContent

When enabled, deletes archived content on NetStorage.

‑Section

The section name in your EdgeGrid resource file to retrieve authentication credentials from. Defaults to default.

‑StreamID
Required

Your stream's ID.

Related Links