All URIs are relative to /api/v1
Method | HTTP request | Description |
---|---|---|
Get-GroAdminAntispam | GET /system/antispam/{path} | getAntispam |
Get-GroAdminVhostStatus | GET /system/vhostStatus/{host} | getVhostStatus |
Get-GroAdminVhosts | GET /system/vhostStatus | getVhosts |
void Get-GroAdminAntispam
[-Path]
getAntispam
Proxies any request including query parameters to the grommunio-antispam backend
$Path = "MyPath" # String | grommunio-antispam endpoint to query
# getAntispam
try {
$Result = Get-GroAdminAntispam -Path $Path
} catch {
Write-Host ("Exception occurred when calling Get-GroAdminAntispam: {0}" -f ($_.ErrorDetails | ConvertFrom-Json))
Write-Host ("Response headers: {0}" -f ($_.Exception.Response.Headers | ConvertTo-Json))
}
Name | Type | Description | Notes |
---|---|---|---|
Path | String | grommunio-antispam endpoint to query |
void (empty response body)
No authorization required
- Content-Type: Not defined
- Accept: Not defined
[Back to top] [Back to API list] [Back to Model list] [Back to README]
void Get-GroAdminVhostStatus
[-Host]
getVhostStatus
Make call nginx vhost status endpoint
$Host = "MyHost" # String | Host to query
# getVhostStatus
try {
$Result = Get-GroAdminVhostStatus -Host $Host
} catch {
Write-Host ("Exception occurred when calling Get-GroAdminVhostStatus: {0}" -f ($_.ErrorDetails | ConvertFrom-Json))
Write-Host ("Response headers: {0}" -f ($_.Exception.Response.Headers | ConvertTo-Json))
}
Name | Type | Description | Notes |
---|---|---|---|
Host | String | Host to query |
void (empty response body)
No authorization required
- Content-Type: Not defined
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
SystemVhostStatusResponse Get-GroAdminVhosts
getVhosts
Get list of vhosts
# getVhosts
try {
$Result = Get-GroAdminVhosts
} catch {
Write-Host ("Exception occurred when calling Get-GroAdminVhosts: {0}" -f ($_.ErrorDetails | ConvertFrom-Json))
Write-Host ("Response headers: {0}" -f ($_.Exception.Response.Headers | ConvertTo-Json))
}
This endpoint does not need any parameter.
SystemVhostStatusResponse (PSCustomObject)
No authorization required
- Content-Type: Not defined
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]