soc/api/v1/bootstrappolicies/Set-BootstrapPolicyArchive.ps1

function Set-BootstrapPolicyArchive
{
    [CmdletBinding(SupportsShouldProcess)]
    param(
        [Parameter(Mandatory)]
        [string] $BootstrapPolicyId,
        [Parameter(Mandatory)]
        [string] $FilePath
    )
    
    if ($PSCmdlet.ShouldProcess($BootstrapPolicyId))
    {
        return Invoke-Api Put "/soc/api/v1/bootstrappolicies/$BootstrapPolicyId/archive" -FileBody $FilePath
    }
}