Variants

Update Variant Parameters

Updates the parameters for an app variant.

Args: variant_id (str): The ID of the app variant to update. payload (UpdateVariantParameterPayload): The payload containing the updated parameters.

Raises: HTTPException: If there is an error while trying to update the app variant.

Returns: JSONResponse: A JSON response containing the updated app variant parameters.

put/variants/{variant_id}/parameters

Path parameters

variant_idstring required

Request body

parametersobject required
commit_messagestring nullable

Response

Successful Response

{"stackTrail":"paths:/variants/{variant_id}/parameters:put:responses:200:content:application/json:schema","oasType":"schema","type":"unknown"}

Changes