Environments
Publish resources to target environment
Publish resources to target environment using the Novu REST API. Requires your environment secret key in the Authorization header.
POST
PHP
Authorizations
API key authentication. Allowed headers-- "Authorization: ApiKey <novu_secret_key>".
Headers
A header for idempotency purposes
Path Parameters
Target environment ID (MongoDB ObjectId) to publish resources to
Body
application/json
Publish request configuration
Source environment ID to sync from. Defaults to the Development environment if not provided.
Example:
"507f1f77bcf86cd799439011"
Perform a dry run without making actual changes
Array of specific resources to publish. If not provided, all resources will be published.