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