Environments
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.
post/v2/environments/{targetEnvironmentId}/publish
Path parameters
targetEnvironmentIdstring required
Target environment ID (MongoDB ObjectId) to publish resources to
Request body
Example request
{
"sourceEnvironmentId": "507f1f77bcf86cd799439011",
"resources": [
{
"resourceId": "workflow-id-1"
}
]
}Response
OK