Skip to main content
PUT
Create or update environment notification

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

org
string
required

Body

application/json
name
string
required
Pattern: ^[a-zA-Z0-9][a-zA-Z0-9\-_\.~/]*$
Example:

"production-action"

targets
(object | SlackActionTarget · object | WebhookActionTarget · object | EmailActionTarget · object)[]
required
environments
string[]
required
triggers
enum<string>[]
required
Available options:
ON_STARTED_ARTIFACT,
ON_EXITED_ARTIFACT,
ON_SCALED_ARTIFACT,
ON_ALLOWED_ARTIFACT,
ON_NON_COMPLIANT_ENV,
ON_COMPLIANT_ENV
type
string
default:env
Allowed value: "env"

Response

Successfully updated environments notification.

The response is of type string.

Last modified on June 18, 2026