soc/api/v1/registry/Remove-RegistrySetting.ps1

function Remove-RegistrySetting
{
    [CmdletBinding(SupportsShouldProcess)]
    param(
        [Parameter(Mandatory)]
        [string] $SettingName
    )

    if ($PSCmdlet.ShouldProcess($SettingName))
    {
        return Invoke-Api Delete "/soc/api/v1/registry/$SettingName"
    }
}