Skip to content

Latest commit

 

History

History
77 lines (46 loc) · 1.96 KB

File metadata and controls

77 lines (46 loc) · 1.96 KB

\ProjectDeleteApi

All URIs are relative to http://localhost

Method HTTP request Description
ApisSystemK8smgmtIoV3ProjectsNameDelete Delete /apis/system.k8smgmt.io/v3/projects/{name}

ApisSystemK8smgmtIoV3ProjectsNameDelete

ApisSystemK8smgmtIoV3ProjectsNameDelete(ctx, name).Execute()

Example

package main

import (
    "context"
    "fmt"
    "os"
    openapiclient "github.com/GIT_USER_ID/GIT_REPO_ID"
)

func main() {
    name := "name_example" // string | name of the resource

    configuration := openapiclient.NewConfiguration()
    apiClient := openapiclient.NewAPIClient(configuration)
    r, err := apiClient.ProjectDeleteApi.ApisSystemK8smgmtIoV3ProjectsNameDelete(context.Background(), name).Execute()
    if err != nil {
        fmt.Fprintf(os.Stderr, "Error when calling `ProjectDeleteApi.ApisSystemK8smgmtIoV3ProjectsNameDelete``: %v\n", err)
        fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
    }
}

Path Parameters

Name Type Description Notes
ctx context.Context context for authentication, logging, cancellation, deadlines, tracing, etc.
name string name of the resource

Other Parameters

Other parameters are passed through a pointer to a apiApisSystemK8smgmtIoV3ProjectsNameDeleteRequest struct via the builder pattern

Name Type Description Notes

Return type

(empty response body)

Authorization

ApiKeyAuth

HTTP request headers

  • Content-Type: Not defined
  • Accept: application/json, application/yaml

[Back to top] [Back to API list] [Back to Model list] [Back to README]