cloudflare
Version:
The official TypeScript library for the Cloudflare API
13 lines • 472 B
JavaScript
// File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
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