ProviderApi
All URIs are relative to https://certificate-manager.de-fra.ionos.com
ProvidersDelete
var result = ProvidersDelete(ctx, providerId)
.Execute()Delete Provider
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() {
providerId := "74edc770-5cc6-5976-ac99-013ddb4af403" // string | The ID (UUID) of the Provider.
configuration := shared.NewConfiguration("USERNAME", "PASSWORD", "TOKEN", "HOST_URL")
apiClient := cert.NewAPIClient(configuration)
resp, err := apiClient.ProviderApi.ProvidersDelete(context.Background(), providerId).Execute()
if err != nil {
fmt.Fprintf(os.Stderr, "Error when calling `ProviderApi.ProvidersDelete``: %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.
providerId
string
The ID (UUID) of the Provider.
Other Parameters
Other parameters are passed through a pointer to an apiProvidersDeleteRequest struct via the builder pattern
Name
Type
Description
Notes
Return type
(empty response body)
HTTP request headers
Content-Type: Not defined
Accept: application/json
ProvidersFindById
Retrieve Provider
Example
Path Parameters
ctx
context.Context
context for authentication, logging, cancellation, deadlines, tracing, etc.
providerId
string
The ID (UUID) of the Provider.
Other Parameters
Other parameters are passed through a pointer to an apiProvidersFindByIdRequest struct via the builder pattern
Name
Type
Description
Notes
Return type
HTTP request headers
Content-Type: Not defined
Accept: application/json
ProvidersGet
Retrieve all Provider
Example
Path Parameters
Other Parameters
Other parameters are passed through a pointer to an apiProvidersGetRequest 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]
Return type
HTTP request headers
Content-Type: Not defined
Accept: application/json
ProvidersPatch
Updates Provider
Example
Path Parameters
ctx
context.Context
context for authentication, logging, cancellation, deadlines, tracing, etc.
providerId
string
The ID (UUID) of the Provider.
Other Parameters
Other parameters are passed through a pointer to an apiProvidersPatchRequest struct via the builder pattern
Return type
HTTP request headers
Content-Type: application/json
Accept: application/json
ProvidersPost
Create Provider
Example
Path Parameters
Other Parameters
Other parameters are passed through a pointer to an apiProvidersPostRequest struct via the builder pattern
Return type
HTTP request headers
Content-Type: application/json
Accept: application/json
Last updated
