Environment
Synchronize a child environment with its parent
This synchronizes the code and/or data of an environment with that of its parent, then redeploys the environment. Synchronization is only possible if a branch has no unmerged commits and it can be fast-forwarded.
If data synchronization is specified, the data in the environment will be overwritten with that of its parent.
post/projects/{projectId}/environments/{environmentId}/synchronize
Request
- Base URLhttps://api.upsun.com
- AuthOAuth 2Authorization codehttps://auth.api.platform.sh/oauth2/authorizeToken URLhttps://auth.api.platform.sh/oauth2/token
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Path parameters
projectIdstring required
environmentIdstring required
Request body
Response
Changes
No recorded changes to this operation across all 1 revision of this API.