Variants

Update Variant Url

Updates the URL used in an app variant.

Args: variant_id (str): The ID of the app variant to update. url (str): The URL 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}/service

Request body

urlstring required
variant_idstring required
commit_messagestring nullable

Response

Successful Response

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

Changes