Delete
models.presets.delete(strpreset_id, PresetDeleteParams**kwargs) -> object
DELETE/models/{modelId}/presets/{presetId}
Delete a preset for the given modelId
Delete
import os
from scenario_sdk import Scenario
client = Scenario(
api_key=os.environ.get("SCENARIO_SDK_API_KEY"), # This is the default and can be omitted
api_secret=os.environ.get("SCENARIO_SDK_API_SECRET"), # This is the default and can be omitted
)
preset = client.models.presets.delete(
preset_id="presetId",
model_id="modelId",
)
print(preset){}Returns Examples
{}