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