Update an environment
Update an environment by its unique identifier **environmentId**. You can modify the environment name, identifier, color, and other configuration settings.
Update an environment by its unique identifier environmentId. You can modify the environment name, identifier, color, and other configuration settings.
Authorization
Authorization<token>API key authentication. Allowed headers-- "Authorization: ApiKey <novu_secret_key>".
In: header
Request Body
application/jsonRequirednamestringidentifierstringparentIdstringcolorstringdnsobjectbridgeobjectPath Parameters
environmentIdRequiredstringThe unique identifier of the environment
Header Parameters
idempotency-keystringA header for idempotency purposes
Response Body
OK
_idRequiredstringUnique identifier of the environment
nameRequiredstringName of the environment
_organizationIdRequiredstringOrganization ID associated with the environment
identifierRequiredstringUnique identifier for the environment
typestring | nullType of the environment
"dev" | "prod"apiKeysarray<object>List of API keys associated with the environment
_parentIdstringParent environment ID
slugstringURL-friendly slug for the environment
Create an environment POST
Creates a new environment within the current organization. Environments allow you to manage different stages of your application development lifecycle. Each environment has its own set of API keys and configurations.
Delete an environment DELETE
Delete an environment by its unique identifier **environmentId**. This action is irreversible and will remove the environment and all its associated data.