UNPKG

cloudflare

Version:

The official TypeScript library for the Cloudflare API

16 lines 811 B
// File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details. import { APIResource } from "../../resource.mjs"; import { CustomCertificatesSinglePage } from "./custom-certificates.mjs"; export class Prioritize extends APIResource { /** * If a zone has multiple SSL certificates, you can set the order in which they * should be used during a request. The higher priority will break ties across * overlapping 'legacy_custom' certificates. */ update(params, options) { const { zone_id, ...body } = params; return this._client.getAPIList(`/zones/${zone_id}/custom_certificates/prioritize`, CustomCertificatesSinglePage, { body, method: 'put', ...options }); } } export { CustomCertificatesSinglePage }; //# sourceMappingURL=prioritize.mjs.map