soc/api/v1/customproperties/Remove-CustomProperty.ps1

function Remove-CustomProperty
{
    [CmdletBinding(SupportsShouldProcess)]
    param(
        [Parameter(Mandatory)]
        [string] $CustomPropertyId
    )

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