v1
latestOpenAPI 3.0.32026-07-22177397578.0 KBVariation
Update variation
Update the variation belonging to the given Id.
Supports:
- application/json for updates without attachments
- multipart/form-data for updates with prompt attachments
For multipart/form-data, send:
- variation: JSON representation of the variation
- attachments: optional attachment files matched by index with variation.prompt.attachments
Currently only one attachment is supported.
put/variations/{variationId}
Path parameters
variationIdinteger required
Request body
Example request
{
"prompt": {
"attachments": [
{
"name": "US-39613---Image-attachement"
}
]
},
"redirection": {
"parameters": "param1=foo¶m2=bar",
"url": "www.kameleoon.com"
}
}Response
OK