Create or update environment action
Create or update environment action
Create or Update an environment action for an org.
PUT
Create or update environment action
Authorizations
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Path Parameters
Body
application/json
Pattern:
^[a-zA-Z0-9][a-zA-Z0-9\-_\.~/]*$Example:
"production-action"
targets
(object | SlackActionTarget · object | WebhookActionTarget · object | EmailActionTarget · object)[]
required
- Option 1
- SlackActionTarget
- WebhookActionTarget
- EmailActionTarget
Available options:
ON_STARTED_ARTIFACT, ON_EXITED_ARTIFACT, ON_SCALED_ARTIFACT, ON_ALLOWED_ARTIFACT, ON_NON_COMPLIANT_ENV, ON_COMPLIANT_ENV Allowed value:
"env"Response
Update Success
Last modified on April 16, 2026