All URIs are relative to https://localhost/PasswordVault
Method | HTTP request | Description |
---|---|---|
AuthenticationMethodConfigurationsAddConfigurationValue | Post /api/Configuration/AuthenticationMethods | |
AuthenticationMethodConfigurationsDeleteAuthenticationMethod | Delete /api/Configuration/AuthenticationMethods/{id} | |
AuthenticationMethodConfigurationsGetAuthenticationMethod | Get /api/Configuration/AuthenticationMethods/{id} | |
AuthenticationMethodConfigurationsGetAuthenticationMethods | Get /api/Configuration/AuthenticationMethods | |
AuthenticationMethodConfigurationsUpdateAuthenticationMethod | Put /api/Configuration/AuthenticationMethods/{id} |
AuthenticationMethod AuthenticationMethodConfigurationsAddConfigurationValue(ctx).AuthenticationMethod(authenticationMethod).Execute()
package main
import (
"context"
"fmt"
"os"
openapiclient "./openapi"
)
func main() {
authenticationMethod := *openapiclient.NewAuthenticationMethod("Id_example") // AuthenticationMethod | The authentication method information
configuration := openapiclient.NewConfiguration()
apiClient := openapiclient.NewAPIClient(configuration)
resp, r, err := apiClient.AuthenticationMethodConfigurationsApi.AuthenticationMethodConfigurationsAddConfigurationValue(context.Background()).AuthenticationMethod(authenticationMethod).Execute()
if err != nil {
fmt.Fprintf(os.Stderr, "Error when calling `AuthenticationMethodConfigurationsApi.AuthenticationMethodConfigurationsAddConfigurationValue``: %v\n", err)
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
}
// response from `AuthenticationMethodConfigurationsAddConfigurationValue`: AuthenticationMethod
fmt.Fprintf(os.Stdout, "Response from `AuthenticationMethodConfigurationsApi.AuthenticationMethodConfigurationsAddConfigurationValue`: %v\n", resp)
}
Other parameters are passed through a pointer to a apiAuthenticationMethodConfigurationsAddConfigurationValueRequest struct via the builder pattern
Name | Type | Description | Notes |
---|---|---|---|
authenticationMethod | AuthenticationMethod | The authentication method information |
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]
AuthenticationMethodConfigurationsDeleteAuthenticationMethod(ctx, id).Execute()
package main
import (
"context"
"fmt"
"os"
openapiclient "./openapi"
)
func main() {
id := "id_example" // string | The authentication method unique identifier.
configuration := openapiclient.NewConfiguration()
apiClient := openapiclient.NewAPIClient(configuration)
resp, r, err := apiClient.AuthenticationMethodConfigurationsApi.AuthenticationMethodConfigurationsDeleteAuthenticationMethod(context.Background(), id).Execute()
if err != nil {
fmt.Fprintf(os.Stderr, "Error when calling `AuthenticationMethodConfigurationsApi.AuthenticationMethodConfigurationsDeleteAuthenticationMethod``: %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. | |
id | string | The authentication method unique identifier. |
Other parameters are passed through a pointer to a apiAuthenticationMethodConfigurationsDeleteAuthenticationMethodRequest struct via the builder pattern
Name | Type | Description | Notes |
---|
(empty response body)
No authorization required
- Content-Type: Not defined
- Accept: Not defined
[Back to top] [Back to API list] [Back to Model list] [Back to README]
AuthenticationMethod AuthenticationMethodConfigurationsGetAuthenticationMethod(ctx, id).Execute()
package main
import (
"context"
"fmt"
"os"
openapiclient "./openapi"
)
func main() {
id := "id_example" // string | The authentication method unique identifier.
configuration := openapiclient.NewConfiguration()
apiClient := openapiclient.NewAPIClient(configuration)
resp, r, err := apiClient.AuthenticationMethodConfigurationsApi.AuthenticationMethodConfigurationsGetAuthenticationMethod(context.Background(), id).Execute()
if err != nil {
fmt.Fprintf(os.Stderr, "Error when calling `AuthenticationMethodConfigurationsApi.AuthenticationMethodConfigurationsGetAuthenticationMethod``: %v\n", err)
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
}
// response from `AuthenticationMethodConfigurationsGetAuthenticationMethod`: AuthenticationMethod
fmt.Fprintf(os.Stdout, "Response from `AuthenticationMethodConfigurationsApi.AuthenticationMethodConfigurationsGetAuthenticationMethod`: %v\n", resp)
}
Name | Type | Description | Notes |
---|---|---|---|
ctx | context.Context | context for authentication, logging, cancellation, deadlines, tracing, etc. | |
id | string | The authentication method unique identifier. |
Other parameters are passed through a pointer to a apiAuthenticationMethodConfigurationsGetAuthenticationMethodRequest struct via the builder pattern
Name | Type | Description | Notes |
---|
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]
AuthenticationMethodsResponse AuthenticationMethodConfigurationsGetAuthenticationMethods(ctx).Execute()
package main
import (
"context"
"fmt"
"os"
openapiclient "./openapi"
)
func main() {
configuration := openapiclient.NewConfiguration()
apiClient := openapiclient.NewAPIClient(configuration)
resp, r, err := apiClient.AuthenticationMethodConfigurationsApi.AuthenticationMethodConfigurationsGetAuthenticationMethods(context.Background()).Execute()
if err != nil {
fmt.Fprintf(os.Stderr, "Error when calling `AuthenticationMethodConfigurationsApi.AuthenticationMethodConfigurationsGetAuthenticationMethods``: %v\n", err)
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
}
// response from `AuthenticationMethodConfigurationsGetAuthenticationMethods`: AuthenticationMethodsResponse
fmt.Fprintf(os.Stdout, "Response from `AuthenticationMethodConfigurationsApi.AuthenticationMethodConfigurationsGetAuthenticationMethods`: %v\n", resp)
}
This endpoint does not need any parameter.
Other parameters are passed through a pointer to a apiAuthenticationMethodConfigurationsGetAuthenticationMethodsRequest struct via the builder pattern
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]
AuthenticationMethod AuthenticationMethodConfigurationsUpdateAuthenticationMethod(ctx, id).Value(value).Execute()
package main
import (
"context"
"fmt"
"os"
openapiclient "./openapi"
)
func main() {
id := "id_example" // string | The authentication method unique identifier.
value := *openapiclient.NewAuthenticationMethodBase() // AuthenticationMethodBase | The authentication method information
configuration := openapiclient.NewConfiguration()
apiClient := openapiclient.NewAPIClient(configuration)
resp, r, err := apiClient.AuthenticationMethodConfigurationsApi.AuthenticationMethodConfigurationsUpdateAuthenticationMethod(context.Background(), id).Value(value).Execute()
if err != nil {
fmt.Fprintf(os.Stderr, "Error when calling `AuthenticationMethodConfigurationsApi.AuthenticationMethodConfigurationsUpdateAuthenticationMethod``: %v\n", err)
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
}
// response from `AuthenticationMethodConfigurationsUpdateAuthenticationMethod`: AuthenticationMethod
fmt.Fprintf(os.Stdout, "Response from `AuthenticationMethodConfigurationsApi.AuthenticationMethodConfigurationsUpdateAuthenticationMethod`: %v\n", resp)
}
Name | Type | Description | Notes |
---|---|---|---|
ctx | context.Context | context for authentication, logging, cancellation, deadlines, tracing, etc. | |
id | string | The authentication method unique identifier. |
Other parameters are passed through a pointer to a apiAuthenticationMethodConfigurationsUpdateAuthenticationMethodRequest struct via the builder pattern
Name | Type | Description | Notes |
---|
value | AuthenticationMethodBase | The authentication method information |
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]