{"openapi":"3.1.0","info":{"title":"DELETE /api/v1/counterparty-defaults/{default_id}","version":"1.0.0","description":"Delete a counterparty default"},"servers":[{"url":"https://api.ondayzero.com","description":"Production"}],"paths":{"/api/v1/counterparty-defaults/{default_id}":{"delete":{"tags":["counterparty-defaults"],"summary":"Delete a counterparty default","description":"Delete a counterparty default.\n\n``UnifiedRouter.doc_delete`` without a ``response_model`` defaults to\n204 No Content, so we intentionally return nothing — any body would\nbe discarded by the framework.","operationId":"delete_counterparty_default_api_v1_counterparty_defaults__default_id__delete","parameters":[{"name":"default_id","in":"path","required":true,"schema":{"type":"string","title":"Default Id"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}},{"name":"x-business-id","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Business-Id"}}],"responses":{"204":{"description":"Successful Response"},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}}},"components":{"schemas":{"HTTPValidationError":{"properties":{"detail":{"items":{"$ref":"#/components/schemas/ValidationError"},"type":"array","title":"Detail"}},"type":"object","title":"HTTPValidationError"},"ValidationError":{"properties":{"loc":{"items":{"anyOf":[{"type":"string"},{"type":"integer"}]},"type":"array","title":"Location"},"msg":{"type":"string","title":"Message"},"type":{"type":"string","title":"Error Type"},"input":{"title":"Input"},"ctx":{"type":"object","title":"Context"}},"type":"object","required":["loc","msg","type"],"title":"ValidationError"}},"securitySchemes":{"BearerAuth":{"type":"http","scheme":"bearer","bearerFormat":"API Token","description":"API token authentication. Format: `Bearer dz_...`"}}},"security":[{"BearerAuth":[]}]}