{"type":"api","title":"Deletes one or more custom software packages","meta":{"id":"/apps/pubhub/media/crosswork-network-controller-7-1/f445c17e25a1120e8fbde4bd413083d0fd88b2b3/e710988f-f568-330e-9d5d-91ddcea98001","info":{"title":"Crosswork Data Gateway Custom Software API","description":"APIs to support Cisco Crosswork Data Gateway Management's custom software functionality.","version":"7.1.0","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"}},"security":[{"bearerAuth":[]}],"tags":[{"name":"Custome file operations","description":"Get/Set Custom files to CDG"}],"x-parser-conf":{"overview":{"markdownPath":"reference/CDG/cdg_custom_files_api_overview.md"}},"swagger":"2.0","basePath":"/crosswork/dg-manager/v2","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":false,"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","example":{"fileName":"Test.xar","collectorType":"CLI","fileType":"DEVICE_PACKAGE"},"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":{"204":{"description":"This Request has no response data available"},"400":{"description":"Bad Request. The request is malformed in some way and the server cannot process it."}},"__originalOperationId":"DeleteCustomSoftwarePackage","consumes":["application/json"],"produces":["application/json"],"security":[{"bearerAuth":[]}],"method":"delete","path":"/custom-files/delete"}}