soc/api/v1/addons/Remove-Addon.ps1

function Remove-Addon
{
    [CmdletBinding(SupportsShouldProcess)]
    param(
        [Parameter(Mandatory)]
        [string] $AddonAlias
    )

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