UNPKG

cloudflare

Version:

The official TypeScript library for the Cloudflare API

13 lines 590 B
// File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details. import { APIResource } from "../../resource.mjs"; export class ActivationCheck extends APIResource { /** * Triggeres a new activation check for a PENDING Zone. This can be triggered every * 5 min for paygo/ent customers, every hour for FREE Zones. */ trigger(params, options) { const { zone_id } = params; return this._client.put(`/zones/${zone_id}/activation_check`, options)._thenUnwrap((obj) => obj.result); } } //# sourceMappingURL=activation-check.mjs.map