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