{
  "connector.delete": {
    "documentation": {
      "url": "https://www.elastic.co/docs/api/doc/elasticsearch/operation/operation-connector-delete",
      "description": "Delete a connector"
    },
    "stability": "beta",
    "visibility": "public",
    "headers": {
      "accept": [
        "application/json"
      ]
    },
    "url": {
      "paths": [
        {
          "path": "/_connector/{connector_id}",
          "methods": [
            "DELETE"
          ],
          "parts": {
            "connector_id": {
              "type": "string",
              "description": "The unique identifier of the connector to be deleted."
            }
          }
        }
      ]
    },
    "params": {
      "hard": {
        "type": "boolean",
        "default": false,
        "description": "If true, the connector doc is deleted. If false, connector doc is marked as deleted (soft-deleted)."
      },
      "delete_sync_jobs": {
        "type": "boolean",
        "default": false,
        "description": "Determines whether associated sync jobs are also deleted."
      }
    }
  }
}
