// File generated from our OpenAPI spec by Stainless.
import { APIResource } from 'cloudflare/resource';
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);
    }
}
(function (Value) {
})(Value || (Value = {}));
//# sourceMappingURL=value.mjs.map