Authentication
Projects
Environments
Rows
Functions
Webhooks
Environments
Promote environment
Apply an environment's schema and functions to another environment.
POST
/v1/environments/{environment_id}/promote
Plans and applies the migration from the source environment to the target, then deploys its functions. Returns the migration that ran.
Authorizations
AuthorizationstringrequiredBearer token. Use a server key or a user access token: Bearer <token>.
Path parameters
environment_idstringrequiredThe source environment.
Request body
targetstringrequiredTarget environment name, for example production.
dry_runbooleanoptionalReturn the plan without applying it.
Response fields
migration_idstringrequiredID of the applied migration.
changesstring[]requiredHuman-readable list of schema changes.
Errors
unauthorizedThe token is missing, expired or revoked.
forbiddenThe key doesn't have the scope needed for this endpoint.
migration_conflictThe target changed since the plan was made. Plan again.
© 2026 Tessera, Inc.
Support
Status