Purge routine

Set-NetstorageCPCodePurgeRoutine

Synopsis

Modify a purge routine.

Syntax

Set-NetstorageCPCodePurgeRoutine [-CPCodeID] <Int32> [-Body] <Object> [[-AgeDeletionDirectoryPrefix] <String>] [[-EdgeRCFile] <String>] [[-Section] <String>] [[-AccountSwitchKey] <String>] [-ProgressAction <ActionPreference>] [<CommonParameters>]

Description

Makes changes to an automatic purge routine for a specific CP code.

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.

‑AgeDeletionDirectoryPrefix

A subdirectory to target for purging.

‑Body
Required

A request body, either as a PSCustomObject or string. This parameter supports pipelining.

‑CPCodeID
Required

Your Content Provider (CP) code's ID.

‑EdgeRCFile

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

‑Section

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

Related Links