Upload account

Set-NetstorageUploadAccount

Synopsis

Edit an upload account.

Syntax

Set-NetstorageUploadAccount [-UploadAccountID] <String> [-Body] <Object> [[-EdgeRCFile] <String>] [[-Section] <String>] [[-AccountSwitchKey] <String>] [-ProgressAction <ActionPreference>] [<CommonParameters>]

Description

Updates an upload account based on its ID. It's recommended that you retrieve an existing upload account via the Get-NetstorageUploadAccount operation, make changes locally, and pipe the result to this function.

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.

‑Body
Required

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

‑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.

‑UploadAccountID
Required

The ID assigned to the target upload account. You can get this value by running Get-NetstorageUploadAccount and filtering the results.

Related Links