API referenceWorkflows
Restore a deleted result
POST
Needs a key withworkflows:write
Brings back a result deleted in the last 30 days (undoes DELETE /workflows/{workflowId}/results/{resultId}): it's in its node's history again, in its place. Restoring one that isn't deleted changes nothing.
Requires scope workflows:write.
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 <= 128Restored.
application/json- response
restored*unknowncurl -X POST 'https://api.remagica.com/api/v1/workflows/cb35dcdb-5b3d-4f60-8e2a-1d9c6b4f7e05/results/750ab75b-5b3d-4f60-8e2a-1d9c6b4f7e05/restore'Example Response
{ "restored": true}