AutoCertificateApi

All URIs are relative to https://certificate-manager.de-fra.ionos.com

Method
HTTP request
Description

Delete /auto-certificates/{autoCertificateId}

Delete AutoCertificate

Get /auto-certificates/{autoCertificateId}

Retrieve AutoCertificate

Get /auto-certificates

Retrieve all AutoCertificate

Patch /auto-certificates/{autoCertificateId}

Updates AutoCertificate

Post /auto-certificates

Create AutoCertificate

AutoCertificatesDelete

var result  = AutoCertificatesDelete(ctx, autoCertificateId)
                      .Execute()

Delete AutoCertificate

Example

package main

import (
    "context"
    "fmt"
    "os"

    cert "github.com/ionos-cloud/sdk-go-bundle/products/cert"
    "github.com/ionos-cloud/sdk-go-bundle/shared"
)

func main() {
    autoCertificateId := "f88467f8-a2d6-5871-83b9-e10f23d0a48a" // string | The ID (UUID) of the AutoCertificate.

    configuration := shared.NewConfiguration("USERNAME", "PASSWORD", "TOKEN", "HOST_URL")
    apiClient := cert.NewAPIClient(configuration)
    resp, err := apiClient.AutoCertificateApi.AutoCertificatesDelete(context.Background(), autoCertificateId).Execute()
    if err != nil {
        fmt.Fprintf(os.Stderr, "Error when calling `AutoCertificateApi.AutoCertificatesDelete``: %v\n", err)
        fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", resp)
    }
}

Path Parameters

Name
Type
Description
Notes

ctx

context.Context

context for authentication, logging, cancellation, deadlines, tracing, etc.

autoCertificateId

string

The ID (UUID) of the AutoCertificate.

Other Parameters

Other parameters are passed through a pointer to an apiAutoCertificatesDeleteRequest struct via the builder pattern

Name

Type

Description

Notes

Return type

(empty response body)

HTTP request headers

  • Content-Type: Not defined

  • Accept: application/json

AutoCertificatesFindById

Retrieve AutoCertificate

Example

Path Parameters

Name
Type
Description
Notes

ctx

context.Context

context for authentication, logging, cancellation, deadlines, tracing, etc.

autoCertificateId

string

The ID (UUID) of the AutoCertificate.

Other Parameters

Other parameters are passed through a pointer to an apiAutoCertificatesFindByIdRequest struct via the builder pattern

Name

Type

Description

Notes

Return type

AutoCertificateRead

HTTP request headers

  • Content-Type: Not defined

  • Accept: application/json

AutoCertificatesGet

Retrieve all AutoCertificate

Example

Path Parameters

Other Parameters

Other parameters are passed through a pointer to an apiAutoCertificatesGetRequest struct via the builder pattern

Name
Type
Description
Notes

offset

int32

The first element (of the total list of elements) to include in the response. Use together with limit for pagination.

[default to 0]

limit

int32

The maximum number of elements to return. Use together with offset for pagination.

[default to 100]

filterCommonName

string

Filter by the common name (DNS).

Return type

AutoCertificateReadList

HTTP request headers

  • Content-Type: Not defined

  • Accept: application/json

AutoCertificatesPatch

Updates AutoCertificate

Example

Path Parameters

Name
Type
Description
Notes

ctx

context.Context

context for authentication, logging, cancellation, deadlines, tracing, etc.

autoCertificateId

string

The ID (UUID) of the AutoCertificate.

Other Parameters

Other parameters are passed through a pointer to an apiAutoCertificatesPatchRequest struct via the builder pattern

Name
Type
Description
Notes

autoCertificatePatch

patch AutoCertificate

Return type

AutoCertificateRead

HTTP request headers

  • Content-Type: application/json

  • Accept: application/json

AutoCertificatesPost

Create AutoCertificate

Example

Path Parameters

Other Parameters

Other parameters are passed through a pointer to an apiAutoCertificatesPostRequest struct via the builder pattern

Name
Type
Description
Notes

autoCertificateCreate

AutoCertificate to create.

Return type

AutoCertificateRead

HTTP request headers

  • Content-Type: application/json

  • Accept: application/json

Last updated