soc/api/v1/bootstrappolicies/New-BootstrapPolicy.ps1

function New-BootstrapPolicy
{
    [CmdletBinding(SupportsShouldProcess)]
    param(
        [Parameter(Mandatory)]
        [object] $BoostrapPolicy
    )
    
    if ($PSCmdlet.ShouldProcess($BoostrapPolicy.name))
    {
        return Invoke-Api Post "/soc/api/v1/bootstrappolicies" -JsonBody $BoostrapPolicy
    }
}