POST https://app.qawolf.com/api/webhooks/environment_terminated
Request
Request headers
Request body
Pass one of the following to identify the environment.
An environment created by
deployment.reportStatus is named by environment.name, not by its deploy target, so name it here by environmentId or environmentAlias.
You may also pass workspaceId.
Response
warning field behaves the same way here as on webhooks/deploy_success — present when the request needed a workspace and didn’t name one, never changing the outcome.
An unsuccessful request returns failureCode and failureMessage. A 404 also carries suggestions, listing environments close to the one you named.
Response codes
Plus the common response codes.
Related
@qawolf/ci-sdk- Webhook — reporting a deploy into an ephemeral environment.