Update Variant
PUT {{baseUrl}}/api/v2/dynamic_content/items/:dynamic_content_item_id/variants/:dynammic_content_variant_id
Updates the specified variant. You don't need to include all the properties. If you just want to update content, for example, then include just that.
You can't switch the active state of the default variant of an item. Similarly, you can't switch the default to false if the variant is the default. You must make another variant default instead.
Allowed For
- Admins, Agents
HEADERS
Key | Datatype | Required | Description |
---|---|---|---|
Accept | string |
RESPONSES
status: OK
{"variant":{"active":false,"content":"C'est mon contenu dynamique en français","created_at":"2014-04-09T19:53:23Z","default":false,"id":23,"locale_id":125,"outdated":false,"updated_at":"2014-04-09T19:53:23Z","url":"https://subdomain.zendesk.com/api/v2/dynamic_content/items/3/variants/23.json"}}