API referenceWorkflows
Delete a result
DELETE
Needs a key withworkflows:delete
Deletes one of a node's results from its history. One still being made can't be: cancel it first. For 30 days POST /workflows/{workflowId}/results/{resultId}/restore brings it back (undo). Its files stay in storage (an asset filed from it keeps them).
Requires scope workflows:delete.
apiKeyheader
x-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.
workflowId*stringLength
1 <= length <= 128resultId*stringLength
1 <= length <= 128Deleted.
application/json- response
deleted*unknowncurl -X DELETE 'https://api.remagica.com/api/v1/workflows/cb35dcdb-5b3d-4f60-8e2a-1d9c6b4f7e05/results/750ab75b-5b3d-4f60-8e2a-1d9c6b4f7e05'Example Response
{ "deleted": true}