cloudflare
Version:
The official TypeScript library for the Cloudflare API
15 lines • 668 B
JavaScript
// File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
import { APIResource } from 'cloudflare/resource';
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);
}
}
(function (ActivationCheck) {
})(ActivationCheck || (ActivationCheck = {}));
//# sourceMappingURL=activation-check.mjs.map