Pax8API/Public/Quoting/Update-Pax8LibraryAttachments.ps1

<#
.SYNOPSIS
Update library attachments
.DESCRIPTION
Update attachments from the library.
OpenAPI: PUT /v2/quote-attachments
Scope: Quoting. Audience: https://api.pax8.com.
.PARAMETER Body
Raw request body. This can be a hashtable, PSCustomObject, or pre-built JSON string.
.EXAMPLE
Update-Pax8LibraryAttachments
.LINK
https://devx.pax8.com/openapi/quoting-endpoints.json
#>

function Update-Pax8LibraryAttachments {
    [CmdletBinding()]
    param (
        [Parameter(ValueFromPipeline = $true)]
        [object]$Body,

        [switch]$Raw
    )

    process {
        $boundParameters = @{}
        foreach ($entry in $PSBoundParameters.GetEnumerator()) {
            $boundParameters[$entry.Key] = $entry.Value
        }

        Invoke-Pax8ApiOperation -CommandName $MyInvocation.MyCommand.Name -Parameters $boundParameters
    }
}