Skip to content
Get started

Delete

models.training_images.delete(strtraining_image_id, TrainingImageDeleteParams**kwargs) -> object
DELETE/models/{modelId}/training-images/{trainingImageId}

Delete the given trainingImageId from the given modelId

ParametersExpand Collapse
model_id: str
training_image_id: str
ReturnsExpand Collapse
object

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
)
training_image = client.models.training_images.delete(
    training_image_id="trainingImageId",
    model_id="modelId",
)
print(training_image)
{}
Returns Examples
{}