List items
Test-ClientListItems
Synopsis
Validate entries.
Syntax
Test-ClientListItems -Items <Object> -ListType <String> [-Version <String>] [-EdgeRCFile <String>] [-Section <String>] [-AccountSwitchKey <String>] [-ProgressAction <ActionPreference>] [<CommonParameters>]
Test-ClientListItems -File <String> -ListType <String> [-Version <String>] [-EdgeRCFile <String>] [-Section <String>] [-AccountSwitchKey <String>] [-ProgressAction <ActionPreference>] [<CommonParameters>]
Description
Validates entries before creating a client list. It's similar in structure to the Add-ClientListItem
operation, that is, you can provide items as an array or a comma-separated string or you can use a local CSV file. Your CSV file needs to include the following four columns: value
, description
, tags
, and expirationDate
.
When making a request, you can specify the list by either its name or ID. The -Version
parameter is an integer or the word latest
.
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 |
‑File Conditionally required |
A CSV file from which to read list items. |
‑Items Conditionally required |
The entry values to import into a client list. Can be an array or a comma-separated string. |
‑ListType Required |
Type of your client list, which can be |
‑Section |
The section name in your EdgeGrid resource file to retrieve authentication credentials from. Defaults to |
‑Version |
Your client list's version. Can be an integer or the word |
Related Links
Updated 19 days ago