Skip to main content
put/v1/environments/{environmentId}
Request example
Response
put/v1/environments/{environmentId}

Authorization

Authorizationstringheaderrequired#
API key authentication. Allowed headers-- "Authorization: ApiKey <novu_secret_key>".

Path parameters

environmentIdstringrequired#
The unique identifier of the environment

Headers

idempotency-keystring#
A header for idempotency purposes

Body

application/json
namestring#
identifierstring#
parentIdstring#
colorstring#

Pattern: ^#?([0-9A-F]{3}|[0-9A-F]{4}|[0-9A-F]{6}|[0-9A-F]{8})$

dnsobject#
bridgeobject#

Responses

application/json
OK
_idstringrequired#
Unique identifier of the environment

Example:"60d5ecb8b3b3a30015f3e1a1"

namestringrequired#
Name of the environment

Example:"Production Environment"

_organizationIdstringrequired#
Organization ID associated with the environment

Example:"60d5ecb8b3b3a30015f3e1a2"

identifierstringrequired#
Unique identifier for the environment

Example:"prod-env-01"

typeenum<string>#
Type of the environment
Options:devprod

Example:"prod"

apiKeysobject[]#
List of API keys associated with the environment
_parentIdstring#
Parent environment ID

Example:"60d5ecb8b3b3a30015f3e1a3"

slugstring#
URL-friendly slug for the environment

Example:"production"