Hi @davidpbest -San.
User parameters can be obtained from the UserParameters property of the Design object.
https://help.autodesk.com/view/fusion360/ENU/?guid=GUID-ba26f8cd-6136-44a8-81fe-b133198cfa2d
We did a little testing.
I created two user parameters and used one in the extrusion.

Then we run this script.
# Fusion360API Python script
import traceback
import adsk.core as core
import adsk.fusion as fusion
def run(context):
ui: core.UserInterface = None
try:
app: core.Application = core.Application.get()
ui = app.userInterface
des: fusion.Design = app.activeProduct
for name in ["length1", "length2"]:
param = des.userParameters.itemByName(name)
res = param.deleteMe()
print(f"Were you able to delete '{name}'? : {res}")
except:
if ui:
ui.messageBox('Failed:\n{}'.format(traceback.format_exc()))
Were you able to delete 'length1'? : True
Were you able to delete 'length2'? : False
The used user parameter could not be deleted by executing the deleteMe method.