All URIs are relative to https://localhost/PasswordVault
Method | HTTP request | Description |
---|---|---|
ConnectionComponentsImport | Post /api/ConnectionComponents/import |
ImportConnectionComponentResponse ConnectionComponentsImport(ctx).ImportConnectionComponent(importConnectionComponent).Execute()
package main
import (
"context"
"fmt"
"os"
openapiclient "./openapi"
)
func main() {
importConnectionComponent := *openapiclient.NewImportConnectionComponentData(string(123)) // ImportConnectionComponentData | The ZIP file containing the connection component and additional configuration parameters.
configuration := openapiclient.NewConfiguration()
apiClient := openapiclient.NewAPIClient(configuration)
resp, r, err := apiClient.ConnectionComponentsApi.ConnectionComponentsImport(context.Background()).ImportConnectionComponent(importConnectionComponent).Execute()
if err != nil {
fmt.Fprintf(os.Stderr, "Error when calling `ConnectionComponentsApi.ConnectionComponentsImport``: %v\n", err)
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
}
// response from `ConnectionComponentsImport`: ImportConnectionComponentResponse
fmt.Fprintf(os.Stdout, "Response from `ConnectionComponentsApi.ConnectionComponentsImport`: %v\n", resp)
}
Other parameters are passed through a pointer to a apiConnectionComponentsImportRequest struct via the builder pattern
Name | Type | Description | Notes |
---|---|---|---|
importConnectionComponent | ImportConnectionComponentData | The ZIP file containing the connection component and additional configuration parameters. |
ImportConnectionComponentResponse
No authorization required
- Content-Type: application/json, text/json, application/xml, text/xml, multipart/form-data, application/x-www-form-urlencoded
- Accept: application/json, text/json, application/xml, text/xml, multipart/form-data, application/vnd.cyberark.api+json
[Back to top] [Back to API list] [Back to Model list] [Back to README]