Schema Patches

Revert schema to a version (as a patch)

Changed on

Creates a patch that reverts the live schema to the given published version, for the user to review and publish. Non-destructive until published.

post/schema/patch/{table}/revert-to-version

Request

  • Base URL
    https://api.lytics.io/v2
  • URL
    https://api.lytics.io/v2/schema/patch/{table}/revert-to-version
  • Auth
    API key in header Authorization

Path parameters

tablestring required

Table name

Query parameters

account_idstring

The account ID. Defaults to the user's default account.

version_idstring required

Version to revert to

Response

Revert patch result

_metaobject

Response Metadata

request_idstring
statusinteger

HTTP Status Code

Changes