Skip to content
Get started

Delete Images

models.delete_images(strmodel_id, ModelDeleteImagesParams**kwargs) -> object
DELETE/models/{modelId}/images

Delete an image

ParametersExpand Collapse
model_id: str
ids: Sequence[str]

The asset ids of the images to delete

ReturnsExpand Collapse
object

Delete Images

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
)
response = client.models.delete_images(
    model_id="modelId",
    ids=["string"],
)
print(response)
{}
Returns Examples
{}