Pax8API/Public/VendorProvisioning/Get-Pax8AllWebhooksForProvisioner.ps1
|
<#
.SYNOPSIS Get All Webhook Configurations for a Provisioner .DESCRIPTION Generated from vendor-provisioning-endpoints.json. OpenAPI: GET /provisioners/{provisionerId}/webhooks Scope: VendorProvisioning. Audience: api://provisioning. .PARAMETER ProvisionerId path parameter 'provisionerId'. .PARAMETER Raw Returns the unmodified API response instead of unwrapping paginated content. .EXAMPLE Get-Pax8AllWebhooksForProvisioner -ProvisionerId '00000000-0000-0000-0000-000000000000' .LINK https://devx.pax8.com/openapi/vendor-provisioning-endpoints.json #> function Get-Pax8AllWebhooksForProvisioner { [CmdletBinding()] param ( [Parameter(Mandatory = $true)] [guid]$ProvisionerId, [switch]$Raw ) process { $boundParameters = @{} foreach ($entry in $PSBoundParameters.GetEnumerator()) { $boundParameters[$entry.Key] = $entry.Value } Invoke-Pax8ApiOperation -CommandName $MyInvocation.MyCommand.Name -Parameters $boundParameters } } |