soc/api/v1/bootstrappolicies/Update-BootstrapPolicy.ps1
function Update-BootstrapPolicy { [CmdletBinding(SupportsShouldProcess)] param( [Parameter(Mandatory)] [object] $BootstrapPolicy ) if ($PSCmdlet.ShouldProcess($BootstrapPolicy.name)) { return Invoke-Api Put "/soc/api/v1/bootstrappolicies/$($BootstrapPolicy.id)" -JsonBody $BootstrapPolicy } } |