hetzner-ts
    Preparing search index...

    Class CertificateActions

    Certificate Actions API

    Actions are the individual operations that can be performed on a certificate. https://docs.hetzner.cloud/#certificate-actions

    Hierarchy (View Summary)

    Index

    Constructors

    Properties

    baseUrl: string
    token: string

    Methods

    • Get a specific action for a certificate

      Parameters

      • certificateId: number

        The certificate ID

      • actionId: number

        The action ID

      Returns Promise<
          | { response: CertificateActionResponse; success: true }
          | { response: APIError; success: false },
      >

    • Type Parameters

      • T

      Parameters

      • endpoint: string
      • options: RequestInit = {}

      Returns Promise<{ response: T; success: true } | { response: APIError; success: false }>