Skip to main content
POST https://app.qawolf.com/api/webhooks/environment_terminated
If your build server supports node, use @qawolf/ci-sdk instead of calling this endpoint directly. This gives you type safety and clearer errors and output.

Request

Request headers

Request body

Pass one of the following to identify the environment. You may also pass workspaceId.

Response

A 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.
Last modified on September 17, 2026