All URIs are relative to https://api.qovery.com
| Method | HTTP request | Description |
|---|---|---|
| CancelDeploymentRequest | Post /deploymentQueue/{deploymentRequestId}/cancelDeployment | Cancel deployment request |
CancelDeploymentRequest(ctx, deploymentRequestId).Body(body).Execute()
Cancel deployment request
package main
import (
"context"
"fmt"
"os"
openapiclient "github.com/qovery/qovery-client-go"
)
func main() {
deploymentRequestId := "38400000-8cf0-11bd-b23e-10b96e4ef00d" // string |
body := map[string]interface{}{ ... } // map[string]interface{} | (optional)
configuration := openapiclient.NewConfiguration()
apiClient := openapiclient.NewAPIClient(configuration)
r, err := apiClient.DeploymentQueueActionsAPI.CancelDeploymentRequest(context.Background(), deploymentRequestId).Body(body).Execute()
if err != nil {
fmt.Fprintf(os.Stderr, "Error when calling `DeploymentQueueActionsAPI.CancelDeploymentRequest``: %v\n", err)
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
}
}| Name | Type | Description | Notes |
|---|---|---|---|
| ctx | context.Context | context for authentication, logging, cancellation, deadlines, tracing, etc. | |
| deploymentRequestId | string |
Other parameters are passed through a pointer to a apiCancelDeploymentRequestRequest struct via the builder pattern
| Name | Type | Description | Notes |
|---|
body | map[string]interface{} | |
(empty response body)
- Content-Type: application/json
- Accept: Not defined
[Back to top] [Back to API list] [Back to Model list] [Back to README]