Skip to main content

Remove Variant

DELETE 

https://cloud.agenta.ai/api/variants/:variant_id

Remove a variant from the server. In the case it's the last variant using the image, stop the container and remove the image.

Arguments: app_variant -- AppVariant to remove

Raises: HTTPException: If there is a problem removing the app variant

Request

Path Parameters

    variant_id Variant Idrequired

Responses

Successful Response

Schema

    any

curl -L -X DELETE 'https://cloud.agenta.ai/api/variants/:variant_id' \
-H 'Accept: application/json' \
-H 'Authorization: <API_KEY_VALUE>'
Request Collapse all
Base URL
https://cloud.agenta.ai/api
Auth
Parameters
— pathrequired
ResponseClear

Click the Send API Request button above and see the response here!