# Publish resources to target environment

URL: https://notifly.io/docs/api-reference/environments/EnvironmentsController_publishEnvironment

> POST /v2/environments/{targetEnvironmentId}/publish. 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.

`POST /v2/environments/{targetEnvironmentId}/publish`

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.
