Akamai NSAPI request

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

A request body, either as a PSCustomObject or a string.

‑InputFile

File to send with upload HTTP requests.

‑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