{"type":"api","title":"Deletes one or more custom software packages","meta":{"id":"/apps/pubhub/media/crosswork-network-controller-7-1/f445c17e25a1120e8fbde4bd413083d0fd88b2b3/f8aef008-b88b-3fd6-b95f-e63951de2eb0","info":{"title":"Crosswork Data Gateway Custom Software API- v1 (Deprecated)","description":"APIs to support Cisco Crosswork Data Gateway Management's custom software functionality.","contact":{"name":"Crosswork Team, Cisco","email":"support@cisco.com"},"license":{"name":"Cisco Software License Agreement","url":"http://www.cisco.com/public/sw-license-agreement.html"},"version":"1.0.0"},"security":[{"bearerAuth":[]}],"x-parser-conf":{"overview":{"markdownPath":"reference/CDG/Deprecated/cdg_custom_files_api_v1-overview.md"}},"swagger":"2.0","basePath":"/crosswork/dg-manager","schemes":["https"],"securityDefinitions":{"bearerAuth":{"type":"apiKey","name":"Authorization","in":"header","description":"Bearer Auth Token"}}},"spec":{"description":"Deletes one or more custom software packages.","summary":"Deletes one or more custom software packages.","operationId":"deleteCustomSoftwarePackage","deprecated":true,"parameters":[{"name":"Body","in":"body","required":true,"description":"Info that identifies the custom software package files that need to be deleted.","schema":{"title":"deleteFileContent","example":{"data":[{"fileName":"Test.xar","collectorType":"CLI","fileType":"DEVICE_PACKAGE"}]},"type":"object","properties":{"data":{"type":"array","items":{"title":"DeletePayload","type":"object","properties":{"fileName":{"type":"string"},"collectorType":{"type":"string"},"fileType":{"type":"string"}},"required":["fileName","collectorType","fileType"],"$$ref":"#/definitions/DeletePayload"}}},"required":["data"],"$$ref":"#/definitions/deleteFileContent"}}],"responses":{"200":{"description":"OK. The request was successful."},"400":{"description":"Bad request - validation errors. Note that deletion stops immediately when a specified file is not found."}},"__originalOperationId":"deleteCustomSoftwarePackage","consumes":["application/json"],"produces":["application/json"],"security":[{"bearerAuth":[]}],"method":"delete","path":"/v1/custom-files/delete"}}