@fairmint/canton-node-sdk
Version:
Canton Node SDK
14 lines • 542 B
JavaScript
;
Object.defineProperty(exports, "__esModule", { value: true });
exports.DeleteUser = exports.DeleteUserParamsSchema = void 0;
const zod_1 = require("zod");
const core_1 = require("../../../../../core");
exports.DeleteUserParamsSchema = zod_1.z.object({
userId: zod_1.z.string(),
});
exports.DeleteUser = (0, core_1.createApiOperation)({
paramsSchema: exports.DeleteUserParamsSchema,
method: 'DELETE',
buildUrl: (params, apiUrl) => `${apiUrl}/v2/users/${params.userId}`,
});
//# sourceMappingURL=delete-user.js.map