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
Documentation Index
Fetch the complete documentation index at: https://docs.kosli.com/llms.txt
Use this file to discover all available pages before exploring further.
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
The response is of type string.
Last modified on May 26, 2026