"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.deleteItemThumbnail = deleteItemThumbnail;
const arcgis_rest_request_1 = require("@esri/arcgis-rest-request");
/**
 * Delete an item's thumbnail
 * @param id
 * @param owner
 * @param requestOptions
 * @returns
 */
async function deleteItemThumbnail(id, owner, requestOptions) {
    const { portal } = requestOptions;
    const urlPath = `${portal}/content/users/${owner}/items/${id}/deleteThumbnail`;
    return (0, arcgis_rest_request_1.request)(urlPath, requestOptions);
}
//# sourceMappingURL=deleteItemThumbnail.js.map