cloudflare
Version:
The official TypeScript library for the Cloudflare API
14 lines • 565 B
JavaScript
// File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
import { APIResource } from 'cloudflare/resource';
export class Seats extends 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);
}
}
(function (Seats) {
})(Seats || (Seats = {}));
//# sourceMappingURL=seats.mjs.map