             method: "DELETE",
             url: serviceURL + encodedPath,
             credentials: credentials,
-            headerParameters: defaultHeaders,
-            acceptType: "application/json",
-            contentType: nil,
-            queryItems: nil,
-            messageBody: nil
+            headerParameters: headers
         )
 
         // execute REST request

        failure: ((Error) -> Void)? = nil,
        success: @escaping () -> Void)
    {
        // construct REST request
        let path = "/v1/classifiers/\(classifierID)"
        guard let encodedPath = path.addingPercentEncoding(withAllowedCharacters: .urlPathAllowed) else {

            return
        }

        // construct header parameters
        var headers = defaultHeaders
        headers["Accept"] = "application/json"
        headers["Content-Type"] = multipartFormData.contentType

        // construct REST request
        let request = RestRequest(
            method: "POST",
            url: serviceURL + "/v1/classifiers",
            credentials: credentials,
            headerParameters: headers,
            messageBody: body
        )

