post https://api.lucid.co/documents//embeds//changeVersion
Updates the version type of an existing document embed.
- Calling this endpoint with an
embedVersion
of "snapshot-version" will associate the existing embed with a snapshot of the current state of the document, even if the embed was already associated with an older snapshot of the document.
Updating the version of an existing document embed with version type
snapshot-version
can't be undone! There is no way to revert an embed to a previous snapshot version.
Valid Authentication Methods
OAuth 2.0 User Token and Account Token Scopes:
- lucidchart.document.content.share.embed
- lucidchart.document.app.picker.share.embed
- lucidscale.document.content.share.embed
- lucidscale.document.app.picker.share.embed
- lucidspark.document.content.share.embed
- lucidspark.document.app.picker.share.embed
Responses
400Bad Request. Occurs if the embed version provided in the request body is invalid.
403Forbidden. Occurs when the access token isn't allowed to change the embed version.