All URIs are relative to /api/v1
| Method | HTTP request | Description |
|---|---|---|
| Get-GroAdminAntispam | GET /system/antispam/{path} | Make call to grommunio-antispam |
| Get-GroAdminVhostStatus | GET /system/vhostStatus/{host} | Make call nginx vhost status endpoint |
| Get-GroAdminVhosts | GET /system/vhostStatus | Get list of vhosts |
void Get-GroAdminAntispam
[-Path]
Make call to grommunio-antispam
Proxies any request including query parameters to the grommunio-antispam backend
# general setting of the PowerShell module, e.g. base URL, authentication, etc
$Configuration = Get-Configuration
# Configure API key authorization: JWTCookie
$Configuration.ApiKey.grommunioAuthJwt = "YOUR_API_KEY"
# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
#$Configuration.ApiKeyPrefix.grommunioAuthJwt = "Bearer"
$Path = "MyPath" # String | grommunio-antispam endpoint to query
# Make call to grommunio-antispam
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)
- 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]
Make call nginx vhost status endpoint
# general setting of the PowerShell module, e.g. base URL, authentication, etc
$Configuration = Get-Configuration
# Configure API key authorization: JWTCookie
$Configuration.ApiKey.grommunioAuthJwt = "YOUR_API_KEY"
# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
#$Configuration.ApiKeyPrefix.grommunioAuthJwt = "Bearer"
$Host = "MyHost" # String | Host to query
# Make call nginx vhost status endpoint
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)
- Content-Type: Not defined
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
GetServicesListDBConf200Response Get-GroAdminVhosts
Get list of vhosts
# general setting of the PowerShell module, e.g. base URL, authentication, etc
$Configuration = Get-Configuration
# Configure API key authorization: JWTCookie
$Configuration.ApiKey.grommunioAuthJwt = "YOUR_API_KEY"
# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
#$Configuration.ApiKeyPrefix.grommunioAuthJwt = "Bearer"
# Get list of vhosts
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.
GetServicesListDBConf200Response (PSCustomObject)
- Content-Type: Not defined
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]