UNPKG

@apify/n8n-nodes-apify

Version:
32 lines 994 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.properties = exports.option = exports.name = void 0; const properties_1 = require("./properties"); const hooks_1 = require("./hooks"); exports.name = 'Delete dataset'; const rawOption = { name: 'Delete Dataset', value: 'Delete dataset', action: 'Delete dataset', description: 'Deletes a specific dataset', routing: { request: { method: 'DELETE', url: '=/v2/datasets/{{$parameter["datasetId"]}}', }, output: { postReceive: [ { type: 'setKeyValue', properties: { data: '={{$response.body}}', }, }, ], }, }, }; const { properties, option } = (0, hooks_1.runHooks)(rawOption, properties_1.properties); exports.properties = properties; exports.option = option; //# sourceMappingURL=index.js.map