Skip to content

Latest commit

 

History

History
79 lines (49 loc) · 2.12 KB

File metadata and controls

79 lines (49 loc) · 2.12 KB

\DeploymentQueueActionsAPI

All URIs are relative to https://api.qovery.com

Method HTTP request Description
CancelDeploymentRequest Post /deploymentQueue/{deploymentRequestId}/cancelDeployment Cancel deployment request

CancelDeploymentRequest

CancelDeploymentRequest(ctx, deploymentRequestId).Body(body).Execute()

Cancel deployment request

Example

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)
	}
}

Path Parameters

Name Type Description Notes
ctx context.Context context for authentication, logging, cancellation, deadlines, tracing, etc.
deploymentRequestId string

Other Parameters

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

Name Type Description Notes

body | map[string]interface{} | |

Return type

(empty response body)

Authorization

ApiKeyAuth, bearerAuth

HTTP request headers

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

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