Publish resources to target environment
Publishes all workflows and resources from the source environment to the target environment. Optionally specify specific resources to publish or use dryRun mode to preview changes.
Authorization
Authorization<token>API key authentication. Allowed headers-- "Authorization: ApiKey <novu_secret_key>".
In: header
Request Body
application/jsonRequiredPublish request configuration
sourceEnvironmentIdstringSource environment ID to sync from. Defaults to the Development environment if not provided.
dryRunbooleanPerform a dry run without making actual changes
Default:
falseresourcesarray<object>Array of specific resources to publish. If not provided, all resources will be published.
Path Parameters
targetEnvironmentIdRequiredstringTarget environment ID (MongoDB ObjectId) to publish resources to
Header Parameters
idempotency-keystringA header for idempotency purposes
Response Body
OK
resultsRequiredarray<object>Sync results by resource type
summaryRequiredobjectSummary of the sync operation