Workflows
delete/v1/workflows/{id}

Delete a workflow

Permanently deletes the workflow definition. Active runs are not affected and will complete normally. Future runs cannot be started once the definition is deleted.

Server

https://api.agentruntime.io/v1/workflows/{id}
Production
AuthenticationRequiredBearerAuth

API key obtained from the AgentRuntime dashboard. Pass as Authorization: Bearer <key> on every request.

Stored only in this page session. It is not saved to local storage.

Test Request

Runs from your browser. Non-GET requests require explicit confirmation and tokens are sent only when you click Send.

Enter a bearer token and confirm the non-GET request to enable testing.

Client Libraries
Shell
curl -sS -X DELETE \
  'https://api.agentruntime.io/v1/workflows/{id}' \
  -H 'Authorization: Bearer <token>'
  • 204Workflow deleted. No response body.
  • 401Missing or invalid Bearer token.

    application/json

    errorrequired

    string

    Human-readable description of what went wrong.

    Example: "workflow not found"

    code

    string

    Machine-readable error code for programmatic handling.

    Example: "NOT_FOUND"

    {
      "error": "unauthorized",
      "code": "UNAUTHORIZED"
    }
  • 404The requested resource does not exist.

    application/json

    errorrequired

    string

    Human-readable description of what went wrong.

    Example: "workflow not found"

    code

    string

    Machine-readable error code for programmatic handling.

    Example: "NOT_FOUND"

    {
      "error": "workflow not found",
      "code": "NOT_FOUND"
    }