{
  "name": "DeleteRecord",
  "plane": "control",
  "terraformEligible": true,
  "protocol": {
    "kind": "cloudJson",
    "target": "CloudDns.DeleteRecord",
    "service": "dns"
  },
  "requestBody": "typed",
  "responseBody": "typed",
  "requestSchema": {
    "$schema": "http://json-schema.org/draft-07/schema#",
    "additionalProperties": false,
    "definitions": {
      "DnsRecordType": {
        "enum": [
          "A",
          "AAAA",
          "CNAME",
          "TXT",
          "MX",
          "NS"
        ],
        "type": "string"
      }
    },
    "properties": {
      "name": {
        "default": null,
        "type": [
          "string",
          "null"
        ]
      },
      "recordId": {
        "default": null,
        "type": [
          "string",
          "null"
        ]
      },
      "type": {
        "anyOf": [
          {
            "$ref": "#/definitions/DnsRecordType"
          },
          {
            "type": "null"
          }
        ],
        "default": null
      },
      "zoneId": {
        "type": "string"
      }
    },
    "required": [
      "zoneId"
    ],
    "title": "DeleteRecordRequest",
    "type": "object"
  },
  "responseSchema": {
    "$schema": "http://json-schema.org/draft-07/schema#",
    "properties": {
      "ok": {
        "type": "boolean"
      }
    },
    "required": [
      "ok"
    ],
    "title": "OkResponse",
    "type": "object"
  }
}
