remagicaDocs home
API referenceWorkflows

Delete a workflow

DELETE
/workflows/{workflowId}

Needs a key withworkflows:delete

Deletes a workflow with its runs and results. Runs still going are cancelled first. Generated files stay in storage.

Requires scope workflows:delete.

Authorization

apiKey
headerx-api-key<token>

An API key of your workspace (rmg_…), created in the web app. It acts for that workspace, not for a person, and keeps working when its creator leaves.

Path Parameters

workflowId*string
Length1 <= length <= 128

Response Body

Deleted.

application/json
  1. response
deleted*unknown
Example Request
curl -X DELETE 'https://api.remagica.com/api/v1/workflows/2c9a7f10-6b3e-4d21-9f8a-5e7c1b0d4a36'
Example Response
{  "deleted": true}