ProviderApi
Method
HTTP request
Description
ProvidersDelete
var result = ProvidersDelete(ctx, providerId)
.Execute()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
Name
Type
Description
Notes
Other Parameters
Return type
HTTP request headers
ProvidersFindById
Example
Path Parameters
Name
Type
Description
Notes
Other Parameters
Return type
HTTP request headers
ProvidersGet
Example
Path Parameters
Other Parameters
Name
Type
Description
Notes
Return type
HTTP request headers
ProvidersPatch
Example
Path Parameters
Name
Type
Description
Notes
Other Parameters
Name
Type
Description
Notes
Return type
HTTP request headers
ProvidersPost
Example
Path Parameters
Other Parameters
Name
Type
Description
Notes
Return type
HTTP request headers
Last updated
