APIv2

$session = New-Object Microsoft.PowerShell.Commands.WebRequestSession
# Login to the Workspace
$login_params = @{
    username='...';
    password='...';
    domain='...';
} | ConvertTo-Json
$login_url = 'https://demo-psw.parallels.com/api/v2/sessions/'
Invoke-RestMethod -Method 'post' $login_url -Body $login_params `
    -WebSession $session -ContentType 'application/json'

# Extract csrftoken from cookie and set the x-csrftoken header for future requests
$csrftoken = $session.Cookies.GetCookies($login_url)['csrftoken'].Value
$session.Headers.Add('x-csrftoken', $csrftoken)
# Install the command line client
$ pip install coreapi-cli
# Install the Python client library
$ pip install coreapi

actions

app-icons

app-servers

app-sessions

appliances

apps

auth-providers

bookmarks

branding

branding-images

categories

configuration

configuration-info

contacts

domains

drives

favicons

features

file-types

frontend-logger

get-certificate-content

guided-tours

hostheaders

indexer

indexer-ingest

key-combos

labels

resource-changes

resources

seal-providers

sessions

shares

ssl-offloader-certificates

status

tasks

twofactor-providers

update-outputs

updates

user-apps

user-count

user-file-types

user-profiles

user-sessions

users

validators

versions