import { removeUserResource } from "./userAppResources";
export const USER_SITE_SETTINGS_APP = "self";
export const USER_SITE_SETTINGS_KEY = "hub-site-settings.json";
/**
 * @private
 * Internal use only; Clear User Site Settings
 * @param context
 * @returns
 */
export function clearUserSiteSettings(context) {
    const token = context.tokenFor(USER_SITE_SETTINGS_APP);
    const key = USER_SITE_SETTINGS_KEY;
    return removeUserResource(context.currentUser.username, key, context.portalUrl, token);
}
//# sourceMappingURL=clearUserSiteSettings.js.map