Variants
Update Variant Image
Updates the image used in an app variant.
Args: variant_id (str): The ID of the app variant to update. image (Image): The image information to update.
Raises: HTTPException: If an error occurs while trying to update the app variant.
Returns: JSONResponse: A JSON response indicating whether the update was successful or not.
PUT
/
variants
/
{variant_id}
/
image
Authorizations
Authorization
string
headerrequiredPath Parameters
variant_id
string
requiredBody
application/json
type
string
docker_id
string
requiredtags
string
requiredorganization_id
string
workspace_id
string
Response
200 - application/json
The response is of type any
.
Was this page helpful?