UNPKG

cloudflare

Version:

The official TypeScript library for the Cloudflare API

18 lines 716 B
"use strict"; // File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details. Object.defineProperty(exports, "__esModule", { value: true }); exports.Seats = void 0; const resource_1 = require("cloudflare/resource"); class Seats extends resource_1.APIResource { /** * Removes a user from a Zero Trust seat when both `access_seat` and `gateway_seat` * are set to false. */ edit(identifier, body, options) { return this._client.patch(`/accounts/${identifier}/access/seats`, { body, ...options })._thenUnwrap((obj) => obj.result); } } exports.Seats = Seats; (function (Seats) { })(Seats = exports.Seats || (exports.Seats = {})); //# sourceMappingURL=seats.js.map