UNPKG

cloudflare

Version:

The official TypeScript library for the Cloudflare API

11 lines 427 B
// File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details. import { APIResource } from "../../../resource.mjs"; export class Value extends APIResource { /** * Roll the token secret. */ update(tokenId, body, options) { return this._client.put(`/user/tokens/${tokenId}/value`, { body, ...options })._thenUnwrap((obj) => obj.result); } } //# sourceMappingURL=value.mjs.map