All URIs are relative to https://localhost
Method | HTTP request | Description |
---|---|---|
CreateVariables | Post /iso/dsm/v2/variables | Register Environment Variables |
CreateVariables(ctx).Body(body).Execute()
Register Environment Variables
package main
import (
"context"
"fmt"
"os"
openapiclient "./openapi"
)
func main() {
body := map[string]interface{}{ ... } // map[string]interface{} | (optional)
configuration := openapiclient.NewConfiguration()
apiClient := openapiclient.NewAPIClient(configuration)
resp, r, err := apiClient.VariableManagementApi.CreateVariables(context.Background()).Body(body).Execute()
if err != nil {
fmt.Fprintf(os.Stderr, "Error when calling `VariableManagementApi.CreateVariables``: %v\n", err)
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
}
}
Other parameters are passed through a pointer to a apiCreateVariablesRequest 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]