context for authentication, logging, cancellation, deadlines, tracing, etc.
certificateId
string
Other Parameters
Other parameters are passed through a pointer to an apiCertificatesDeleteRequest struct via the builder pattern
Return type
(empty response body)
HTTP request headers
Content-Type: Not defined
Accept: Not defined
CertificatesGet
var result CertificateCollectionDto=CertificatesGet(ctx) .Offset(offset) .Limit(limit) .Execute()
Get Certificates
Example
packagemainimport ("context""fmt""os" cert "github.com/ionos-cloud/sdk-go-bundle/products/cert""github.com/ionos-cloud/sdk-go-bundle/shared")funcmain() { offset :="offset_example"// string | 'Limit' and 'Offset' are optional; you can use these filter parameters to retrieve only part of the results obtained by a request. Offset is the first element (from the complete list of elements) to be included in the response. (optional) limit :="limit_example"// string | 'Limit' and 'Offset' are optional; you can use these filter parameters to retrieve only part of the results of a query. If both 'Offset' and 'Limit'are specified, the offset lines are skipped before counting the returned limit lines. (optional) configuration := shared.NewConfiguration("USERNAME", "PASSWORD", "TOKEN", "HOST_URL") apiClient := cert.NewAPIClient(configuration) resource, resp, err := apiClient.CertificatesApi.CertificatesGet(context.Background()).Offset(offset).Limit(limit).Execute()if err !=nil { fmt.Fprintf(os.Stderr, "Error when calling `CertificatesApi.CertificatesGet``: %v\n", err) fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", resp) }// response from `CertificatesGet`: CertificateCollectionDto fmt.Fprintf(os.Stdout, "Response from `CertificatesApi.CertificatesGet`: %v\n", resource)}
Path Parameters
Other Parameters
Other parameters are passed through a pointer to an apiCertificatesGetRequest struct via the builder pattern
Name
Type
Description
Notes
offset
string
'Limit' and 'Offset' are optional; you can use these filter parameters to retrieve only part of the results obtained by a request. Offset is the first element (from the complete list of elements) to be included in the response.
limit
string
'Limit' and 'Offset' are optional; you can use these filter parameters to retrieve only part of the results of a query. If both 'Offset' and 'Limit'are specified, the offset lines are skipped before counting the returned limit lines.