{"type":"api","title":"Delete Physical DG","meta":{"id":"/apps/pubhub/media/crosswork-network-controller-7-1/f445c17e25a1120e8fbde4bd413083d0fd88b2b3/13469849-14f5-3bf7-98fd-7e5caee7c1d5","info":{"title":"Crosswork Data Gateway Physical DG API - v1 (Deprecated)","description":"This document contains details of the Crosswork Data Gateway RESTful APIs that can be used for GET/Update operations of Data Gateways","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":[]}],"x-parser-conf":{"overview":{"markdownPath":"reference/CDG/Deprecated/cdg_physical_dg_api_v1-overview.md"}},"swagger":"2.0","basePath":"/crosswork/dg-manager/v1","schemes":["https"],"securityDefinitions":{"bearerAuth":{"type":"apiKey","name":"Authorization","in":"header","description":"Bearer Auth Token"}}},"spec":{"description":"Delete physical data gateways with uuids specified in payload","summary":"Delete Physical DG","operationId":"DeletePhysicalDG","deprecated":true,"produces":["application/json"],"consumes":["application/json"],"parameters":[{"name":"Content-Type","in":"header","required":true,"type":"string","description":"application/json"},{"name":"Body","in":"body","required":true,"description":"Request payload to delete physical data gateways","schema":{"title":"DeletePhysicalDGRequest","example":{"enrollments":[{"duuid":"0c00d416-b954-4314-b27d-eefceba98890"}]},"type":"object","properties":{"enrollments":{"type":"array","items":{"title":"DeleteEnrollment","example":{"duuid":"0c00d416-b954-4314-b27d-eefceba98890"},"type":"object","properties":{"duuid":{"type":"string"}},"required":["duuid"],"$$ref":"#/definitions/DeleteEnrollment"}}},"required":["enrollments"],"$$ref":"#/definitions/DeletePhysicalDGRequest"}}],"responses":{"204":{"description":"OK"},"500":{"description":"Internal Server Error","schema":{"title":"","example":{"error":"geo mode must be enabled to update site for DG 5dd63ceb-3661-437b-9fc4-2372d0451042 ; physical DG uuid 2bec92bc-eb72-4bf8-9d0b-f74e8c9a915d not found in DB"},"type":"object","properties":{"error":{"type":"string"}},"$$ref":"#/definitions/DataGatewayErrorResponse"}}},"security":[],"__originalOperationId":"DeletePhysicalDG","method":"delete","path":"/dg"}}