Jump to Content
Documentation
API Reference
Terraform Provider
Status Page
Schedule a Demo
Free Trial
Home
Documentation
API Reference
Changelog
Documentation
API Reference
Terraform Provider
Status Page
Schedule a Demo
Free Trial
Log In
API Reference
Log In
Moon (Dark Mode)
Sun (Light Mode)
Home
Documentation
API Reference
Changelog
Deploy Failed Webhook
JUMP TO
env0 API
Getting Started
Authentication
head
Users
List User's VCS ID Mappings
get
Create VCS Provider User Mapping
post
Update a User's VCS ID Mapping
put
Agents Settings
List agents
get
Get agent values file content
get
Get the agent assignment of a project
get
Get agent .env file content
get
Get agent assignments of projects
get
Assign agents to projects
post
Set default agent for organization
put
Audit Events
Fetch Audit Logs
get
Templates
Create Template
post
List Templates
get
Update Template
put
Get Template by ID
get
Delete Template
delete
List git repository revisions
get
Add Template to Project
patch
Remove Template from Project
delete
Generate Terraform Variables from Repository
get
Download TF module
get
Get workflow file representation, Querying workflow file is possible by either the blueprintId or by providing the VCS params (repositoryUrl, organizationId etc.) for getting the file
get
Enable/Update Environment Discovery Configuration
put
Get Environment Discovery Configuration for a Project
get
Delete Environment Discovery Configuration for a Project
delete
Modules
List Modules
get
Create module
post
List Module Versions
get
Get Module README
get
Delete module
delete
Get module
get
Update module
patch
List Module Test Runs
get
Get Module Test Run by ID
get
Trigger Module Test Run
post
Custom Flow
Assign Custom Flow
post
Unassign Custom Flow
post
Find Custom Flows
get
Create Custom Flow
post
Update Custom Flow
put
Delete Custom Flow
delete
Get Custom Flow Assignments
post
Approval Policy
Create Approval Policy
post
Update Existing Approval Policy
put
Get Approval Policy By Name
get
Get Approval Policy Assignments By Scope
get
Unassign Approval Policy From Scope
delete
Unassign Approval Policy by assignment id
delete
Assign Approval Policy To Scope
post
Delete Approval Policy
delete
Bulk Operations
Bulk deploy
post
Bulk destroy
post
Bulk approve
post
Bulk deploy
post
Bulk archive
post
Bulk cancel queued deployments
post
Bulk lock
post
Bulk unlock
post
Bulk run task
post
Cloud Compass
Create Cloud Account
post
List Organization's Cloud Accounts
get
Update Cloud Account
put
Find Cloud Account by id
get
Delete Cloud Account
delete
Test Cloud Account
post
Find Cloud Resources
post
Update Cloud Resources
put
Find Trends Data
get
Generate IaC for Cloud Resources
post
Get a link to resource's change event
get
Get Resource Events
get
Get Event By ID
get
Configuration
Query configuration variable by id
get
Delete a variable
delete
List all available SSH keys
get
Create a new SSH key
post
Update an existing SSH key
put
Delete SSH key
delete
List git tokens
get
Create a git token
post
Get git token by id
get
Delete a git token
delete
List Variables by Scope
get
Create or update variable
post
Create Credentials
post
List Organization credentials
get
Update Credentials
patch
Delete Credentials
delete
Dissociate credentials with project
delete
Associate credentials with project
put
List deployment credentials by project id
get
Create a configuration set
post
List Sets created by Scope
get
Get configuration set by its ID
get
Delete a configuration set
delete
Update a configuration set
put
Assign sets to entity
post
Unassign sets from entity
delete
Find sets assigned to scope
get
For creating or updating log forwarding configuration
put
For finding log forwarding configuration
get
For deleting log forwarding configuration
delete
Cost
Associate Cost Credentials with Project
put
List Cost Credentials associated to Project
get
List projects with cost credentials associated to organization
get
Return wether or not cost is enabled for a project
get
Dissociate Cost Credentials from Project
delete
Get costs for an Environment
get
Get weekly costs for projects or environments
get
Get costs for a Project
get
Get costs for an Organization
get
Remove a project's budget
delete
Get a project's budget
get
Upsert a project's budget
put
Get projects' budget summary of the current period
get
Get a project's accumulated costs
get
Credentials
Create API Key
post
List Organization API Keys
get
Delete an API Key
delete
Create personal API Key
post
List User's personal API Keys endpoint
get
Delete a User's personal API Key endpoint
delete
Dashboard
Get query result
get
Deployment Logs
Find all steps by Deployment Id
get
Get logs for specific step
get
Environment Import
Find Discovered Environments
get
Import Discovered Environments
post
Rerun environments which failed to import
post
Discover Unimported Environments
post
Environment Outputs
Delete environment state access configuration
delete
Create and update environment state access configuration
put
Get environment state access configuration
get
Environments
Create or Update Workflow Trigger
put
Get downstream environments that will be triggered by this environment deployment
get
Subscribe environments as workflow-trigger
post
Unsubscribe environments as workflow-trigger
post
Create Environment
post
List Environments
get
Update Environment
put
Get Environment
get
Save VCS environment as a template
put
Scan for Drift Events
post
Update Environment TTL
put
Deploy Environment
post
List Deployments
get
Cancel Deployment
put
Batch Cancel Deployments
put
Abort Deployment
post
Destroy Environment
post
Resume Deployment
put
Get Deployment
get
Lock/Unlock environment
put
Get Sub Deployment Log In A Workflow By Workflow Deployment Id And Environment Id
get
Find deployment drift status
get
Get a drifted resource's events
get
Get a drifted resource's event details
get
Count Environments
get
Counts all selected statuses of organization projects
get
List Deployment Resources
get
Check Environment meets Project limits
get
Rerun PR plan
post
Create an Environment Without Template
post
Get Environments Outputs
get
Move Environment between Projects
post
Remediate Drift Deployment
post
Notifications
Create Notification Endpoint
post
List Notification Endpoints
get
Delete Notification Endpoint
delete
Update Notification Endpoint
patch
Update Notification Settings
put
Get Notification Endpoint settings
get
Test webhook notification target
post
Organization
Create a new Organization
post
List Organizations
get
Get Organization
get
Update Organization
put
Get Organization Limits
get
Update Policy
post
List Users
get
Remove User
delete
Invite User
post
Update User's Organization Role Assignment
put
Projects
Update Policy
put
Get Policy
get
Get Modules Testing Project for Organization
get
Archive a Project
delete
Update a Project
put
Get a Project By ID
get
Move a project to be a sub-project of another project
post
List Projects
get
Create a new Project
post
Provider Registry
Create a new provider
post
Find all providers in an organization
get
Update a provider
put
Find a provider by id
get
Delete a provider
delete
Find a provider by type
get
Create a new GPG key
post
List all available GPG keys
get
Delete a GPG key
delete
Create a new provider version
post
Get a download url for a specific version
get
Remote Backend
Delete remote state access configuration
delete
Get remote state access configuration
get
Create remote state access configuration
put
Roles
Get a Role
get
Update a Role
put
Delete a Role
delete
Create a Role
post
Get All Roles
get
Get User Role Assignments
get
Remove a Role Assignment for a User
delete
Create or Update a Role Assignment for a User
put
Get Team Role Assignments
get
Remove a Role Assignment for a Team
delete
Create or Update a Role Assignment for a Team
put
Scheduling
Get Environment Scheduling
get
Set Environment Scheduling
put
Get Project Scheduling
get
Get Drift Detection Environment Scheduling
get
Set Drift Detection Environment Scheduling
patch
Teams
Create Team
post
List Teams
get
Get Team
get
Update Team
put
Delete Team
delete
List Project Teams Permissions
get
Update Teams Assignments
put
Create or Update a single Team to Project Assignment
post
Delete a single Team to Project Assignment
delete
VCS
Create VCS Connection
post
List VCS Connections
get
Update VCS Connection
put
Delete VCS Connection
delete
Get VCS Connection
get
Get VCS Repositories
get
Webhooks
Environment Marked for Auto-Destroy Webhook
post
Deployment Started Webhook
post
Destroy Started Webhook
post
Deploy Succeeded Webhook
post
Destroy Succeeded Webhook
post
Deploy Failed Webhook
post
Destroy Failed Webhook
post
Deployment Waiting for User Webhook
post
Deployment Cancelled Webhook
post
Deployment Resumed Webhook
post
Destroy Resumed Webhook
post
Drift Detected Webhook
post
Drift Undetected Webhook
post
Drift Failed Webhook
post
Budget Exceeded Webhook
post
Deploy Failed Webhook
wbhk
com.env0.deploy.failed
This webhook is fired when a deploy has failed