{"type":"api","title":"Delete HA Pool","meta":{"id":"/apps/pubhub/media/crosswork-network-controller-7-1/f445c17e25a1120e8fbde4bd413083d0fd88b2b3/a0304b33-a28f-3f47-a748-9939a45040de","info":{"title":"Crosswork Data Gateway High Availability API","description":" This document contains details of the Crosswork Data Gateway Manager RESTful APIs that can be used for CRUD operations of Data Gateways and HA Pools","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":"Misc","description":""}],"x-parser-conf":{"overview":{"markdownPath":"reference/CDG/Deprecated/cdg_ha_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 HA pools with uuids specified in the payload","summary":"Delete HA Pool","operationId":"DeleteHAPool","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 HA pool","schema":{"title":"DeleteHAPoolRequest","example":{"pools":[{"puuid":"a7c3e0f6-d113-4549-ac4e-6ef5cec0e2d4"}]},"type":"object","properties":{"pools":{"type":"array","items":{"title":"Pool","example":{"puuid":"a7c3e0f6-d113-4549-ac4e-6ef5cec0e2d4"},"type":"object","properties":{"puuid":{"type":"string"}},"required":["puuid"],"$$ref":"#/definitions/Pool"}}},"required":["pools"],"$$ref":"#/definitions/DeleteHAPoolRequest"}}],"responses":{"204":{"description":"OK"},"500":{"description":"Internal Server Error","schema":{"title":"HAPoolErrorResponse","example":{"error":"ha pool with id a7c3e0f6-d113-4549-ac4e-6ef5cec0e2d4 not found in cache"},"type":"object","properties":{"error":{"type":"string"}},"$$ref":"#/definitions/HAPoolErrorResponse"}}},"security":[],"__originalOperationId":"DeleteHAPool","method":"delete","path":"/hapool"}}