"use strict";
/*
 * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
 */
Object.defineProperty(exports, "__esModule", { value: true });
exports.UserResources = void 0;
const userResourcesRemove_js_1 = require("../funcs/userResourcesRemove.js");
const sdks_js_1 = require("../lib/sdks.js");
const fp_js_1 = require("../types/fp.js");
class UserResources extends sdks_js_1.ClientSDK {
    /**
     * Remove a resource from a user
     *
     * @remarks
     * To unassign an existing resource from the specified user. If the corresponding record cannot be located, the api will return a 404 error code and message 'User or resource relationship not found.'
     */
    async remove(request, options) {
        return (0, fp_js_1.unwrapAsync)((0, userResourcesRemove_js_1.userResourcesRemove)(this, request, options));
    }
}
exports.UserResources = UserResources;
//# sourceMappingURL=userresources.js.map