Undeploy Workflow
Remove the active deployment. API execution, schedules, and trigger webhooks stop; deployment versions stay in history. Requires admin access to the workflow's workspace, the same permission the Deploy button needs. The key acts as its owner, so the owner's current workspace role must allow it. A scoped or organization key also needs an admin grant on the workspace or workflow; a key without one is rejected with 401.
DELETE
/api/workflows/{id}/deployAuthorization
apiKey X-API-Key<token>
Your SteelEngine API key (personal, workspace, or organization). Create personal and workspace keys under Settings > API Keys. Create organization keys under Organization Settings > API Keys.
In: header
Path Parameters
id*string
The unique identifier of the workflow.
Response Body
application/json
application/json
application/json
application/json
curl -X DELETE "https://example.com/api/workflows/string/deploy"{ "isDeployed": false, "deployedAt": null, "apiKey": null}