Akamai NSAPI request

Invoke-AkamaiNSAPIRequest

Synopsis

Send NetStorage authorization wrapper.

Syntax

Invoke-AkamaiNSAPIRequest [-Path] <String> [-Action] <String> [[-AdditionalOptions] <Hashtable>] [[-Body] <String>] [[-InputFile] <String>] [[-OutputFile] <String>] [[-AuthFile] <String>] [[-Section] <String>] [-ProgressAction <ActionPreference>] [<CommonParameters>]

Description

Provides an authorization wrapper around Invoke-RestMethod for use with the NetStorage API.

Parameters

‑Action
Required

The API endpoint's action type.

‑AdditionalOptions

A hashtable of additional options for a request.

‑AuthFile

Your NetStorage auth file (NSRC) to read credentials from.

‑Body

The request body to include in the auth calculation.

‑InputFile

An input file to be read as part of the auth calculation.

‑OutputFile

The file to write response data to.

‑Path
Required

Your request path.

‑Section

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

Related Links

User Guide: Overview