All URIs are relative to https://localhost/PasswordVault
Method | HTTP request | Description |
---|---|---|
BulkAccountsAddBulkAccounts | Post /api/BulkActions/Accounts | |
BulkAccountsGetBulkAction | Get /api/BulkActions/Accounts/{bulkId} | |
BulkAccountsGetUserBulkAccountsActions | Get /api/BulkActions/Accounts |
map[string]interface{} BulkAccountsAddBulkAccounts(ctx).BulkAccountsModel(bulkAccountsModel).Execute()
package main
import (
"context"
"fmt"
"os"
openapiclient "./openapi"
)
func main() {
bulkAccountsModel := *openapiclient.NewBulkAccountsModel() // BulkAccountsModel |
configuration := openapiclient.NewConfiguration()
apiClient := openapiclient.NewAPIClient(configuration)
resp, r, err := apiClient.BulkAccountsApi.BulkAccountsAddBulkAccounts(context.Background()).BulkAccountsModel(bulkAccountsModel).Execute()
if err != nil {
fmt.Fprintf(os.Stderr, "Error when calling `BulkAccountsApi.BulkAccountsAddBulkAccounts``: %v\n", err)
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
}
// response from `BulkAccountsAddBulkAccounts`: map[string]interface{}
fmt.Fprintf(os.Stdout, "Response from `BulkAccountsApi.BulkAccountsAddBulkAccounts`: %v\n", resp)
}
Other parameters are passed through a pointer to a apiBulkAccountsAddBulkAccountsRequest struct via the builder pattern
Name | Type | Description | Notes |
---|---|---|---|
bulkAccountsModel | BulkAccountsModel |
map[string]interface{}
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]
BulkAccountsOperationResultExtended BulkAccountsGetBulkAction(ctx, bulkId).Execute()
package main
import (
"context"
"fmt"
"os"
openapiclient "./openapi"
)
func main() {
bulkId := int64(789) // int64 | The identifier of the bulk account upload.
configuration := openapiclient.NewConfiguration()
apiClient := openapiclient.NewAPIClient(configuration)
resp, r, err := apiClient.BulkAccountsApi.BulkAccountsGetBulkAction(context.Background(), bulkId).Execute()
if err != nil {
fmt.Fprintf(os.Stderr, "Error when calling `BulkAccountsApi.BulkAccountsGetBulkAction``: %v\n", err)
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
}
// response from `BulkAccountsGetBulkAction`: BulkAccountsOperationResultExtended
fmt.Fprintf(os.Stdout, "Response from `BulkAccountsApi.BulkAccountsGetBulkAction`: %v\n", resp)
}
Name | Type | Description | Notes |
---|---|---|---|
ctx | context.Context | context for authentication, logging, cancellation, deadlines, tracing, etc. | |
bulkId | int64 | The identifier of the bulk account upload. |
Other parameters are passed through a pointer to a apiBulkAccountsGetBulkActionRequest struct via the builder pattern
Name | Type | Description | Notes |
---|
BulkAccountsOperationResultExtended
No authorization required
- Content-Type: Not defined
- 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]
GetBulkAccountsActionsResult BulkAccountsGetUserBulkAccountsActions(ctx).Limit(limit).Filter(filter).Execute()
package main
import (
"context"
"fmt"
"os"
openapiclient "./openapi"
)
func main() {
limit := int32(56) // int32 | Maximum number of returned bulk account actions. If not specified, the default value is 10. The maximum number that can be specified is 1000. (optional)
filter := "filter_example" // string | Search for bulk account actions filtered by spesific status. e.g. Filter=status eq InProgress (optional)
configuration := openapiclient.NewConfiguration()
apiClient := openapiclient.NewAPIClient(configuration)
resp, r, err := apiClient.BulkAccountsApi.BulkAccountsGetUserBulkAccountsActions(context.Background()).Limit(limit).Filter(filter).Execute()
if err != nil {
fmt.Fprintf(os.Stderr, "Error when calling `BulkAccountsApi.BulkAccountsGetUserBulkAccountsActions``: %v\n", err)
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
}
// response from `BulkAccountsGetUserBulkAccountsActions`: GetBulkAccountsActionsResult
fmt.Fprintf(os.Stdout, "Response from `BulkAccountsApi.BulkAccountsGetUserBulkAccountsActions`: %v\n", resp)
}
Other parameters are passed through a pointer to a apiBulkAccountsGetUserBulkAccountsActionsRequest struct via the builder pattern
Name | Type | Description | Notes |
---|---|---|---|
limit | int32 | Maximum number of returned bulk account actions. If not specified, the default value is 10. The maximum number that can be specified is 1000. | |
filter | string | Search for bulk account actions filtered by spesific status. e.g. Filter=status eq InProgress |
No authorization required
- Content-Type: Not defined
- 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]