cloudflare
Version:
The official TypeScript library for the Cloudflare API
13 lines • 550 B
JavaScript
// File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
import { APIResource } from "../../resource.mjs";
export class Analyze extends APIResource {
/**
* Returns the set of hostnames, the signature algorithm, and the expiration date
* of the certificate.
*/
create(params, options) {
const { zone_id, ...body } = params;
return this._client.post(`/zones/${zone_id}/ssl/analyze`, { body, ...options })._thenUnwrap((obj) => obj.result);
}
}
//# sourceMappingURL=analyze.mjs.map