RegistriesApi
Method
HTTP request
Description
RegistriesDelete
var result = RegistriesDelete(ctx, registryId)
.Execute()Example
package main
import (
"context"
"fmt"
"os"
containerregistry "github.com/ionos-cloud/sdk-go-bundle/products/containerregistry"
"github.com/ionos-cloud/sdk-go-bundle/shared"
)
func main() {
registryId := "38400000-8cf0-11bd-b23e-10b96e4ef00d" // string | The unique ID of the registry
configuration := shared.NewConfiguration("USERNAME", "PASSWORD", "TOKEN", "HOST_URL")
apiClient := containerregistry.NewAPIClient(configuration)
resp, err := apiClient.RegistriesApi.RegistriesDelete(context.Background(), registryId).Execute()
if err != nil {
fmt.Fprintf(os.Stderr, "Error when calling `RegistriesApi.RegistriesDelete``: %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
RegistriesFindById
Example
Path Parameters
Name
Type
Description
Notes
Other Parameters
Return type
HTTP request headers
RegistriesGet
Example
Path Parameters
Other Parameters
Name
Type
Description
Notes
Return type
HTTP request headers
RegistriesPatch
Example
Path Parameters
Name
Type
Description
Notes
Other Parameters
Name
Type
Description
Notes
Return type
HTTP request headers
RegistriesPost
Example
Path Parameters
Other Parameters
Name
Type
Description
Notes
Return type
HTTP request headers
RegistriesPut
Example
Path Parameters
Name
Type
Description
Notes
Other Parameters
Name
Type
Description
Notes
Return type
HTTP request headers
Last updated
