CertificateApi
All URIs are relative to https://certificate-manager.de-fra.ionos.com
CertificatesDelete
var result = CertificatesDelete(ctx, certificateId)
.Execute()Delete Certificate
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() {
certificateId := "cbee81a3-9389-57ba-bc50-393adcfca141" // string | The ID (UUID) of the Certificate.
configuration := shared.NewConfiguration("USERNAME", "PASSWORD", "TOKEN", "HOST_URL")
apiClient := cert.NewAPIClient(configuration)
resp, err := apiClient.CertificateApi.CertificatesDelete(context.Background(), certificateId).Execute()
if err != nil {
fmt.Fprintf(os.Stderr, "Error when calling `CertificateApi.CertificatesDelete``: %v\n", err)
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", resp)
}
}Path Parameters
ctx
context.Context
context for authentication, logging, cancellation, deadlines, tracing, etc.
certificateId
string
The ID (UUID) of the Certificate.
Other Parameters
Other parameters are passed through a pointer to an apiCertificatesDeleteRequest struct via the builder pattern
Name
Type
Description
Notes
Return type
(empty response body)
HTTP request headers
Content-Type: Not defined
Accept: application/json
CertificatesFindById
Retrieve Certificate
Example
Path Parameters
ctx
context.Context
context for authentication, logging, cancellation, deadlines, tracing, etc.
certificateId
string
The ID (UUID) of the Certificate.
Other Parameters
Other parameters are passed through a pointer to an apiCertificatesFindByIdRequest struct via the builder pattern
Name
Type
Description
Notes
Return type
HTTP request headers
Content-Type: Not defined
Accept: application/json
CertificatesGet
Retrieve all Certificate
Example
Path Parameters
Other Parameters
Other parameters are passed through a pointer to an apiCertificatesGetRequest struct via the builder pattern
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).
filterAutoCertificate
string
Filter by autoCertificateID.
Return type
HTTP request headers
Content-Type: Not defined
Accept: application/json
CertificatesPatch
Updates Certificate
Example
Path Parameters
ctx
context.Context
context for authentication, logging, cancellation, deadlines, tracing, etc.
certificateId
string
The ID (UUID) of the Certificate.
Other Parameters
Other parameters are passed through a pointer to an apiCertificatesPatchRequest struct via the builder pattern
Return type
HTTP request headers
Content-Type: application/json
Accept: application/json
CertificatesPost
Create Certificate
Example
Path Parameters
Other Parameters
Other parameters are passed through a pointer to an apiCertificatesPostRequest struct via the builder pattern
Return type
HTTP request headers
Content-Type: application/json
Accept: application/json
Last updated
