mirror of
https://github.com/LukeHagar/developer.sailpoint.com.git
synced 2025-12-09 20:37:47 +00:00
update go docs
This commit is contained in:
@@ -20,7 +20,7 @@ Name | Type | Description | Notes
|
||||
**Created** | Pointer to **NullableTime** | A date-time in ISO-8601 format | [optional]
|
||||
**Modified** | Pointer to **NullableTime** | A date-time in ISO-8601 format | [optional]
|
||||
**Indices** | [**[]Index**](index) | The names of the Elasticsearch indices in which to search. |
|
||||
**Columns** | Pointer to [**map[string][]Column**](array) | The columns to be returned (specifies the order in which they will be presented) for each document type. The currently supported document types are: _accessprofile_, _accountactivity_, _account_, _aggregation_, _entitlement_, _event_, _identity_, and _role_. | [optional]
|
||||
**Columns** | Pointer to [**map[string][]Column**](https://go.dev/tour/moretypes/6) | The columns to be returned (specifies the order in which they will be presented) for each document type. The currently supported document types are: _accessprofile_, _accountactivity_, _account_, _aggregation_, _entitlement_, _event_, _identity_, and _role_. | [optional]
|
||||
**Query** | **string** | The search query using Elasticsearch [Query String Query](https://www.elastic.co/guide/en/elasticsearch/reference/5.2/query-dsl-query-string-query.html#query-string) syntax from the Query DSL. |
|
||||
**Fields** | Pointer to **[]string** | The fields to be searched against in a multi-field query. | [optional]
|
||||
**OrderBy** | Pointer to **map[string][]string** | Sort by index. This takes precedence over the `sort` property. | [optional]
|
||||
|
||||
@@ -15,7 +15,7 @@ tags: ['SDK', 'Software Development Kit', 'ObjectMappingBulkPatchRequest', 'V202
|
||||
|
||||
Name | Type | Description | Notes
|
||||
------------ | ------------- | ------------- | -------------
|
||||
**Patches** | [**map[string][]JsonPatchOperation**](array) | Map of id of the object mapping to a JsonPatchOperation describing what to patch on that object mapping. |
|
||||
**Patches** | [**map[string][]JsonPatchOperation**](https://go.dev/tour/moretypes/6) | Map of id of the object mapping to a JsonPatchOperation describing what to patch on that object mapping. |
|
||||
|
||||
## Methods
|
||||
|
||||
|
||||
@@ -20,7 +20,7 @@ Name | Type | Description | Notes
|
||||
**Created** | Pointer to **NullableTime** | A date-time in ISO-8601 format | [optional]
|
||||
**Modified** | Pointer to **NullableTime** | A date-time in ISO-8601 format | [optional]
|
||||
**Indices** | [**[]Index**](index) | The names of the Elasticsearch indices in which to search. |
|
||||
**Columns** | Pointer to [**map[string][]Column**](array) | The columns to be returned (specifies the order in which they will be presented) for each document type. The currently supported document types are: _accessprofile_, _accountactivity_, _account_, _aggregation_, _entitlement_, _event_, _identity_, and _role_. | [optional]
|
||||
**Columns** | Pointer to [**map[string][]Column**](https://go.dev/tour/moretypes/6) | The columns to be returned (specifies the order in which they will be presented) for each document type. The currently supported document types are: _accessprofile_, _accountactivity_, _account_, _aggregation_, _entitlement_, _event_, _identity_, and _role_. | [optional]
|
||||
**Query** | **string** | The search query using Elasticsearch [Query String Query](https://www.elastic.co/guide/en/elasticsearch/reference/5.2/query-dsl-query-string-query.html#query-string) syntax from the Query DSL. |
|
||||
**Fields** | Pointer to **[]string** | The fields to be searched against in a multi-field query. | [optional]
|
||||
**OrderBy** | Pointer to **map[string][]string** | Sort by index. This takes precedence over the `sort` property. | [optional]
|
||||
|
||||
@@ -18,7 +18,7 @@ Name | Type | Description | Notes
|
||||
**Created** | Pointer to **NullableTime** | A date-time in ISO-8601 format | [optional]
|
||||
**Modified** | Pointer to **NullableTime** | A date-time in ISO-8601 format | [optional]
|
||||
**Indices** | [**[]Index**](index) | The names of the Elasticsearch indices in which to search. |
|
||||
**Columns** | Pointer to [**map[string][]Column**](array) | The columns to be returned (specifies the order in which they will be presented) for each document type. The currently supported document types are: _accessprofile_, _accountactivity_, _account_, _aggregation_, _entitlement_, _event_, _identity_, and _role_. | [optional]
|
||||
**Columns** | Pointer to [**map[string][]Column**](https://go.dev/tour/moretypes/6) | The columns to be returned (specifies the order in which they will be presented) for each document type. The currently supported document types are: _accessprofile_, _accountactivity_, _account_, _aggregation_, _entitlement_, _event_, _identity_, and _role_. | [optional]
|
||||
**Query** | **string** | The search query using Elasticsearch [Query String Query](https://www.elastic.co/guide/en/elasticsearch/reference/5.2/query-dsl-query-string-query.html#query-string) syntax from the Query DSL. |
|
||||
**Fields** | Pointer to **[]string** | The fields to be searched against in a multi-field query. | [optional]
|
||||
**OrderBy** | Pointer to **map[string][]string** | Sort by index. This takes precedence over the `sort` property. | [optional]
|
||||
|
||||
@@ -1,12 +1,12 @@
|
||||
---
|
||||
id: access-model-metadata
|
||||
id: v2025-access-model-metadata
|
||||
title: AccessModelMetadata
|
||||
pagination_label: AccessModelMetadata
|
||||
sidebar_label: AccessModelMetadata
|
||||
sidebar_class_name: gosdk
|
||||
keywords: ['go', 'Golang', 'sdk', 'AccessModelMetadata', 'AccessModelMetadata']
|
||||
slug: /tools/sdk/go//methods/access-model-metadata
|
||||
tags: ['SDK', 'Software Development Kit', 'AccessModelMetadata', 'AccessModelMetadata']
|
||||
keywords: ['go', 'Golang', 'sdk', 'AccessModelMetadata', 'V2025AccessModelMetadata']
|
||||
slug: /tools/sdk/go/v2025/methods/access-model-metadata
|
||||
tags: ['SDK', 'Software Development Kit', 'AccessModelMetadata', 'V2025AccessModelMetadata']
|
||||
---
|
||||
|
||||
# AccessModelMetadataAPI
|
||||
@@ -46,7 +46,7 @@ This API is currently in an experimental state. The API is subject to change bas
|
||||
Get Access Model Metadata Attribute
|
||||
Get single Access Model Metadata Attribute
|
||||
|
||||
[API Spec](https://developer.sailpoint.com/docs/api//get-access-model-metadata-attribute)
|
||||
[API Spec](https://developer.sailpoint.com/docs/api/v2025/get-access-model-metadata-attribute)
|
||||
|
||||
### Path Parameters
|
||||
|
||||
@@ -84,7 +84,7 @@ import (
|
||||
"context"
|
||||
"fmt"
|
||||
"os"
|
||||
""
|
||||
v2025 "github.com/sailpoint-oss/golang-sdk/v2/api_v2025"
|
||||
openapiclient "github.com/sailpoint-oss/golang-sdk/v2"
|
||||
)
|
||||
|
||||
@@ -94,7 +94,7 @@ func main() {
|
||||
|
||||
configuration := NewDefaultConfiguration()
|
||||
apiClient := NewAPIClient(configuration)
|
||||
resp, r, err := apiClient..AccessModelMetadataAPI.GetAccessModelMetadataAttribute(context.Background(), key).XSailPointExperimental(xSailPointExperimental).Execute()
|
||||
resp, r, err := apiClient.V2025.AccessModelMetadataAPI.GetAccessModelMetadataAttribute(context.Background(), key).XSailPointExperimental(xSailPointExperimental).Execute()
|
||||
if err != nil {
|
||||
fmt.Fprintf(os.Stderr, "Error when calling `AccessModelMetadataAPI.GetAccessModelMetadataAttribute``: %v\n", err)
|
||||
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
|
||||
@@ -121,7 +121,7 @@ This API is currently in an experimental state. The API is subject to change bas
|
||||
Get Access Model Metadata Value
|
||||
Get single Access Model Metadata Attribute Value
|
||||
|
||||
[API Spec](https://developer.sailpoint.com/docs/api//get-access-model-metadata-attribute-value)
|
||||
[API Spec](https://developer.sailpoint.com/docs/api/v2025/get-access-model-metadata-attribute-value)
|
||||
|
||||
### Path Parameters
|
||||
|
||||
@@ -161,7 +161,7 @@ import (
|
||||
"context"
|
||||
"fmt"
|
||||
"os"
|
||||
""
|
||||
v2025 "github.com/sailpoint-oss/golang-sdk/v2/api_v2025"
|
||||
openapiclient "github.com/sailpoint-oss/golang-sdk/v2"
|
||||
)
|
||||
|
||||
@@ -172,7 +172,7 @@ func main() {
|
||||
|
||||
configuration := NewDefaultConfiguration()
|
||||
apiClient := NewAPIClient(configuration)
|
||||
resp, r, err := apiClient..AccessModelMetadataAPI.GetAccessModelMetadataAttributeValue(context.Background(), key, value).XSailPointExperimental(xSailPointExperimental).Execute()
|
||||
resp, r, err := apiClient.V2025.AccessModelMetadataAPI.GetAccessModelMetadataAttributeValue(context.Background(), key, value).XSailPointExperimental(xSailPointExperimental).Execute()
|
||||
if err != nil {
|
||||
fmt.Fprintf(os.Stderr, "Error when calling `AccessModelMetadataAPI.GetAccessModelMetadataAttributeValue``: %v\n", err)
|
||||
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
|
||||
@@ -199,7 +199,7 @@ This API is currently in an experimental state. The API is subject to change bas
|
||||
List Access Model Metadata Attributes
|
||||
Get a list of Access Model Metadata Attributes
|
||||
|
||||
[API Spec](https://developer.sailpoint.com/docs/api//list-access-model-metadata-attribute)
|
||||
[API Spec](https://developer.sailpoint.com/docs/api/v2025/list-access-model-metadata-attribute)
|
||||
|
||||
### Path Parameters
|
||||
|
||||
@@ -233,7 +233,7 @@ import (
|
||||
"context"
|
||||
"fmt"
|
||||
"os"
|
||||
""
|
||||
v2025 "github.com/sailpoint-oss/golang-sdk/v2/api_v2025"
|
||||
openapiclient "github.com/sailpoint-oss/golang-sdk/v2"
|
||||
)
|
||||
|
||||
@@ -243,7 +243,7 @@ func main() {
|
||||
|
||||
configuration := NewDefaultConfiguration()
|
||||
apiClient := NewAPIClient(configuration)
|
||||
resp, r, err := apiClient..AccessModelMetadataAPI.ListAccessModelMetadataAttribute(context.Background()).XSailPointExperimental(xSailPointExperimental).Filters(filters).Execute()
|
||||
resp, r, err := apiClient.V2025.AccessModelMetadataAPI.ListAccessModelMetadataAttribute(context.Background()).XSailPointExperimental(xSailPointExperimental).Filters(filters).Execute()
|
||||
if err != nil {
|
||||
fmt.Fprintf(os.Stderr, "Error when calling `AccessModelMetadataAPI.ListAccessModelMetadataAttribute``: %v\n", err)
|
||||
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
|
||||
@@ -270,7 +270,7 @@ This API is currently in an experimental state. The API is subject to change bas
|
||||
List Access Model Metadata Values
|
||||
Get a list of Access Model Metadata Attribute Values
|
||||
|
||||
[API Spec](https://developer.sailpoint.com/docs/api//list-access-model-metadata-attribute-value)
|
||||
[API Spec](https://developer.sailpoint.com/docs/api/v2025/list-access-model-metadata-attribute-value)
|
||||
|
||||
### Path Parameters
|
||||
|
||||
@@ -308,7 +308,7 @@ import (
|
||||
"context"
|
||||
"fmt"
|
||||
"os"
|
||||
""
|
||||
v2025 "github.com/sailpoint-oss/golang-sdk/v2/api_v2025"
|
||||
openapiclient "github.com/sailpoint-oss/golang-sdk/v2"
|
||||
)
|
||||
|
||||
@@ -318,7 +318,7 @@ func main() {
|
||||
|
||||
configuration := NewDefaultConfiguration()
|
||||
apiClient := NewAPIClient(configuration)
|
||||
resp, r, err := apiClient..AccessModelMetadataAPI.ListAccessModelMetadataAttributeValue(context.Background(), key).XSailPointExperimental(xSailPointExperimental).Execute()
|
||||
resp, r, err := apiClient.V2025.AccessModelMetadataAPI.ListAccessModelMetadataAttributeValue(context.Background(), key).XSailPointExperimental(xSailPointExperimental).Execute()
|
||||
if err != nil {
|
||||
fmt.Fprintf(os.Stderr, "Error when calling `AccessModelMetadataAPI.ListAccessModelMetadataAttributeValue``: %v\n", err)
|
||||
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
|
||||
|
||||
@@ -1,12 +1,12 @@
|
||||
---
|
||||
id: access-profiles
|
||||
id: v2025-access-profiles
|
||||
title: AccessProfiles
|
||||
pagination_label: AccessProfiles
|
||||
sidebar_label: AccessProfiles
|
||||
sidebar_class_name: gosdk
|
||||
keywords: ['go', 'Golang', 'sdk', 'AccessProfiles', 'AccessProfiles']
|
||||
slug: /tools/sdk/go//methods/access-profiles
|
||||
tags: ['SDK', 'Software Development Kit', 'AccessProfiles', 'AccessProfiles']
|
||||
keywords: ['go', 'Golang', 'sdk', 'AccessProfiles', 'V2025AccessProfiles']
|
||||
slug: /tools/sdk/go/v2025/methods/access-profiles
|
||||
tags: ['SDK', 'Software Development Kit', 'AccessProfiles', 'V2025AccessProfiles']
|
||||
---
|
||||
|
||||
# AccessProfilesAPI
|
||||
@@ -65,7 +65,7 @@ Create an access profile.
|
||||
A user with `ROLE_SUBADMIN` or `SOURCE_SUBADMIN` authority must be associated with the access profile's source.
|
||||
The maximum supported length for the description field is 2000 characters. Longer descriptions will be preserved for existing access profiles. However, any new access profiles as well as any updates to existing descriptions are limited to 2000 characters.
|
||||
|
||||
[API Spec](https://developer.sailpoint.com/docs/api//create-access-profile)
|
||||
[API Spec](https://developer.sailpoint.com/docs/api/v2025/create-access-profile)
|
||||
|
||||
### Path Parameters
|
||||
|
||||
@@ -98,7 +98,7 @@ import (
|
||||
"context"
|
||||
"fmt"
|
||||
"os"
|
||||
""
|
||||
v2025 "github.com/sailpoint-oss/golang-sdk/v2/api_v2025"
|
||||
openapiclient "github.com/sailpoint-oss/golang-sdk/v2"
|
||||
)
|
||||
|
||||
@@ -192,7 +192,7 @@ func main() {
|
||||
|
||||
configuration := NewDefaultConfiguration()
|
||||
apiClient := NewAPIClient(configuration)
|
||||
resp, r, err := apiClient..AccessProfilesAPI.CreateAccessProfile(context.Background()).AccessProfile(accessProfile).Execute()
|
||||
resp, r, err := apiClient.V2025.AccessProfilesAPI.CreateAccessProfile(context.Background()).AccessProfile(accessProfile).Execute()
|
||||
if err != nil {
|
||||
fmt.Fprintf(os.Stderr, "Error when calling `AccessProfilesAPI.CreateAccessProfile``: %v\n", err)
|
||||
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
|
||||
@@ -212,7 +212,7 @@ The Access Profile must not be in use, for example, Access Profile can not be de
|
||||
|
||||
A user with SOURCE_SUBADMIN must be able to administer the Source associated with the Access Profile.
|
||||
|
||||
[API Spec](https://developer.sailpoint.com/docs/api//delete-access-profile)
|
||||
[API Spec](https://developer.sailpoint.com/docs/api/v2025/delete-access-profile)
|
||||
|
||||
### Path Parameters
|
||||
|
||||
@@ -249,7 +249,7 @@ import (
|
||||
"context"
|
||||
"fmt"
|
||||
"os"
|
||||
""
|
||||
v2025 "github.com/sailpoint-oss/golang-sdk/v2/api_v2025"
|
||||
openapiclient "github.com/sailpoint-oss/golang-sdk/v2"
|
||||
)
|
||||
|
||||
@@ -258,7 +258,7 @@ func main() {
|
||||
|
||||
configuration := NewDefaultConfiguration()
|
||||
apiClient := NewAPIClient(configuration)
|
||||
r, err := apiClient..AccessProfilesAPI.DeleteAccessProfile(context.Background(), id).Execute()
|
||||
r, err := apiClient.V2025.AccessProfilesAPI.DeleteAccessProfile(context.Background(), id).Execute()
|
||||
if err != nil {
|
||||
fmt.Fprintf(os.Stderr, "Error when calling `AccessProfilesAPI.DeleteAccessProfile``: %v\n", err)
|
||||
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
|
||||
@@ -276,7 +276,7 @@ This endpoint can only bulk delete up to a limit of 50 access profiles per reque
|
||||
By default, if any of the indicated access profiles are in use, no deletions will be performed and the **inUse** field of the response indicates the usages that must be removed first. If the request field **bestEffortOnly** is **true**, however, usages are reported in the **inUse** response field but all other indicated access profiles will be deleted.
|
||||
A SOURCE_SUBADMIN user can only use this endpoint to delete access profiles associated with sources they're able to administer.
|
||||
|
||||
[API Spec](https://developer.sailpoint.com/docs/api//delete-access-profiles-in-bulk)
|
||||
[API Spec](https://developer.sailpoint.com/docs/api/v2025/delete-access-profiles-in-bulk)
|
||||
|
||||
### Path Parameters
|
||||
|
||||
@@ -309,7 +309,7 @@ import (
|
||||
"context"
|
||||
"fmt"
|
||||
"os"
|
||||
""
|
||||
v2025 "github.com/sailpoint-oss/golang-sdk/v2/api_v2025"
|
||||
openapiclient "github.com/sailpoint-oss/golang-sdk/v2"
|
||||
)
|
||||
|
||||
@@ -321,7 +321,7 @@ func main() {
|
||||
|
||||
configuration := NewDefaultConfiguration()
|
||||
apiClient := NewAPIClient(configuration)
|
||||
resp, r, err := apiClient..AccessProfilesAPI.DeleteAccessProfilesInBulk(context.Background()).AccessProfileBulkDeleteRequest(accessProfileBulkDeleteRequest).Execute()
|
||||
resp, r, err := apiClient.V2025.AccessProfilesAPI.DeleteAccessProfilesInBulk(context.Background()).AccessProfileBulkDeleteRequest(accessProfileBulkDeleteRequest).Execute()
|
||||
if err != nil {
|
||||
fmt.Fprintf(os.Stderr, "Error when calling `AccessProfilesAPI.DeleteAccessProfilesInBulk``: %v\n", err)
|
||||
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
|
||||
@@ -337,7 +337,7 @@ func main() {
|
||||
Get an Access Profile
|
||||
This API returns an Access Profile by its ID.
|
||||
|
||||
[API Spec](https://developer.sailpoint.com/docs/api//get-access-profile)
|
||||
[API Spec](https://developer.sailpoint.com/docs/api/v2025/get-access-profile)
|
||||
|
||||
### Path Parameters
|
||||
|
||||
@@ -374,7 +374,7 @@ import (
|
||||
"context"
|
||||
"fmt"
|
||||
"os"
|
||||
""
|
||||
v2025 "github.com/sailpoint-oss/golang-sdk/v2/api_v2025"
|
||||
openapiclient "github.com/sailpoint-oss/golang-sdk/v2"
|
||||
)
|
||||
|
||||
@@ -383,7 +383,7 @@ func main() {
|
||||
|
||||
configuration := NewDefaultConfiguration()
|
||||
apiClient := NewAPIClient(configuration)
|
||||
resp, r, err := apiClient..AccessProfilesAPI.GetAccessProfile(context.Background(), id).Execute()
|
||||
resp, r, err := apiClient.V2025.AccessProfilesAPI.GetAccessProfile(context.Background(), id).Execute()
|
||||
if err != nil {
|
||||
fmt.Fprintf(os.Stderr, "Error when calling `AccessProfilesAPI.GetAccessProfile``: %v\n", err)
|
||||
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
|
||||
@@ -401,7 +401,7 @@ Use this API to get a list of an access profile's entitlements.
|
||||
A SOURCE_SUBADMIN user must have access to the source associated with the specified access profile.
|
||||
>**Note:** When you filter for access profiles that have the '+' symbol in their names, the response is blank.
|
||||
|
||||
[API Spec](https://developer.sailpoint.com/docs/api//get-access-profile-entitlements)
|
||||
[API Spec](https://developer.sailpoint.com/docs/api/v2025/get-access-profile-entitlements)
|
||||
|
||||
### Path Parameters
|
||||
|
||||
@@ -443,7 +443,7 @@ import (
|
||||
"context"
|
||||
"fmt"
|
||||
"os"
|
||||
""
|
||||
v2025 "github.com/sailpoint-oss/golang-sdk/v2/api_v2025"
|
||||
openapiclient "github.com/sailpoint-oss/golang-sdk/v2"
|
||||
)
|
||||
|
||||
@@ -457,7 +457,7 @@ func main() {
|
||||
|
||||
configuration := NewDefaultConfiguration()
|
||||
apiClient := NewAPIClient(configuration)
|
||||
resp, r, err := apiClient..AccessProfilesAPI.GetAccessProfileEntitlements(context.Background(), id).Limit(limit).Offset(offset).Count(count).Filters(filters).Sorters(sorters).Execute()
|
||||
resp, r, err := apiClient.V2025.AccessProfilesAPI.GetAccessProfileEntitlements(context.Background(), id).Limit(limit).Offset(offset).Count(count).Filters(filters).Sorters(sorters).Execute()
|
||||
if err != nil {
|
||||
fmt.Fprintf(os.Stderr, "Error when calling `AccessProfilesAPI.GetAccessProfileEntitlements``: %v\n", err)
|
||||
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
|
||||
@@ -474,7 +474,7 @@ List Access Profiles
|
||||
Get a list of access profiles.
|
||||
>**Note:** When you filter for access profiles that have the '+' symbol in their names, the response is blank.
|
||||
|
||||
[API Spec](https://developer.sailpoint.com/docs/api//list-access-profiles)
|
||||
[API Spec](https://developer.sailpoint.com/docs/api/v2025/list-access-profiles)
|
||||
|
||||
### Path Parameters
|
||||
|
||||
@@ -514,7 +514,7 @@ import (
|
||||
"context"
|
||||
"fmt"
|
||||
"os"
|
||||
""
|
||||
v2025 "github.com/sailpoint-oss/golang-sdk/v2/api_v2025"
|
||||
openapiclient "github.com/sailpoint-oss/golang-sdk/v2"
|
||||
)
|
||||
|
||||
@@ -530,7 +530,7 @@ func main() {
|
||||
|
||||
configuration := NewDefaultConfiguration()
|
||||
apiClient := NewAPIClient(configuration)
|
||||
resp, r, err := apiClient..AccessProfilesAPI.ListAccessProfiles(context.Background()).ForSubadmin(forSubadmin).Limit(limit).Offset(offset).Count(count).Filters(filters).Sorters(sorters).ForSegmentIds(forSegmentIds).IncludeUnsegmented(includeUnsegmented).Execute()
|
||||
resp, r, err := apiClient.V2025.AccessProfilesAPI.ListAccessProfiles(context.Background()).ForSubadmin(forSubadmin).Limit(limit).Offset(offset).Count(count).Filters(filters).Sorters(sorters).ForSegmentIds(forSegmentIds).IncludeUnsegmented(includeUnsegmented).Execute()
|
||||
if err != nil {
|
||||
fmt.Fprintf(os.Stderr, "Error when calling `AccessProfilesAPI.ListAccessProfiles``: %v\n", err)
|
||||
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
|
||||
@@ -575,7 +575,7 @@ A user with SOURCE_SUBADMIN may only use this API to patch Access Profiles which
|
||||
|
||||
> You can only add or replace **entitlements** that exist on the source that the access profile is attached to. You can use the **list entitlements** endpoint with the **filters** query parameter to get a list of available entitlements on the access profile's source.
|
||||
|
||||
[API Spec](https://developer.sailpoint.com/docs/api//patch-access-profile)
|
||||
[API Spec](https://developer.sailpoint.com/docs/api/v2025/patch-access-profile)
|
||||
|
||||
### Path Parameters
|
||||
|
||||
@@ -613,7 +613,7 @@ import (
|
||||
"context"
|
||||
"fmt"
|
||||
"os"
|
||||
""
|
||||
v2025 "github.com/sailpoint-oss/golang-sdk/v2/api_v2025"
|
||||
openapiclient "github.com/sailpoint-oss/golang-sdk/v2"
|
||||
)
|
||||
|
||||
@@ -623,7 +623,7 @@ func main() {
|
||||
|
||||
configuration := NewDefaultConfiguration()
|
||||
apiClient := NewAPIClient(configuration)
|
||||
resp, r, err := apiClient..AccessProfilesAPI.PatchAccessProfile(context.Background(), id).JsonPatchOperation(jsonPatchOperation).Execute()
|
||||
resp, r, err := apiClient.V2025.AccessProfilesAPI.PatchAccessProfile(context.Background(), id).JsonPatchOperation(jsonPatchOperation).Execute()
|
||||
if err != nil {
|
||||
fmt.Fprintf(os.Stderr, "Error when calling `AccessProfilesAPI.PatchAccessProfile``: %v\n", err)
|
||||
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
|
||||
@@ -656,7 +656,7 @@ This API initiates a bulk update of field requestable for one or more Access Pro
|
||||
> If any of the indicated Access Profiles is not does not exists in Organization,then those Access Profiles will be added in **notFound** list of the response. Access Profiles marked as **notFound** will not be updated.
|
||||
A SOURCE_SUBADMIN may only use this API to update Access Profiles which are associated with Sources they are able to administer.
|
||||
|
||||
[API Spec](https://developer.sailpoint.com/docs/api//update-access-profiles-in-bulk)
|
||||
[API Spec](https://developer.sailpoint.com/docs/api/v2025/update-access-profiles-in-bulk)
|
||||
|
||||
### Path Parameters
|
||||
|
||||
@@ -690,7 +690,7 @@ import (
|
||||
"context"
|
||||
"fmt"
|
||||
"os"
|
||||
""
|
||||
v2025 "github.com/sailpoint-oss/golang-sdk/v2/api_v2025"
|
||||
openapiclient "github.com/sailpoint-oss/golang-sdk/v2"
|
||||
)
|
||||
|
||||
@@ -700,7 +700,7 @@ func main() {
|
||||
|
||||
configuration := NewDefaultConfiguration()
|
||||
apiClient := NewAPIClient(configuration)
|
||||
resp, r, err := apiClient..AccessProfilesAPI.UpdateAccessProfilesInBulk(context.Background()).XSailPointExperimental(xSailPointExperimental).AccessProfileBulkUpdateRequestInner(accessProfileBulkUpdateRequestInner).Execute()
|
||||
resp, r, err := apiClient.V2025.AccessProfilesAPI.UpdateAccessProfilesInBulk(context.Background()).XSailPointExperimental(xSailPointExperimental).AccessProfileBulkUpdateRequestInner(accessProfileBulkUpdateRequestInner).Execute()
|
||||
if err != nil {
|
||||
fmt.Fprintf(os.Stderr, "Error when calling `AccessProfilesAPI.UpdateAccessProfilesInBulk``: %v\n", err)
|
||||
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
|
||||
|
||||
@@ -1,12 +1,12 @@
|
||||
---
|
||||
id: access-request-approvals
|
||||
id: v2025-access-request-approvals
|
||||
title: AccessRequestApprovals
|
||||
pagination_label: AccessRequestApprovals
|
||||
sidebar_label: AccessRequestApprovals
|
||||
sidebar_class_name: gosdk
|
||||
keywords: ['go', 'Golang', 'sdk', 'AccessRequestApprovals', 'AccessRequestApprovals']
|
||||
slug: /tools/sdk/go//methods/access-request-approvals
|
||||
tags: ['SDK', 'Software Development Kit', 'AccessRequestApprovals', 'AccessRequestApprovals']
|
||||
keywords: ['go', 'Golang', 'sdk', 'AccessRequestApprovals', 'V2025AccessRequestApprovals']
|
||||
slug: /tools/sdk/go/v2025/methods/access-request-approvals
|
||||
tags: ['SDK', 'Software Development Kit', 'AccessRequestApprovals', 'V2025AccessRequestApprovals']
|
||||
---
|
||||
|
||||
# AccessRequestApprovalsAPI
|
||||
@@ -45,7 +45,7 @@ Method | HTTP request | Description
|
||||
Approve Access Request Approval
|
||||
Use this endpoint to approve an access request approval. Only the owner of the approval and ORG_ADMIN users are allowed to perform this action.
|
||||
|
||||
[API Spec](https://developer.sailpoint.com/docs/api//approve-access-request)
|
||||
[API Spec](https://developer.sailpoint.com/docs/api/v2025/approve-access-request)
|
||||
|
||||
### Path Parameters
|
||||
|
||||
@@ -83,7 +83,7 @@ import (
|
||||
"context"
|
||||
"fmt"
|
||||
"os"
|
||||
""
|
||||
v2025 "github.com/sailpoint-oss/golang-sdk/v2/api_v2025"
|
||||
openapiclient "github.com/sailpoint-oss/golang-sdk/v2"
|
||||
)
|
||||
|
||||
@@ -101,7 +101,7 @@ func main() {
|
||||
|
||||
configuration := NewDefaultConfiguration()
|
||||
apiClient := NewAPIClient(configuration)
|
||||
resp, r, err := apiClient..AccessRequestApprovalsAPI.ApproveAccessRequest(context.Background(), approvalId).CommentDto(commentDto).Execute()
|
||||
resp, r, err := apiClient.V2025.AccessRequestApprovalsAPI.ApproveAccessRequest(context.Background(), approvalId).CommentDto(commentDto).Execute()
|
||||
if err != nil {
|
||||
fmt.Fprintf(os.Stderr, "Error when calling `AccessRequestApprovalsAPI.ApproveAccessRequest``: %v\n", err)
|
||||
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
|
||||
@@ -117,7 +117,7 @@ func main() {
|
||||
Forward Access Request Approval
|
||||
Use this API to forward an access request approval to a new owner. Only the owner of the approval and ORG_ADMIN users are allowed to perform this action. Only the owner of the approval and ORG_ADMIN users are allowed to perform this action.
|
||||
|
||||
[API Spec](https://developer.sailpoint.com/docs/api//forward-access-request)
|
||||
[API Spec](https://developer.sailpoint.com/docs/api/v2025/forward-access-request)
|
||||
|
||||
### Path Parameters
|
||||
|
||||
@@ -155,7 +155,7 @@ import (
|
||||
"context"
|
||||
"fmt"
|
||||
"os"
|
||||
""
|
||||
v2025 "github.com/sailpoint-oss/golang-sdk/v2/api_v2025"
|
||||
openapiclient "github.com/sailpoint-oss/golang-sdk/v2"
|
||||
)
|
||||
|
||||
@@ -168,7 +168,7 @@ func main() {
|
||||
|
||||
configuration := NewDefaultConfiguration()
|
||||
apiClient := NewAPIClient(configuration)
|
||||
resp, r, err := apiClient..AccessRequestApprovalsAPI.ForwardAccessRequest(context.Background(), approvalId).ForwardApprovalDto(forwardApprovalDto).Execute()
|
||||
resp, r, err := apiClient.V2025.AccessRequestApprovalsAPI.ForwardAccessRequest(context.Background(), approvalId).ForwardApprovalDto(forwardApprovalDto).Execute()
|
||||
if err != nil {
|
||||
fmt.Fprintf(os.Stderr, "Error when calling `AccessRequestApprovalsAPI.ForwardAccessRequest``: %v\n", err)
|
||||
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
|
||||
@@ -184,7 +184,7 @@ func main() {
|
||||
Get Access Requests Approvals Number
|
||||
Use this API to return the number of pending, approved and rejected access requests approvals. See the "owner-id" query parameter for authorization information. info.
|
||||
|
||||
[API Spec](https://developer.sailpoint.com/docs/api//get-access-request-approval-summary)
|
||||
[API Spec](https://developer.sailpoint.com/docs/api/v2025/get-access-request-approval-summary)
|
||||
|
||||
### Path Parameters
|
||||
|
||||
@@ -218,7 +218,7 @@ import (
|
||||
"context"
|
||||
"fmt"
|
||||
"os"
|
||||
""
|
||||
v2025 "github.com/sailpoint-oss/golang-sdk/v2/api_v2025"
|
||||
openapiclient "github.com/sailpoint-oss/golang-sdk/v2"
|
||||
)
|
||||
|
||||
@@ -228,7 +228,7 @@ func main() {
|
||||
|
||||
configuration := NewDefaultConfiguration()
|
||||
apiClient := NewAPIClient(configuration)
|
||||
resp, r, err := apiClient..AccessRequestApprovalsAPI.GetAccessRequestApprovalSummary(context.Background()).OwnerId(ownerId).FromDate(fromDate).Execute()
|
||||
resp, r, err := apiClient.V2025.AccessRequestApprovalsAPI.GetAccessRequestApprovalSummary(context.Background()).OwnerId(ownerId).FromDate(fromDate).Execute()
|
||||
if err != nil {
|
||||
fmt.Fprintf(os.Stderr, "Error when calling `AccessRequestApprovalsAPI.GetAccessRequestApprovalSummary``: %v\n", err)
|
||||
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
|
||||
@@ -245,7 +245,7 @@ Access Request Approvers
|
||||
This API endpoint returns the list of approvers for the given access request id.
|
||||
|
||||
|
||||
[API Spec](https://developer.sailpoint.com/docs/api//list-access-request-approvers)
|
||||
[API Spec](https://developer.sailpoint.com/docs/api/v2025/list-access-request-approvers)
|
||||
|
||||
### Path Parameters
|
||||
|
||||
@@ -285,7 +285,7 @@ import (
|
||||
"context"
|
||||
"fmt"
|
||||
"os"
|
||||
""
|
||||
v2025 "github.com/sailpoint-oss/golang-sdk/v2/api_v2025"
|
||||
openapiclient "github.com/sailpoint-oss/golang-sdk/v2"
|
||||
)
|
||||
|
||||
@@ -297,7 +297,7 @@ func main() {
|
||||
|
||||
configuration := NewDefaultConfiguration()
|
||||
apiClient := NewAPIClient(configuration)
|
||||
resp, r, err := apiClient..AccessRequestApprovalsAPI.ListAccessRequestApprovers(context.Background(), accessRequestId).Limit(limit).Offset(offset).Count(count).Execute()
|
||||
resp, r, err := apiClient.V2025.AccessRequestApprovalsAPI.ListAccessRequestApprovers(context.Background(), accessRequestId).Limit(limit).Offset(offset).Count(count).Execute()
|
||||
if err != nil {
|
||||
fmt.Fprintf(os.Stderr, "Error when calling `AccessRequestApprovalsAPI.ListAccessRequestApprovers``: %v\n", err)
|
||||
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
|
||||
@@ -313,7 +313,7 @@ func main() {
|
||||
Completed Access Request Approvals List
|
||||
This endpoint returns list of completed approvals. See *owner-id* query parameter below for authorization info.
|
||||
|
||||
[API Spec](https://developer.sailpoint.com/docs/api//list-completed-approvals)
|
||||
[API Spec](https://developer.sailpoint.com/docs/api/v2025/list-completed-approvals)
|
||||
|
||||
### Path Parameters
|
||||
|
||||
@@ -351,7 +351,7 @@ import (
|
||||
"context"
|
||||
"fmt"
|
||||
"os"
|
||||
""
|
||||
v2025 "github.com/sailpoint-oss/golang-sdk/v2/api_v2025"
|
||||
openapiclient "github.com/sailpoint-oss/golang-sdk/v2"
|
||||
)
|
||||
|
||||
@@ -365,7 +365,7 @@ func main() {
|
||||
|
||||
configuration := NewDefaultConfiguration()
|
||||
apiClient := NewAPIClient(configuration)
|
||||
resp, r, err := apiClient..AccessRequestApprovalsAPI.ListCompletedApprovals(context.Background()).OwnerId(ownerId).Limit(limit).Offset(offset).Count(count).Filters(filters).Sorters(sorters).Execute()
|
||||
resp, r, err := apiClient.V2025.AccessRequestApprovalsAPI.ListCompletedApprovals(context.Background()).OwnerId(ownerId).Limit(limit).Offset(offset).Count(count).Filters(filters).Sorters(sorters).Execute()
|
||||
if err != nil {
|
||||
fmt.Fprintf(os.Stderr, "Error when calling `AccessRequestApprovalsAPI.ListCompletedApprovals``: %v\n", err)
|
||||
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
|
||||
@@ -381,7 +381,7 @@ func main() {
|
||||
Pending Access Request Approvals List
|
||||
This endpoint returns a list of pending approvals. See "owner-id" query parameter below for authorization info.
|
||||
|
||||
[API Spec](https://developer.sailpoint.com/docs/api//list-pending-approvals)
|
||||
[API Spec](https://developer.sailpoint.com/docs/api/v2025/list-pending-approvals)
|
||||
|
||||
### Path Parameters
|
||||
|
||||
@@ -419,7 +419,7 @@ import (
|
||||
"context"
|
||||
"fmt"
|
||||
"os"
|
||||
""
|
||||
v2025 "github.com/sailpoint-oss/golang-sdk/v2/api_v2025"
|
||||
openapiclient "github.com/sailpoint-oss/golang-sdk/v2"
|
||||
)
|
||||
|
||||
@@ -433,7 +433,7 @@ func main() {
|
||||
|
||||
configuration := NewDefaultConfiguration()
|
||||
apiClient := NewAPIClient(configuration)
|
||||
resp, r, err := apiClient..AccessRequestApprovalsAPI.ListPendingApprovals(context.Background()).OwnerId(ownerId).Limit(limit).Offset(offset).Count(count).Filters(filters).Sorters(sorters).Execute()
|
||||
resp, r, err := apiClient.V2025.AccessRequestApprovalsAPI.ListPendingApprovals(context.Background()).OwnerId(ownerId).Limit(limit).Offset(offset).Count(count).Filters(filters).Sorters(sorters).Execute()
|
||||
if err != nil {
|
||||
fmt.Fprintf(os.Stderr, "Error when calling `AccessRequestApprovalsAPI.ListPendingApprovals``: %v\n", err)
|
||||
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
|
||||
@@ -449,7 +449,7 @@ func main() {
|
||||
Reject Access Request Approval
|
||||
Use this API to reject an access request approval. Only the owner of the approval and admin users are allowed to perform this action.
|
||||
|
||||
[API Spec](https://developer.sailpoint.com/docs/api//reject-access-request)
|
||||
[API Spec](https://developer.sailpoint.com/docs/api/v2025/reject-access-request)
|
||||
|
||||
### Path Parameters
|
||||
|
||||
@@ -487,7 +487,7 @@ import (
|
||||
"context"
|
||||
"fmt"
|
||||
"os"
|
||||
""
|
||||
v2025 "github.com/sailpoint-oss/golang-sdk/v2/api_v2025"
|
||||
openapiclient "github.com/sailpoint-oss/golang-sdk/v2"
|
||||
)
|
||||
|
||||
@@ -505,7 +505,7 @@ func main() {
|
||||
|
||||
configuration := NewDefaultConfiguration()
|
||||
apiClient := NewAPIClient(configuration)
|
||||
resp, r, err := apiClient..AccessRequestApprovalsAPI.RejectAccessRequest(context.Background(), approvalId).CommentDto(commentDto).Execute()
|
||||
resp, r, err := apiClient.V2025.AccessRequestApprovalsAPI.RejectAccessRequest(context.Background(), approvalId).CommentDto(commentDto).Execute()
|
||||
if err != nil {
|
||||
fmt.Fprintf(os.Stderr, "Error when calling `AccessRequestApprovalsAPI.RejectAccessRequest``: %v\n", err)
|
||||
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
|
||||
|
||||
@@ -1,12 +1,12 @@
|
||||
---
|
||||
id: access-request-identity-metrics
|
||||
id: v2025-access-request-identity-metrics
|
||||
title: AccessRequestIdentityMetrics
|
||||
pagination_label: AccessRequestIdentityMetrics
|
||||
sidebar_label: AccessRequestIdentityMetrics
|
||||
sidebar_class_name: gosdk
|
||||
keywords: ['go', 'Golang', 'sdk', 'AccessRequestIdentityMetrics', 'AccessRequestIdentityMetrics']
|
||||
slug: /tools/sdk/go//methods/access-request-identity-metrics
|
||||
tags: ['SDK', 'Software Development Kit', 'AccessRequestIdentityMetrics', 'AccessRequestIdentityMetrics']
|
||||
keywords: ['go', 'Golang', 'sdk', 'AccessRequestIdentityMetrics', 'V2025AccessRequestIdentityMetrics']
|
||||
slug: /tools/sdk/go/v2025/methods/access-request-identity-metrics
|
||||
tags: ['SDK', 'Software Development Kit', 'AccessRequestIdentityMetrics', 'V2025AccessRequestIdentityMetrics']
|
||||
---
|
||||
|
||||
# AccessRequestIdentityMetricsAPI
|
||||
@@ -26,7 +26,7 @@ Method | HTTP request | Description
|
||||
Return access request identity metrics
|
||||
Use this API to return information access metrics.
|
||||
|
||||
[API Spec](https://developer.sailpoint.com/docs/api//get-access-request-identity-metrics)
|
||||
[API Spec](https://developer.sailpoint.com/docs/api/v2025/get-access-request-identity-metrics)
|
||||
|
||||
### Path Parameters
|
||||
|
||||
@@ -67,7 +67,7 @@ import (
|
||||
"context"
|
||||
"fmt"
|
||||
"os"
|
||||
""
|
||||
v2025 "github.com/sailpoint-oss/golang-sdk/v2/api_v2025"
|
||||
openapiclient "github.com/sailpoint-oss/golang-sdk/v2"
|
||||
)
|
||||
|
||||
@@ -78,7 +78,7 @@ func main() {
|
||||
|
||||
configuration := NewDefaultConfiguration()
|
||||
apiClient := NewAPIClient(configuration)
|
||||
resp, r, err := apiClient..AccessRequestIdentityMetricsAPI.GetAccessRequestIdentityMetrics(context.Background(), identityId, requestedObjectId, type_).Execute()
|
||||
resp, r, err := apiClient.V2025.AccessRequestIdentityMetricsAPI.GetAccessRequestIdentityMetrics(context.Background(), identityId, requestedObjectId, type_).Execute()
|
||||
if err != nil {
|
||||
fmt.Fprintf(os.Stderr, "Error when calling `AccessRequestIdentityMetricsAPI.GetAccessRequestIdentityMetrics``: %v\n", err)
|
||||
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
|
||||
|
||||
@@ -1,12 +1,12 @@
|
||||
---
|
||||
id: access-requests
|
||||
id: v2025-access-requests
|
||||
title: AccessRequests
|
||||
pagination_label: AccessRequests
|
||||
sidebar_label: AccessRequests
|
||||
sidebar_class_name: gosdk
|
||||
keywords: ['go', 'Golang', 'sdk', 'AccessRequests', 'AccessRequests']
|
||||
slug: /tools/sdk/go//methods/access-requests
|
||||
tags: ['SDK', 'Software Development Kit', 'AccessRequests', 'AccessRequests']
|
||||
keywords: ['go', 'Golang', 'sdk', 'AccessRequests', 'V2025AccessRequests']
|
||||
slug: /tools/sdk/go/v2025/methods/access-requests
|
||||
tags: ['SDK', 'Software Development Kit', 'AccessRequests', 'V2025AccessRequests']
|
||||
---
|
||||
|
||||
# AccessRequestsAPI
|
||||
@@ -45,7 +45,7 @@ Method | HTTP request | Description
|
||||
Bulk Approve Access Request
|
||||
This API endpoint allows approving pending access requests in bulk. Maximum of 50 approval ids can be provided in the request for one single invocation. ORG_ADMIN or users with rights "idn:access-request-administration:write" can approve the access requests in bulk.
|
||||
|
||||
[API Spec](https://developer.sailpoint.com/docs/api//approve-bulk-access-request)
|
||||
[API Spec](https://developer.sailpoint.com/docs/api/v2025/approve-bulk-access-request)
|
||||
|
||||
### Path Parameters
|
||||
|
||||
@@ -78,7 +78,7 @@ import (
|
||||
"context"
|
||||
"fmt"
|
||||
"os"
|
||||
""
|
||||
v2025 "github.com/sailpoint-oss/golang-sdk/v2/api_v2025"
|
||||
openapiclient "github.com/sailpoint-oss/golang-sdk/v2"
|
||||
)
|
||||
|
||||
@@ -90,7 +90,7 @@ func main() {
|
||||
|
||||
configuration := NewDefaultConfiguration()
|
||||
apiClient := NewAPIClient(configuration)
|
||||
resp, r, err := apiClient..AccessRequestsAPI.ApproveBulkAccessRequest(context.Background()).BulkApproveAccessRequest(bulkApproveAccessRequest).Execute()
|
||||
resp, r, err := apiClient.V2025.AccessRequestsAPI.ApproveBulkAccessRequest(context.Background()).BulkApproveAccessRequest(bulkApproveAccessRequest).Execute()
|
||||
if err != nil {
|
||||
fmt.Fprintf(os.Stderr, "Error when calling `AccessRequestsAPI.ApproveBulkAccessRequest``: %v\n", err)
|
||||
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
|
||||
@@ -107,7 +107,7 @@ Cancel Access Request
|
||||
This API endpoint cancels a pending access request. An access request can be cancelled only if it has not passed the approval step.
|
||||
In addition to users with ORG_ADMIN, any user who originally submitted the access request may cancel it.
|
||||
|
||||
[API Spec](https://developer.sailpoint.com/docs/api//cancel-access-request)
|
||||
[API Spec](https://developer.sailpoint.com/docs/api/v2025/cancel-access-request)
|
||||
|
||||
### Path Parameters
|
||||
|
||||
@@ -140,7 +140,7 @@ import (
|
||||
"context"
|
||||
"fmt"
|
||||
"os"
|
||||
""
|
||||
v2025 "github.com/sailpoint-oss/golang-sdk/v2/api_v2025"
|
||||
openapiclient "github.com/sailpoint-oss/golang-sdk/v2"
|
||||
)
|
||||
|
||||
@@ -152,7 +152,7 @@ func main() {
|
||||
|
||||
configuration := NewDefaultConfiguration()
|
||||
apiClient := NewAPIClient(configuration)
|
||||
resp, r, err := apiClient..AccessRequestsAPI.CancelAccessRequest(context.Background()).CancelAccessRequest(cancelAccessRequest).Execute()
|
||||
resp, r, err := apiClient.V2025.AccessRequestsAPI.CancelAccessRequest(context.Background()).CancelAccessRequest(cancelAccessRequest).Execute()
|
||||
if err != nil {
|
||||
fmt.Fprintf(os.Stderr, "Error when calling `AccessRequestsAPI.CancelAccessRequest``: %v\n", err)
|
||||
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
|
||||
@@ -169,7 +169,7 @@ Bulk Cancel Access Request
|
||||
This API endpoint allows cancelling pending access requests in bulk. Maximum of 50 access request ids can be provided in the request for one single invocation.
|
||||
Only ORG_ADMIN or users with rights "idn:access-request-administration:write" can cancel the access requests in bulk.
|
||||
|
||||
[API Spec](https://developer.sailpoint.com/docs/api//cancel-access-request-in-bulk)
|
||||
[API Spec](https://developer.sailpoint.com/docs/api/v2025/cancel-access-request-in-bulk)
|
||||
|
||||
### Path Parameters
|
||||
|
||||
@@ -202,7 +202,7 @@ import (
|
||||
"context"
|
||||
"fmt"
|
||||
"os"
|
||||
""
|
||||
v2025 "github.com/sailpoint-oss/golang-sdk/v2/api_v2025"
|
||||
openapiclient "github.com/sailpoint-oss/golang-sdk/v2"
|
||||
)
|
||||
|
||||
@@ -214,7 +214,7 @@ func main() {
|
||||
|
||||
configuration := NewDefaultConfiguration()
|
||||
apiClient := NewAPIClient(configuration)
|
||||
resp, r, err := apiClient..AccessRequestsAPI.CancelAccessRequestInBulk(context.Background()).BulkCancelAccessRequest(bulkCancelAccessRequest).Execute()
|
||||
resp, r, err := apiClient.V2025.AccessRequestsAPI.CancelAccessRequestInBulk(context.Background()).BulkCancelAccessRequest(bulkCancelAccessRequest).Execute()
|
||||
if err != nil {
|
||||
fmt.Fprintf(os.Stderr, "Error when calling `AccessRequestsAPI.CancelAccessRequestInBulk``: %v\n", err)
|
||||
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
|
||||
@@ -252,7 +252,7 @@ To track the status of endpoint requests, navigate to Search and use this query:
|
||||
This API triggers the [Provisioning Completed event trigger](https://developer.sailpoint.com/idn/docs/event-triggers/triggers/provisioning-completed/) for each access request that is closed.
|
||||
|
||||
|
||||
[API Spec](https://developer.sailpoint.com/docs/api//close-access-request)
|
||||
[API Spec](https://developer.sailpoint.com/docs/api/v2025/close-access-request)
|
||||
|
||||
### Path Parameters
|
||||
|
||||
@@ -286,7 +286,7 @@ import (
|
||||
"context"
|
||||
"fmt"
|
||||
"os"
|
||||
""
|
||||
v2025 "github.com/sailpoint-oss/golang-sdk/v2/api_v2025"
|
||||
openapiclient "github.com/sailpoint-oss/golang-sdk/v2"
|
||||
)
|
||||
|
||||
@@ -301,7 +301,7 @@ func main() {
|
||||
|
||||
configuration := NewDefaultConfiguration()
|
||||
apiClient := NewAPIClient(configuration)
|
||||
resp, r, err := apiClient..AccessRequestsAPI.CloseAccessRequest(context.Background()).XSailPointExperimental(xSailPointExperimental).CloseAccessRequest(closeAccessRequest).Execute()
|
||||
resp, r, err := apiClient.V2025.AccessRequestsAPI.CloseAccessRequest(context.Background()).XSailPointExperimental(xSailPointExperimental).CloseAccessRequest(closeAccessRequest).Execute()
|
||||
if err != nil {
|
||||
fmt.Fprintf(os.Stderr, "Error when calling `AccessRequestsAPI.CloseAccessRequest``: %v\n", err)
|
||||
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
|
||||
@@ -347,7 +347,7 @@ __REVOKE_ACCESS__
|
||||
* Allows a manager to request to revoke access for direct employees. A user with ORG_ADMIN authority can also request to revoke access from anyone.
|
||||
|
||||
|
||||
[API Spec](https://developer.sailpoint.com/docs/api//create-access-request)
|
||||
[API Spec](https://developer.sailpoint.com/docs/api/v2025/create-access-request)
|
||||
|
||||
### Path Parameters
|
||||
|
||||
@@ -380,7 +380,7 @@ import (
|
||||
"context"
|
||||
"fmt"
|
||||
"os"
|
||||
""
|
||||
v2025 "github.com/sailpoint-oss/golang-sdk/v2/api_v2025"
|
||||
openapiclient "github.com/sailpoint-oss/golang-sdk/v2"
|
||||
)
|
||||
|
||||
@@ -442,7 +442,7 @@ func main() {
|
||||
|
||||
configuration := NewDefaultConfiguration()
|
||||
apiClient := NewAPIClient(configuration)
|
||||
resp, r, err := apiClient..AccessRequestsAPI.CreateAccessRequest(context.Background()).AccessRequest(accessRequest).Execute()
|
||||
resp, r, err := apiClient.V2025.AccessRequestsAPI.CreateAccessRequest(context.Background()).AccessRequest(accessRequest).Execute()
|
||||
if err != nil {
|
||||
fmt.Fprintf(os.Stderr, "Error when calling `AccessRequestsAPI.CreateAccessRequest``: %v\n", err)
|
||||
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
|
||||
@@ -458,7 +458,7 @@ func main() {
|
||||
Get Access Request Configuration
|
||||
This endpoint returns the current access-request configuration.
|
||||
|
||||
[API Spec](https://developer.sailpoint.com/docs/api//get-access-request-config)
|
||||
[API Spec](https://developer.sailpoint.com/docs/api/v2025/get-access-request-config)
|
||||
|
||||
### Path Parameters
|
||||
|
||||
@@ -487,7 +487,7 @@ import (
|
||||
"context"
|
||||
"fmt"
|
||||
"os"
|
||||
""
|
||||
v2025 "github.com/sailpoint-oss/golang-sdk/v2/api_v2025"
|
||||
openapiclient "github.com/sailpoint-oss/golang-sdk/v2"
|
||||
)
|
||||
|
||||
@@ -495,7 +495,7 @@ func main() {
|
||||
|
||||
configuration := NewDefaultConfiguration()
|
||||
apiClient := NewAPIClient(configuration)
|
||||
resp, r, err := apiClient..AccessRequestsAPI.GetAccessRequestConfig(context.Background()).Execute()
|
||||
resp, r, err := apiClient.V2025.AccessRequestsAPI.GetAccessRequestConfig(context.Background()).Execute()
|
||||
if err != nil {
|
||||
fmt.Fprintf(os.Stderr, "Error when calling `AccessRequestsAPI.GetAccessRequestConfig``: %v\n", err)
|
||||
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
|
||||
@@ -513,7 +513,7 @@ Use this API to return a list of access request statuses based on the specified
|
||||
If an access request was made for access that an identity already has, the API ignores the access request. These ignored requests do not display in the list of access request statuses.
|
||||
Any user with any user level can get the status of their own access requests. A user with ORG_ADMIN is required to call this API to get a list of statuses for other users.
|
||||
|
||||
[API Spec](https://developer.sailpoint.com/docs/api//list-access-request-status)
|
||||
[API Spec](https://developer.sailpoint.com/docs/api/v2025/list-access-request-status)
|
||||
|
||||
### Path Parameters
|
||||
|
||||
@@ -555,7 +555,7 @@ import (
|
||||
"context"
|
||||
"fmt"
|
||||
"os"
|
||||
""
|
||||
v2025 "github.com/sailpoint-oss/golang-sdk/v2/api_v2025"
|
||||
openapiclient "github.com/sailpoint-oss/golang-sdk/v2"
|
||||
)
|
||||
|
||||
@@ -573,7 +573,7 @@ func main() {
|
||||
|
||||
configuration := NewDefaultConfiguration()
|
||||
apiClient := NewAPIClient(configuration)
|
||||
resp, r, err := apiClient..AccessRequestsAPI.ListAccessRequestStatus(context.Background()).RequestedFor(requestedFor).RequestedBy(requestedBy).RegardingIdentity(regardingIdentity).AssignedTo(assignedTo).Count(count).Limit(limit).Offset(offset).Filters(filters).Sorters(sorters).RequestState(requestState).Execute()
|
||||
resp, r, err := apiClient.V2025.AccessRequestsAPI.ListAccessRequestStatus(context.Background()).RequestedFor(requestedFor).RequestedBy(requestedBy).RegardingIdentity(regardingIdentity).AssignedTo(assignedTo).Count(count).Limit(limit).Offset(offset).Filters(filters).Sorters(sorters).RequestState(requestState).Execute()
|
||||
if err != nil {
|
||||
fmt.Fprintf(os.Stderr, "Error when calling `AccessRequestsAPI.ListAccessRequestStatus``: %v\n", err)
|
||||
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
|
||||
@@ -590,7 +590,7 @@ Access Request Status for Administrators
|
||||
Use this API to get access request statuses of all the access requests in the org based on the specified query parameters.
|
||||
Any user with user level ORG_ADMIN or scope idn:access-request-administration:read can access this endpoint to get the access request statuses
|
||||
|
||||
[API Spec](https://developer.sailpoint.com/docs/api//list-administrators-access-request-status)
|
||||
[API Spec](https://developer.sailpoint.com/docs/api/v2025/list-administrators-access-request-status)
|
||||
|
||||
### Path Parameters
|
||||
|
||||
@@ -632,7 +632,7 @@ import (
|
||||
"context"
|
||||
"fmt"
|
||||
"os"
|
||||
""
|
||||
v2025 "github.com/sailpoint-oss/golang-sdk/v2/api_v2025"
|
||||
openapiclient "github.com/sailpoint-oss/golang-sdk/v2"
|
||||
)
|
||||
|
||||
@@ -650,7 +650,7 @@ func main() {
|
||||
|
||||
configuration := NewDefaultConfiguration()
|
||||
apiClient := NewAPIClient(configuration)
|
||||
resp, r, err := apiClient..AccessRequestsAPI.ListAdministratorsAccessRequestStatus(context.Background()).RequestedFor(requestedFor).RequestedBy(requestedBy).RegardingIdentity(regardingIdentity).AssignedTo(assignedTo).Count(count).Limit(limit).Offset(offset).Filters(filters).Sorters(sorters).RequestState(requestState).Execute()
|
||||
resp, r, err := apiClient.V2025.AccessRequestsAPI.ListAdministratorsAccessRequestStatus(context.Background()).RequestedFor(requestedFor).RequestedBy(requestedBy).RegardingIdentity(regardingIdentity).AssignedTo(assignedTo).Count(count).Limit(limit).Offset(offset).Filters(filters).Sorters(sorters).RequestState(requestState).Execute()
|
||||
if err != nil {
|
||||
fmt.Fprintf(os.Stderr, "Error when calling `AccessRequestsAPI.ListAdministratorsAccessRequestStatus``: %v\n", err)
|
||||
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
|
||||
@@ -666,7 +666,7 @@ func main() {
|
||||
Update Access Request Configuration
|
||||
This endpoint replaces the current access-request configuration.
|
||||
|
||||
[API Spec](https://developer.sailpoint.com/docs/api//set-access-request-config)
|
||||
[API Spec](https://developer.sailpoint.com/docs/api/v2025/set-access-request-config)
|
||||
|
||||
### Path Parameters
|
||||
|
||||
@@ -699,7 +699,7 @@ import (
|
||||
"context"
|
||||
"fmt"
|
||||
"os"
|
||||
""
|
||||
v2025 "github.com/sailpoint-oss/golang-sdk/v2/api_v2025"
|
||||
openapiclient "github.com/sailpoint-oss/golang-sdk/v2"
|
||||
)
|
||||
|
||||
@@ -733,7 +733,7 @@ func main() {
|
||||
|
||||
configuration := NewDefaultConfiguration()
|
||||
apiClient := NewAPIClient(configuration)
|
||||
resp, r, err := apiClient..AccessRequestsAPI.SetAccessRequestConfig(context.Background()).AccessRequestConfig(accessRequestConfig).Execute()
|
||||
resp, r, err := apiClient.V2025.AccessRequestsAPI.SetAccessRequestConfig(context.Background()).AccessRequestConfig(accessRequestConfig).Execute()
|
||||
if err != nil {
|
||||
fmt.Fprintf(os.Stderr, "Error when calling `AccessRequestsAPI.SetAccessRequestConfig``: %v\n", err)
|
||||
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
|
||||
|
||||
@@ -1,12 +1,12 @@
|
||||
---
|
||||
id: account-activities
|
||||
id: v2025-account-activities
|
||||
title: AccountActivities
|
||||
pagination_label: AccountActivities
|
||||
sidebar_label: AccountActivities
|
||||
sidebar_class_name: gosdk
|
||||
keywords: ['go', 'Golang', 'sdk', 'AccountActivities', 'AccountActivities']
|
||||
slug: /tools/sdk/go//methods/account-activities
|
||||
tags: ['SDK', 'Software Development Kit', 'AccountActivities', 'AccountActivities']
|
||||
keywords: ['go', 'Golang', 'sdk', 'AccountActivities', 'V2025AccountActivities']
|
||||
slug: /tools/sdk/go/v2025/methods/account-activities
|
||||
tags: ['SDK', 'Software Development Kit', 'AccountActivities', 'V2025AccountActivities']
|
||||
---
|
||||
|
||||
# AccountActivitiesAPI
|
||||
@@ -56,7 +56,7 @@ Method | HTTP request | Description
|
||||
Get an Account Activity
|
||||
This gets a single account activity by its id.
|
||||
|
||||
[API Spec](https://developer.sailpoint.com/docs/api//get-account-activity)
|
||||
[API Spec](https://developer.sailpoint.com/docs/api/v2025/get-account-activity)
|
||||
|
||||
### Path Parameters
|
||||
|
||||
@@ -93,7 +93,7 @@ import (
|
||||
"context"
|
||||
"fmt"
|
||||
"os"
|
||||
""
|
||||
v2025 "github.com/sailpoint-oss/golang-sdk/v2/api_v2025"
|
||||
openapiclient "github.com/sailpoint-oss/golang-sdk/v2"
|
||||
)
|
||||
|
||||
@@ -102,7 +102,7 @@ func main() {
|
||||
|
||||
configuration := NewDefaultConfiguration()
|
||||
apiClient := NewAPIClient(configuration)
|
||||
resp, r, err := apiClient..AccountActivitiesAPI.GetAccountActivity(context.Background(), id).Execute()
|
||||
resp, r, err := apiClient.V2025.AccountActivitiesAPI.GetAccountActivity(context.Background(), id).Execute()
|
||||
if err != nil {
|
||||
fmt.Fprintf(os.Stderr, "Error when calling `AccountActivitiesAPI.GetAccountActivity``: %v\n", err)
|
||||
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
|
||||
@@ -118,7 +118,7 @@ func main() {
|
||||
List Account Activities
|
||||
This gets a collection of account activities that satisfy the given query parameters.
|
||||
|
||||
[API Spec](https://developer.sailpoint.com/docs/api//list-account-activities)
|
||||
[API Spec](https://developer.sailpoint.com/docs/api/v2025/list-account-activities)
|
||||
|
||||
### Path Parameters
|
||||
|
||||
@@ -158,7 +158,7 @@ import (
|
||||
"context"
|
||||
"fmt"
|
||||
"os"
|
||||
""
|
||||
v2025 "github.com/sailpoint-oss/golang-sdk/v2/api_v2025"
|
||||
openapiclient "github.com/sailpoint-oss/golang-sdk/v2"
|
||||
)
|
||||
|
||||
@@ -174,7 +174,7 @@ func main() {
|
||||
|
||||
configuration := NewDefaultConfiguration()
|
||||
apiClient := NewAPIClient(configuration)
|
||||
resp, r, err := apiClient..AccountActivitiesAPI.ListAccountActivities(context.Background()).RequestedFor(requestedFor).RequestedBy(requestedBy).RegardingIdentity(regardingIdentity).Limit(limit).Offset(offset).Count(count).Filters(filters).Sorters(sorters).Execute()
|
||||
resp, r, err := apiClient.V2025.AccountActivitiesAPI.ListAccountActivities(context.Background()).RequestedFor(requestedFor).RequestedBy(requestedBy).RegardingIdentity(regardingIdentity).Limit(limit).Offset(offset).Count(count).Filters(filters).Sorters(sorters).Execute()
|
||||
if err != nil {
|
||||
fmt.Fprintf(os.Stderr, "Error when calling `AccountActivitiesAPI.ListAccountActivities``: %v\n", err)
|
||||
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
|
||||
|
||||
@@ -1,12 +1,12 @@
|
||||
---
|
||||
id: account-aggregations
|
||||
id: v2025-account-aggregations
|
||||
title: AccountAggregations
|
||||
pagination_label: AccountAggregations
|
||||
sidebar_label: AccountAggregations
|
||||
sidebar_class_name: gosdk
|
||||
keywords: ['go', 'Golang', 'sdk', 'AccountAggregations', 'AccountAggregations']
|
||||
slug: /tools/sdk/go//methods/account-aggregations
|
||||
tags: ['SDK', 'Software Development Kit', 'AccountAggregations', 'AccountAggregations']
|
||||
keywords: ['go', 'Golang', 'sdk', 'AccountAggregations', 'V2025AccountAggregations']
|
||||
slug: /tools/sdk/go/v2025/methods/account-aggregations
|
||||
tags: ['SDK', 'Software Development Kit', 'AccountAggregations', 'V2025AccountAggregations']
|
||||
---
|
||||
|
||||
# AccountAggregationsAPI
|
||||
@@ -50,7 +50,7 @@ Since this endpoint reports on the status of an *in-progress* account aggregatio
|
||||
*Only available up to an hour after the aggregation completes. May respond with *404 Not Found* after that.*
|
||||
required to call this API.
|
||||
|
||||
[API Spec](https://developer.sailpoint.com/docs/api//get-account-aggregation-status)
|
||||
[API Spec](https://developer.sailpoint.com/docs/api/v2025/get-account-aggregation-status)
|
||||
|
||||
### Path Parameters
|
||||
|
||||
@@ -88,7 +88,7 @@ import (
|
||||
"context"
|
||||
"fmt"
|
||||
"os"
|
||||
""
|
||||
v2025 "github.com/sailpoint-oss/golang-sdk/v2/api_v2025"
|
||||
openapiclient "github.com/sailpoint-oss/golang-sdk/v2"
|
||||
)
|
||||
|
||||
@@ -98,7 +98,7 @@ func main() {
|
||||
|
||||
configuration := NewDefaultConfiguration()
|
||||
apiClient := NewAPIClient(configuration)
|
||||
resp, r, err := apiClient..AccountAggregationsAPI.GetAccountAggregationStatus(context.Background(), id).XSailPointExperimental(xSailPointExperimental).Execute()
|
||||
resp, r, err := apiClient.V2025.AccountAggregationsAPI.GetAccountAggregationStatus(context.Background(), id).XSailPointExperimental(xSailPointExperimental).Execute()
|
||||
if err != nil {
|
||||
fmt.Fprintf(os.Stderr, "Error when calling `AccountAggregationsAPI.GetAccountAggregationStatus``: %v\n", err)
|
||||
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
|
||||
|
||||
@@ -1,12 +1,12 @@
|
||||
---
|
||||
id: account-usages
|
||||
id: v2025-account-usages
|
||||
title: AccountUsages
|
||||
pagination_label: AccountUsages
|
||||
sidebar_label: AccountUsages
|
||||
sidebar_class_name: gosdk
|
||||
keywords: ['go', 'Golang', 'sdk', 'AccountUsages', 'AccountUsages']
|
||||
slug: /tools/sdk/go//methods/account-usages
|
||||
tags: ['SDK', 'Software Development Kit', 'AccountUsages', 'AccountUsages']
|
||||
keywords: ['go', 'Golang', 'sdk', 'AccountUsages', 'V2025AccountUsages']
|
||||
slug: /tools/sdk/go/v2025/methods/account-usages
|
||||
tags: ['SDK', 'Software Development Kit', 'AccountUsages', 'V2025AccountUsages']
|
||||
---
|
||||
|
||||
# AccountUsagesAPI
|
||||
@@ -25,7 +25,7 @@ Method | HTTP request | Description
|
||||
Returns account usage insights
|
||||
This API returns a summary of account usage insights for past 12 months.
|
||||
|
||||
[API Spec](https://developer.sailpoint.com/docs/api//get-usages-by-account-id)
|
||||
[API Spec](https://developer.sailpoint.com/docs/api/v2025/get-usages-by-account-id)
|
||||
|
||||
### Path Parameters
|
||||
|
||||
@@ -66,7 +66,7 @@ import (
|
||||
"context"
|
||||
"fmt"
|
||||
"os"
|
||||
""
|
||||
v2025 "github.com/sailpoint-oss/golang-sdk/v2/api_v2025"
|
||||
openapiclient "github.com/sailpoint-oss/golang-sdk/v2"
|
||||
)
|
||||
|
||||
@@ -79,7 +79,7 @@ func main() {
|
||||
|
||||
configuration := NewDefaultConfiguration()
|
||||
apiClient := NewAPIClient(configuration)
|
||||
resp, r, err := apiClient..AccountUsagesAPI.GetUsagesByAccountId(context.Background(), accountId).Limit(limit).Offset(offset).Count(count).Sorters(sorters).Execute()
|
||||
resp, r, err := apiClient.V2025.AccountUsagesAPI.GetUsagesByAccountId(context.Background(), accountId).Limit(limit).Offset(offset).Count(count).Sorters(sorters).Execute()
|
||||
if err != nil {
|
||||
fmt.Fprintf(os.Stderr, "Error when calling `AccountUsagesAPI.GetUsagesByAccountId``: %v\n", err)
|
||||
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
|
||||
|
||||
@@ -1,12 +1,12 @@
|
||||
---
|
||||
id: accounts
|
||||
id: v2025-accounts
|
||||
title: Accounts
|
||||
pagination_label: Accounts
|
||||
sidebar_label: Accounts
|
||||
sidebar_class_name: gosdk
|
||||
keywords: ['go', 'Golang', 'sdk', 'Accounts', 'Accounts']
|
||||
slug: /tools/sdk/go//methods/accounts
|
||||
tags: ['SDK', 'Software Development Kit', 'Accounts', 'Accounts']
|
||||
keywords: ['go', 'Golang', 'sdk', 'Accounts', 'V2025Accounts']
|
||||
slug: /tools/sdk/go/v2025/methods/accounts
|
||||
tags: ['SDK', 'Software Development Kit', 'Accounts', 'V2025Accounts']
|
||||
---
|
||||
|
||||
# AccountsAPI
|
||||
@@ -75,7 +75,7 @@ The endpoint doesn't actually provision the account on the target source, which
|
||||
By providing the account ID of an existing account in the request body, this API will function as a PATCH operation and update the account.
|
||||
|
||||
|
||||
[API Spec](https://developer.sailpoint.com/docs/api//create-account)
|
||||
[API Spec](https://developer.sailpoint.com/docs/api/v2025/create-account)
|
||||
|
||||
### Path Parameters
|
||||
|
||||
@@ -108,7 +108,7 @@ import (
|
||||
"context"
|
||||
"fmt"
|
||||
"os"
|
||||
""
|
||||
v2025 "github.com/sailpoint-oss/golang-sdk/v2/api_v2025"
|
||||
openapiclient "github.com/sailpoint-oss/golang-sdk/v2"
|
||||
)
|
||||
|
||||
@@ -126,7 +126,7 @@ func main() {
|
||||
|
||||
configuration := NewDefaultConfiguration()
|
||||
apiClient := NewAPIClient(configuration)
|
||||
resp, r, err := apiClient..AccountsAPI.CreateAccount(context.Background()).AccountAttributesCreate(accountAttributesCreate).Execute()
|
||||
resp, r, err := apiClient.V2025.AccountsAPI.CreateAccount(context.Background()).AccountAttributesCreate(accountAttributesCreate).Execute()
|
||||
if err != nil {
|
||||
fmt.Fprintf(os.Stderr, "Error when calling `AccountsAPI.CreateAccount``: %v\n", err)
|
||||
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
|
||||
@@ -145,7 +145,7 @@ This endpoint submits an account delete task and returns the task ID.
|
||||
This endpoint only deletes the account from IdentityNow, not the source itself, which can result in the account's returning with the next aggregation between the source and IdentityNow. To avoid this scenario, it is recommended that you [disable accounts](https://developer.sailpoint.com/idn/api/v3/disable-account) rather than delete them. This will also allow you to reenable the accounts in the future.
|
||||
>**NOTE: You can only delete accounts from sources of the "DelimitedFile" type.**
|
||||
|
||||
[API Spec](https://developer.sailpoint.com/docs/api//delete-account)
|
||||
[API Spec](https://developer.sailpoint.com/docs/api/v2025/delete-account)
|
||||
|
||||
### Path Parameters
|
||||
|
||||
@@ -182,7 +182,7 @@ import (
|
||||
"context"
|
||||
"fmt"
|
||||
"os"
|
||||
""
|
||||
v2025 "github.com/sailpoint-oss/golang-sdk/v2/api_v2025"
|
||||
openapiclient "github.com/sailpoint-oss/golang-sdk/v2"
|
||||
)
|
||||
|
||||
@@ -191,7 +191,7 @@ func main() {
|
||||
|
||||
configuration := NewDefaultConfiguration()
|
||||
apiClient := NewAPIClient(configuration)
|
||||
resp, r, err := apiClient..AccountsAPI.DeleteAccount(context.Background(), id).Execute()
|
||||
resp, r, err := apiClient.V2025.AccountsAPI.DeleteAccount(context.Background(), id).Execute()
|
||||
if err != nil {
|
||||
fmt.Fprintf(os.Stderr, "Error when calling `AccountsAPI.DeleteAccount``: %v\n", err)
|
||||
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
|
||||
@@ -224,7 +224,7 @@ This endpoint is good for:
|
||||
* Forcing accounts to be re-created following the next aggregation to re-run account processing, support testing, etc.
|
||||
|
||||
|
||||
[API Spec](https://developer.sailpoint.com/docs/api//delete-account-async)
|
||||
[API Spec](https://developer.sailpoint.com/docs/api/v2025/delete-account-async)
|
||||
|
||||
### Path Parameters
|
||||
|
||||
@@ -262,7 +262,7 @@ import (
|
||||
"context"
|
||||
"fmt"
|
||||
"os"
|
||||
""
|
||||
v2025 "github.com/sailpoint-oss/golang-sdk/v2/api_v2025"
|
||||
openapiclient "github.com/sailpoint-oss/golang-sdk/v2"
|
||||
)
|
||||
|
||||
@@ -272,7 +272,7 @@ func main() {
|
||||
|
||||
configuration := NewDefaultConfiguration()
|
||||
apiClient := NewAPIClient(configuration)
|
||||
resp, r, err := apiClient..AccountsAPI.DeleteAccountAsync(context.Background(), id).XSailPointExperimental(xSailPointExperimental).Execute()
|
||||
resp, r, err := apiClient.V2025.AccountsAPI.DeleteAccountAsync(context.Background(), id).XSailPointExperimental(xSailPointExperimental).Execute()
|
||||
if err != nil {
|
||||
fmt.Fprintf(os.Stderr, "Error when calling `AccountsAPI.DeleteAccountAsync``: %v\n", err)
|
||||
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
|
||||
@@ -288,7 +288,7 @@ func main() {
|
||||
Disable Account
|
||||
This API submits a task to disable the account and returns the task ID.
|
||||
|
||||
[API Spec](https://developer.sailpoint.com/docs/api//disable-account)
|
||||
[API Spec](https://developer.sailpoint.com/docs/api/v2025/disable-account)
|
||||
|
||||
### Path Parameters
|
||||
|
||||
@@ -326,7 +326,7 @@ import (
|
||||
"context"
|
||||
"fmt"
|
||||
"os"
|
||||
""
|
||||
v2025 "github.com/sailpoint-oss/golang-sdk/v2/api_v2025"
|
||||
openapiclient "github.com/sailpoint-oss/golang-sdk/v2"
|
||||
)
|
||||
|
||||
@@ -339,7 +339,7 @@ func main() {
|
||||
|
||||
configuration := NewDefaultConfiguration()
|
||||
apiClient := NewAPIClient(configuration)
|
||||
resp, r, err := apiClient..AccountsAPI.DisableAccount(context.Background(), id).AccountToggleRequest(accountToggleRequest).Execute()
|
||||
resp, r, err := apiClient.V2025.AccountsAPI.DisableAccount(context.Background(), id).AccountToggleRequest(accountToggleRequest).Execute()
|
||||
if err != nil {
|
||||
fmt.Fprintf(os.Stderr, "Error when calling `AccountsAPI.DisableAccount``: %v\n", err)
|
||||
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
|
||||
@@ -366,7 +366,7 @@ This API is currently in an experimental state. The API is subject to change bas
|
||||
Disable IDN Account for Identity
|
||||
This API submits a task to disable IDN account for a single identity.
|
||||
|
||||
[API Spec](https://developer.sailpoint.com/docs/api//disable-account-for-identity)
|
||||
[API Spec](https://developer.sailpoint.com/docs/api/v2025/disable-account-for-identity)
|
||||
|
||||
### Path Parameters
|
||||
|
||||
@@ -404,7 +404,7 @@ import (
|
||||
"context"
|
||||
"fmt"
|
||||
"os"
|
||||
""
|
||||
v2025 "github.com/sailpoint-oss/golang-sdk/v2/api_v2025"
|
||||
openapiclient "github.com/sailpoint-oss/golang-sdk/v2"
|
||||
)
|
||||
|
||||
@@ -414,7 +414,7 @@ func main() {
|
||||
|
||||
configuration := NewDefaultConfiguration()
|
||||
apiClient := NewAPIClient(configuration)
|
||||
resp, r, err := apiClient..AccountsAPI.DisableAccountForIdentity(context.Background(), id).XSailPointExperimental(xSailPointExperimental).Execute()
|
||||
resp, r, err := apiClient.V2025.AccountsAPI.DisableAccountForIdentity(context.Background(), id).XSailPointExperimental(xSailPointExperimental).Execute()
|
||||
if err != nil {
|
||||
fmt.Fprintf(os.Stderr, "Error when calling `AccountsAPI.DisableAccountForIdentity``: %v\n", err)
|
||||
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
|
||||
@@ -441,7 +441,7 @@ This API is currently in an experimental state. The API is subject to change bas
|
||||
Disable IDN Accounts for Identities
|
||||
This API submits tasks to disable IDN account for each identity provided in the request body.
|
||||
|
||||
[API Spec](https://developer.sailpoint.com/docs/api//disable-accounts-for-identities)
|
||||
[API Spec](https://developer.sailpoint.com/docs/api/v2025/disable-accounts-for-identities)
|
||||
|
||||
### Path Parameters
|
||||
|
||||
@@ -475,7 +475,7 @@ import (
|
||||
"context"
|
||||
"fmt"
|
||||
"os"
|
||||
""
|
||||
v2025 "github.com/sailpoint-oss/golang-sdk/v2/api_v2025"
|
||||
openapiclient "github.com/sailpoint-oss/golang-sdk/v2"
|
||||
)
|
||||
|
||||
@@ -487,7 +487,7 @@ func main() {
|
||||
|
||||
configuration := NewDefaultConfiguration()
|
||||
apiClient := NewAPIClient(configuration)
|
||||
resp, r, err := apiClient..AccountsAPI.DisableAccountsForIdentities(context.Background()).XSailPointExperimental(xSailPointExperimental).IdentitiesAccountsBulkRequest(identitiesAccountsBulkRequest).Execute()
|
||||
resp, r, err := apiClient.V2025.AccountsAPI.DisableAccountsForIdentities(context.Background()).XSailPointExperimental(xSailPointExperimental).IdentitiesAccountsBulkRequest(identitiesAccountsBulkRequest).Execute()
|
||||
if err != nil {
|
||||
fmt.Fprintf(os.Stderr, "Error when calling `AccountsAPI.DisableAccountsForIdentities``: %v\n", err)
|
||||
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
|
||||
@@ -503,7 +503,7 @@ func main() {
|
||||
Enable Account
|
||||
This API submits a task to enable account and returns the task ID.
|
||||
|
||||
[API Spec](https://developer.sailpoint.com/docs/api//enable-account)
|
||||
[API Spec](https://developer.sailpoint.com/docs/api/v2025/enable-account)
|
||||
|
||||
### Path Parameters
|
||||
|
||||
@@ -541,7 +541,7 @@ import (
|
||||
"context"
|
||||
"fmt"
|
||||
"os"
|
||||
""
|
||||
v2025 "github.com/sailpoint-oss/golang-sdk/v2/api_v2025"
|
||||
openapiclient "github.com/sailpoint-oss/golang-sdk/v2"
|
||||
)
|
||||
|
||||
@@ -554,7 +554,7 @@ func main() {
|
||||
|
||||
configuration := NewDefaultConfiguration()
|
||||
apiClient := NewAPIClient(configuration)
|
||||
resp, r, err := apiClient..AccountsAPI.EnableAccount(context.Background(), id).AccountToggleRequest(accountToggleRequest).Execute()
|
||||
resp, r, err := apiClient.V2025.AccountsAPI.EnableAccount(context.Background(), id).AccountToggleRequest(accountToggleRequest).Execute()
|
||||
if err != nil {
|
||||
fmt.Fprintf(os.Stderr, "Error when calling `AccountsAPI.EnableAccount``: %v\n", err)
|
||||
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
|
||||
@@ -581,7 +581,7 @@ This API is currently in an experimental state. The API is subject to change bas
|
||||
Enable IDN Account for Identity
|
||||
This API submits a task to enable IDN account for a single identity.
|
||||
|
||||
[API Spec](https://developer.sailpoint.com/docs/api//enable-account-for-identity)
|
||||
[API Spec](https://developer.sailpoint.com/docs/api/v2025/enable-account-for-identity)
|
||||
|
||||
### Path Parameters
|
||||
|
||||
@@ -619,7 +619,7 @@ import (
|
||||
"context"
|
||||
"fmt"
|
||||
"os"
|
||||
""
|
||||
v2025 "github.com/sailpoint-oss/golang-sdk/v2/api_v2025"
|
||||
openapiclient "github.com/sailpoint-oss/golang-sdk/v2"
|
||||
)
|
||||
|
||||
@@ -629,7 +629,7 @@ func main() {
|
||||
|
||||
configuration := NewDefaultConfiguration()
|
||||
apiClient := NewAPIClient(configuration)
|
||||
resp, r, err := apiClient..AccountsAPI.EnableAccountForIdentity(context.Background(), id).XSailPointExperimental(xSailPointExperimental).Execute()
|
||||
resp, r, err := apiClient.V2025.AccountsAPI.EnableAccountForIdentity(context.Background(), id).XSailPointExperimental(xSailPointExperimental).Execute()
|
||||
if err != nil {
|
||||
fmt.Fprintf(os.Stderr, "Error when calling `AccountsAPI.EnableAccountForIdentity``: %v\n", err)
|
||||
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
|
||||
@@ -656,7 +656,7 @@ This API is currently in an experimental state. The API is subject to change bas
|
||||
Enable IDN Accounts for Identities
|
||||
This API submits tasks to enable IDN account for each identity provided in the request body.
|
||||
|
||||
[API Spec](https://developer.sailpoint.com/docs/api//enable-accounts-for-identities)
|
||||
[API Spec](https://developer.sailpoint.com/docs/api/v2025/enable-accounts-for-identities)
|
||||
|
||||
### Path Parameters
|
||||
|
||||
@@ -690,7 +690,7 @@ import (
|
||||
"context"
|
||||
"fmt"
|
||||
"os"
|
||||
""
|
||||
v2025 "github.com/sailpoint-oss/golang-sdk/v2/api_v2025"
|
||||
openapiclient "github.com/sailpoint-oss/golang-sdk/v2"
|
||||
)
|
||||
|
||||
@@ -702,7 +702,7 @@ func main() {
|
||||
|
||||
configuration := NewDefaultConfiguration()
|
||||
apiClient := NewAPIClient(configuration)
|
||||
resp, r, err := apiClient..AccountsAPI.EnableAccountsForIdentities(context.Background()).XSailPointExperimental(xSailPointExperimental).IdentitiesAccountsBulkRequest(identitiesAccountsBulkRequest).Execute()
|
||||
resp, r, err := apiClient.V2025.AccountsAPI.EnableAccountsForIdentities(context.Background()).XSailPointExperimental(xSailPointExperimental).IdentitiesAccountsBulkRequest(identitiesAccountsBulkRequest).Execute()
|
||||
if err != nil {
|
||||
fmt.Fprintf(os.Stderr, "Error when calling `AccountsAPI.EnableAccountsForIdentities``: %v\n", err)
|
||||
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
|
||||
@@ -718,7 +718,7 @@ func main() {
|
||||
Account Details
|
||||
Use this API to return the details for a single account by its ID.
|
||||
|
||||
[API Spec](https://developer.sailpoint.com/docs/api//get-account)
|
||||
[API Spec](https://developer.sailpoint.com/docs/api/v2025/get-account)
|
||||
|
||||
### Path Parameters
|
||||
|
||||
@@ -755,7 +755,7 @@ import (
|
||||
"context"
|
||||
"fmt"
|
||||
"os"
|
||||
""
|
||||
v2025 "github.com/sailpoint-oss/golang-sdk/v2/api_v2025"
|
||||
openapiclient "github.com/sailpoint-oss/golang-sdk/v2"
|
||||
)
|
||||
|
||||
@@ -764,7 +764,7 @@ func main() {
|
||||
|
||||
configuration := NewDefaultConfiguration()
|
||||
apiClient := NewAPIClient(configuration)
|
||||
resp, r, err := apiClient..AccountsAPI.GetAccount(context.Background(), id).Execute()
|
||||
resp, r, err := apiClient.V2025.AccountsAPI.GetAccount(context.Background(), id).Execute()
|
||||
if err != nil {
|
||||
fmt.Fprintf(os.Stderr, "Error when calling `AccountsAPI.GetAccount``: %v\n", err)
|
||||
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
|
||||
@@ -780,7 +780,7 @@ func main() {
|
||||
Account Entitlements
|
||||
This API returns entitlements of the account.
|
||||
|
||||
[API Spec](https://developer.sailpoint.com/docs/api//get-account-entitlements)
|
||||
[API Spec](https://developer.sailpoint.com/docs/api/v2025/get-account-entitlements)
|
||||
|
||||
### Path Parameters
|
||||
|
||||
@@ -820,7 +820,7 @@ import (
|
||||
"context"
|
||||
"fmt"
|
||||
"os"
|
||||
""
|
||||
v2025 "github.com/sailpoint-oss/golang-sdk/v2/api_v2025"
|
||||
openapiclient "github.com/sailpoint-oss/golang-sdk/v2"
|
||||
)
|
||||
|
||||
@@ -832,7 +832,7 @@ func main() {
|
||||
|
||||
configuration := NewDefaultConfiguration()
|
||||
apiClient := NewAPIClient(configuration)
|
||||
resp, r, err := apiClient..AccountsAPI.GetAccountEntitlements(context.Background(), id).Limit(limit).Offset(offset).Count(count).Execute()
|
||||
resp, r, err := apiClient.V2025.AccountsAPI.GetAccountEntitlements(context.Background(), id).Limit(limit).Offset(offset).Count(count).Execute()
|
||||
if err != nil {
|
||||
fmt.Fprintf(os.Stderr, "Error when calling `AccountsAPI.GetAccountEntitlements``: %v\n", err)
|
||||
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
|
||||
@@ -848,7 +848,7 @@ func main() {
|
||||
Accounts List
|
||||
List accounts.
|
||||
|
||||
[API Spec](https://developer.sailpoint.com/docs/api//list-accounts)
|
||||
[API Spec](https://developer.sailpoint.com/docs/api/v2025/list-accounts)
|
||||
|
||||
### Path Parameters
|
||||
|
||||
@@ -886,7 +886,7 @@ import (
|
||||
"context"
|
||||
"fmt"
|
||||
"os"
|
||||
""
|
||||
v2025 "github.com/sailpoint-oss/golang-sdk/v2/api_v2025"
|
||||
openapiclient "github.com/sailpoint-oss/golang-sdk/v2"
|
||||
)
|
||||
|
||||
@@ -900,7 +900,7 @@ func main() {
|
||||
|
||||
configuration := NewDefaultConfiguration()
|
||||
apiClient := NewAPIClient(configuration)
|
||||
resp, r, err := apiClient..AccountsAPI.ListAccounts(context.Background()).Limit(limit).Offset(offset).Count(count).DetailLevel(detailLevel).Filters(filters).Sorters(sorters).Execute()
|
||||
resp, r, err := apiClient.V2025.AccountsAPI.ListAccounts(context.Background()).Limit(limit).Offset(offset).Count(count).DetailLevel(detailLevel).Filters(filters).Sorters(sorters).Execute()
|
||||
if err != nil {
|
||||
fmt.Fprintf(os.Stderr, "Error when calling `AccountsAPI.ListAccounts``: %v\n", err)
|
||||
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
|
||||
@@ -921,7 +921,7 @@ This endpoint submits an account update task and returns the task ID.
|
||||
>**Note: You can only use this PUT endpoint to update accounts from flat file sources.**
|
||||
|
||||
|
||||
[API Spec](https://developer.sailpoint.com/docs/api//put-account)
|
||||
[API Spec](https://developer.sailpoint.com/docs/api/v2025/put-account)
|
||||
|
||||
### Path Parameters
|
||||
|
||||
@@ -959,7 +959,7 @@ import (
|
||||
"context"
|
||||
"fmt"
|
||||
"os"
|
||||
""
|
||||
v2025 "github.com/sailpoint-oss/golang-sdk/v2/api_v2025"
|
||||
openapiclient "github.com/sailpoint-oss/golang-sdk/v2"
|
||||
)
|
||||
|
||||
@@ -977,7 +977,7 @@ func main() {
|
||||
|
||||
configuration := NewDefaultConfiguration()
|
||||
apiClient := NewAPIClient(configuration)
|
||||
resp, r, err := apiClient..AccountsAPI.PutAccount(context.Background(), id).AccountAttributes(accountAttributes).Execute()
|
||||
resp, r, err := apiClient.V2025.AccountsAPI.PutAccount(context.Background(), id).AccountAttributes(accountAttributes).Execute()
|
||||
if err != nil {
|
||||
fmt.Fprintf(os.Stderr, "Error when calling `AccountsAPI.PutAccount``: %v\n", err)
|
||||
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
|
||||
@@ -993,7 +993,7 @@ func main() {
|
||||
Reload Account
|
||||
This API asynchronously reloads the account directly from the connector and performs a one-time aggregation process.
|
||||
|
||||
[API Spec](https://developer.sailpoint.com/docs/api//submit-reload-account)
|
||||
[API Spec](https://developer.sailpoint.com/docs/api/v2025/submit-reload-account)
|
||||
|
||||
### Path Parameters
|
||||
|
||||
@@ -1030,7 +1030,7 @@ import (
|
||||
"context"
|
||||
"fmt"
|
||||
"os"
|
||||
""
|
||||
v2025 "github.com/sailpoint-oss/golang-sdk/v2/api_v2025"
|
||||
openapiclient "github.com/sailpoint-oss/golang-sdk/v2"
|
||||
)
|
||||
|
||||
@@ -1039,7 +1039,7 @@ func main() {
|
||||
|
||||
configuration := NewDefaultConfiguration()
|
||||
apiClient := NewAPIClient(configuration)
|
||||
resp, r, err := apiClient..AccountsAPI.SubmitReloadAccount(context.Background(), id).Execute()
|
||||
resp, r, err := apiClient.V2025.AccountsAPI.SubmitReloadAccount(context.Background(), id).Execute()
|
||||
if err != nil {
|
||||
fmt.Fprintf(os.Stderr, "Error when calling `AccountsAPI.SubmitReloadAccount``: %v\n", err)
|
||||
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
|
||||
@@ -1056,7 +1056,7 @@ Unlock Account
|
||||
This API submits a task to unlock an account and returns the task ID.
|
||||
To use this endpoint to unlock an account that has the `forceProvisioning` option set to true, the `idn:accounts-provisioning:manage` scope is required.
|
||||
|
||||
[API Spec](https://developer.sailpoint.com/docs/api//unlock-account)
|
||||
[API Spec](https://developer.sailpoint.com/docs/api/v2025/unlock-account)
|
||||
|
||||
### Path Parameters
|
||||
|
||||
@@ -1094,7 +1094,7 @@ import (
|
||||
"context"
|
||||
"fmt"
|
||||
"os"
|
||||
""
|
||||
v2025 "github.com/sailpoint-oss/golang-sdk/v2/api_v2025"
|
||||
openapiclient "github.com/sailpoint-oss/golang-sdk/v2"
|
||||
)
|
||||
|
||||
@@ -1108,7 +1108,7 @@ func main() {
|
||||
|
||||
configuration := NewDefaultConfiguration()
|
||||
apiClient := NewAPIClient(configuration)
|
||||
resp, r, err := apiClient..AccountsAPI.UnlockAccount(context.Background(), id).AccountUnlockRequest(accountUnlockRequest).Execute()
|
||||
resp, r, err := apiClient.V2025.AccountsAPI.UnlockAccount(context.Background(), id).AccountUnlockRequest(accountUnlockRequest).Execute()
|
||||
if err != nil {
|
||||
fmt.Fprintf(os.Stderr, "Error when calling `AccountsAPI.UnlockAccount``: %v\n", err)
|
||||
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
|
||||
@@ -1134,7 +1134,7 @@ All accounts that are reassigned will be set to `manuallyCorrelated: true` unles
|
||||
>**Note:** The `attributes` field can only be modified for flat file accounts.
|
||||
|
||||
|
||||
[API Spec](https://developer.sailpoint.com/docs/api//update-account)
|
||||
[API Spec](https://developer.sailpoint.com/docs/api/v2025/update-account)
|
||||
|
||||
### Path Parameters
|
||||
|
||||
@@ -1172,7 +1172,7 @@ import (
|
||||
"context"
|
||||
"fmt"
|
||||
"os"
|
||||
""
|
||||
v2025 "github.com/sailpoint-oss/golang-sdk/v2/api_v2025"
|
||||
openapiclient "github.com/sailpoint-oss/golang-sdk/v2"
|
||||
)
|
||||
|
||||
@@ -1182,7 +1182,7 @@ func main() {
|
||||
|
||||
configuration := NewDefaultConfiguration()
|
||||
apiClient := NewAPIClient(configuration)
|
||||
resp, r, err := apiClient..AccountsAPI.UpdateAccount(context.Background(), id).RequestBody(requestBody).Execute()
|
||||
resp, r, err := apiClient.V2025.AccountsAPI.UpdateAccount(context.Background(), id).RequestBody(requestBody).Execute()
|
||||
if err != nil {
|
||||
fmt.Fprintf(os.Stderr, "Error when calling `AccountsAPI.UpdateAccount``: %v\n", err)
|
||||
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
|
||||
|
||||
@@ -1,12 +1,12 @@
|
||||
---
|
||||
id: application-discovery
|
||||
id: v2025-application-discovery
|
||||
title: ApplicationDiscovery
|
||||
pagination_label: ApplicationDiscovery
|
||||
sidebar_label: ApplicationDiscovery
|
||||
sidebar_class_name: gosdk
|
||||
keywords: ['go', 'Golang', 'sdk', 'ApplicationDiscovery', 'ApplicationDiscovery']
|
||||
slug: /tools/sdk/go//methods/application-discovery
|
||||
tags: ['SDK', 'Software Development Kit', 'ApplicationDiscovery', 'ApplicationDiscovery']
|
||||
keywords: ['go', 'Golang', 'sdk', 'ApplicationDiscovery', 'V2025ApplicationDiscovery']
|
||||
slug: /tools/sdk/go/v2025/methods/application-discovery
|
||||
tags: ['SDK', 'Software Development Kit', 'ApplicationDiscovery', 'V2025ApplicationDiscovery']
|
||||
---
|
||||
|
||||
# ApplicationDiscoveryAPI
|
||||
@@ -27,7 +27,7 @@ Get Discovered Applications for Tenant
|
||||
Get a list of applications that have been identified within the environment. This includes details such as application names, discovery dates, potential correlated saas_vendors and related suggested connectors.
|
||||
|
||||
|
||||
[API Spec](https://developer.sailpoint.com/docs/api//get-discovered-applications)
|
||||
[API Spec](https://developer.sailpoint.com/docs/api/v2025/get-discovered-applications)
|
||||
|
||||
### Path Parameters
|
||||
|
||||
@@ -64,7 +64,7 @@ import (
|
||||
"context"
|
||||
"fmt"
|
||||
"os"
|
||||
""
|
||||
v2025 "github.com/sailpoint-oss/golang-sdk/v2/api_v2025"
|
||||
openapiclient "github.com/sailpoint-oss/golang-sdk/v2"
|
||||
)
|
||||
|
||||
@@ -77,7 +77,7 @@ func main() {
|
||||
|
||||
configuration := NewDefaultConfiguration()
|
||||
apiClient := NewAPIClient(configuration)
|
||||
resp, r, err := apiClient..ApplicationDiscoveryAPI.GetDiscoveredApplications(context.Background()).Limit(limit).Offset(offset).Detail(detail).Filter(filter).Sorters(sorters).Execute()
|
||||
resp, r, err := apiClient.V2025.ApplicationDiscoveryAPI.GetDiscoveredApplications(context.Background()).Limit(limit).Offset(offset).Detail(detail).Filter(filter).Sorters(sorters).Execute()
|
||||
if err != nil {
|
||||
fmt.Fprintf(os.Stderr, "Error when calling `ApplicationDiscoveryAPI.GetDiscoveredApplications``: %v\n", err)
|
||||
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
|
||||
@@ -96,7 +96,7 @@ Download an example CSV file with two columns `application_name` and `descriptio
|
||||
The downloaded template is specifically designed for use with the `/manual-discover-applications` endpoint.
|
||||
|
||||
|
||||
[API Spec](https://developer.sailpoint.com/docs/api//get-manual-discover-applications-csv-template)
|
||||
[API Spec](https://developer.sailpoint.com/docs/api/v2025/get-manual-discover-applications-csv-template)
|
||||
|
||||
### Path Parameters
|
||||
|
||||
@@ -125,7 +125,7 @@ import (
|
||||
"context"
|
||||
"fmt"
|
||||
"os"
|
||||
""
|
||||
v2025 "github.com/sailpoint-oss/golang-sdk/v2/api_v2025"
|
||||
openapiclient "github.com/sailpoint-oss/golang-sdk/v2"
|
||||
)
|
||||
|
||||
@@ -133,7 +133,7 @@ func main() {
|
||||
|
||||
configuration := NewDefaultConfiguration()
|
||||
apiClient := NewAPIClient(configuration)
|
||||
resp, r, err := apiClient..ApplicationDiscoveryAPI.GetManualDiscoverApplicationsCsvTemplate(context.Background()).Execute()
|
||||
resp, r, err := apiClient.V2025.ApplicationDiscoveryAPI.GetManualDiscoverApplicationsCsvTemplate(context.Background()).Execute()
|
||||
if err != nil {
|
||||
fmt.Fprintf(os.Stderr, "Error when calling `ApplicationDiscoveryAPI.GetManualDiscoverApplicationsCsvTemplate``: %v\n", err)
|
||||
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
|
||||
@@ -150,7 +150,7 @@ Upload CSV to Discover Applications
|
||||
Uploading a CSV file with application data for manual correlation to specific ISC connectors.
|
||||
If a suitable ISC connector is unavailable, the system will recommend generic connectors instead.
|
||||
|
||||
[API Spec](https://developer.sailpoint.com/docs/api//send-manual-discover-applications-csv-template)
|
||||
[API Spec](https://developer.sailpoint.com/docs/api/v2025/send-manual-discover-applications-csv-template)
|
||||
|
||||
### Path Parameters
|
||||
|
||||
@@ -183,7 +183,7 @@ import (
|
||||
"context"
|
||||
"fmt"
|
||||
"os"
|
||||
""
|
||||
v2025 "github.com/sailpoint-oss/golang-sdk/v2/api_v2025"
|
||||
openapiclient "github.com/sailpoint-oss/golang-sdk/v2"
|
||||
)
|
||||
|
||||
@@ -192,7 +192,7 @@ func main() {
|
||||
|
||||
configuration := NewDefaultConfiguration()
|
||||
apiClient := NewAPIClient(configuration)
|
||||
r, err := apiClient..ApplicationDiscoveryAPI.SendManualDiscoverApplicationsCsvTemplate(context.Background()).File(file).Execute()
|
||||
r, err := apiClient.V2025.ApplicationDiscoveryAPI.SendManualDiscoverApplicationsCsvTemplate(context.Background()).File(file).Execute()
|
||||
if err != nil {
|
||||
fmt.Fprintf(os.Stderr, "Error when calling `ApplicationDiscoveryAPI.SendManualDiscoverApplicationsCsvTemplate``: %v\n", err)
|
||||
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
|
||||
|
||||
@@ -1,12 +1,12 @@
|
||||
---
|
||||
id: approvals
|
||||
id: v2025-approvals
|
||||
title: Approvals
|
||||
pagination_label: Approvals
|
||||
sidebar_label: Approvals
|
||||
sidebar_class_name: gosdk
|
||||
keywords: ['go', 'Golang', 'sdk', 'Approvals', 'Approvals']
|
||||
slug: /tools/sdk/go//methods/approvals
|
||||
tags: ['SDK', 'Software Development Kit', 'Approvals', 'Approvals']
|
||||
keywords: ['go', 'Golang', 'sdk', 'Approvals', 'V2025Approvals']
|
||||
slug: /tools/sdk/go/v2025/methods/approvals
|
||||
tags: ['SDK', 'Software Development Kit', 'Approvals', 'V2025Approvals']
|
||||
---
|
||||
|
||||
# ApprovalsAPI
|
||||
@@ -37,7 +37,7 @@ This API is currently in an experimental state. The API is subject to change bas
|
||||
Get an approval
|
||||
Retrieve a single approval for a given approval ID. This endpoint is for generic approvals, different than the access-request-approval endpoint and does not include access-request-approvals.
|
||||
|
||||
[API Spec](https://developer.sailpoint.com/docs/api//get-approval)
|
||||
[API Spec](https://developer.sailpoint.com/docs/api/v2025/get-approval)
|
||||
|
||||
### Path Parameters
|
||||
|
||||
@@ -75,7 +75,7 @@ import (
|
||||
"context"
|
||||
"fmt"
|
||||
"os"
|
||||
""
|
||||
v2025 "github.com/sailpoint-oss/golang-sdk/v2/api_v2025"
|
||||
openapiclient "github.com/sailpoint-oss/golang-sdk/v2"
|
||||
)
|
||||
|
||||
@@ -85,7 +85,7 @@ func main() {
|
||||
|
||||
configuration := NewDefaultConfiguration()
|
||||
apiClient := NewAPIClient(configuration)
|
||||
resp, r, err := apiClient..ApprovalsAPI.GetApproval(context.Background(), id).XSailPointExperimental(xSailPointExperimental).Execute()
|
||||
resp, r, err := apiClient.V2025.ApprovalsAPI.GetApproval(context.Background(), id).XSailPointExperimental(xSailPointExperimental).Execute()
|
||||
if err != nil {
|
||||
fmt.Fprintf(os.Stderr, "Error when calling `ApprovalsAPI.GetApproval``: %v\n", err)
|
||||
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
|
||||
@@ -113,7 +113,7 @@ Get Approvals
|
||||
Retrieve a list of approvals, which can be filtered by requester ID, status, or reference type. "Mine" query parameter can be used and it will return all approvals for the current approver. This endpoint is for generic approvals, different than the access-request-approval endpoint and does not include access-request-approvals.
|
||||
Absence of all query parameters will will default to mine=true.
|
||||
|
||||
[API Spec](https://developer.sailpoint.com/docs/api//get-approvals)
|
||||
[API Spec](https://developer.sailpoint.com/docs/api/v2025/get-approvals)
|
||||
|
||||
### Path Parameters
|
||||
|
||||
@@ -149,7 +149,7 @@ import (
|
||||
"context"
|
||||
"fmt"
|
||||
"os"
|
||||
""
|
||||
v2025 "github.com/sailpoint-oss/golang-sdk/v2/api_v2025"
|
||||
openapiclient "github.com/sailpoint-oss/golang-sdk/v2"
|
||||
)
|
||||
|
||||
@@ -161,7 +161,7 @@ func main() {
|
||||
|
||||
configuration := NewDefaultConfiguration()
|
||||
apiClient := NewAPIClient(configuration)
|
||||
resp, r, err := apiClient..ApprovalsAPI.GetApprovals(context.Background()).XSailPointExperimental(xSailPointExperimental).Mine(mine).RequesterId(requesterId).Filters(filters).Execute()
|
||||
resp, r, err := apiClient.V2025.ApprovalsAPI.GetApprovals(context.Background()).XSailPointExperimental(xSailPointExperimental).Mine(mine).RequesterId(requesterId).Filters(filters).Execute()
|
||||
if err != nil {
|
||||
fmt.Fprintf(os.Stderr, "Error when calling `ApprovalsAPI.GetApprovals``: %v\n", err)
|
||||
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
|
||||
|
||||
@@ -1,12 +1,12 @@
|
||||
---
|
||||
id: apps
|
||||
id: v2025-apps
|
||||
title: Apps
|
||||
pagination_label: Apps
|
||||
sidebar_label: Apps
|
||||
sidebar_class_name: gosdk
|
||||
keywords: ['go', 'Golang', 'sdk', 'Apps', 'Apps']
|
||||
slug: /tools/sdk/go//methods/apps
|
||||
tags: ['SDK', 'Software Development Kit', 'Apps', 'Apps']
|
||||
keywords: ['go', 'Golang', 'sdk', 'Apps', 'V2025Apps']
|
||||
slug: /tools/sdk/go/v2025/methods/apps
|
||||
tags: ['SDK', 'Software Development Kit', 'Apps', 'V2025Apps']
|
||||
---
|
||||
|
||||
# AppsAPI
|
||||
@@ -48,7 +48,7 @@ This API is currently in an experimental state. The API is subject to change bas
|
||||
Create source app
|
||||
This endpoint creates a source app using the given source app payload
|
||||
|
||||
[API Spec](https://developer.sailpoint.com/docs/api//create-source-app)
|
||||
[API Spec](https://developer.sailpoint.com/docs/api/v2025/create-source-app)
|
||||
|
||||
### Path Parameters
|
||||
|
||||
@@ -82,7 +82,7 @@ import (
|
||||
"context"
|
||||
"fmt"
|
||||
"os"
|
||||
""
|
||||
v2025 "github.com/sailpoint-oss/golang-sdk/v2/api_v2025"
|
||||
openapiclient "github.com/sailpoint-oss/golang-sdk/v2"
|
||||
)
|
||||
|
||||
@@ -101,7 +101,7 @@ func main() {
|
||||
|
||||
configuration := NewDefaultConfiguration()
|
||||
apiClient := NewAPIClient(configuration)
|
||||
resp, r, err := apiClient..AppsAPI.CreateSourceApp(context.Background()).XSailPointExperimental(xSailPointExperimental).SourceAppCreateDto(sourceAppCreateDto).Execute()
|
||||
resp, r, err := apiClient.V2025.AppsAPI.CreateSourceApp(context.Background()).XSailPointExperimental(xSailPointExperimental).SourceAppCreateDto(sourceAppCreateDto).Execute()
|
||||
if err != nil {
|
||||
fmt.Fprintf(os.Stderr, "Error when calling `AppsAPI.CreateSourceApp``: %v\n", err)
|
||||
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
|
||||
@@ -128,7 +128,7 @@ This API is currently in an experimental state. The API is subject to change bas
|
||||
Bulk remove access profiles from the specified source app
|
||||
This API returns the final list of access profiles for the specified source app after removing
|
||||
|
||||
[API Spec](https://developer.sailpoint.com/docs/api//delete-access-profiles-from-source-app-by-bulk)
|
||||
[API Spec](https://developer.sailpoint.com/docs/api/v2025/delete-access-profiles-from-source-app-by-bulk)
|
||||
|
||||
### Path Parameters
|
||||
|
||||
@@ -168,7 +168,7 @@ import (
|
||||
"context"
|
||||
"fmt"
|
||||
"os"
|
||||
""
|
||||
v2025 "github.com/sailpoint-oss/golang-sdk/v2/api_v2025"
|
||||
openapiclient "github.com/sailpoint-oss/golang-sdk/v2"
|
||||
)
|
||||
|
||||
@@ -180,7 +180,7 @@ func main() {
|
||||
|
||||
configuration := NewDefaultConfiguration()
|
||||
apiClient := NewAPIClient(configuration)
|
||||
resp, r, err := apiClient..AppsAPI.DeleteAccessProfilesFromSourceAppByBulk(context.Background(), id).XSailPointExperimental(xSailPointExperimental).RequestBody(requestBody).Limit(limit).Execute()
|
||||
resp, r, err := apiClient.V2025.AppsAPI.DeleteAccessProfilesFromSourceAppByBulk(context.Background(), id).XSailPointExperimental(xSailPointExperimental).RequestBody(requestBody).Limit(limit).Execute()
|
||||
if err != nil {
|
||||
fmt.Fprintf(os.Stderr, "Error when calling `AppsAPI.DeleteAccessProfilesFromSourceAppByBulk``: %v\n", err)
|
||||
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
|
||||
@@ -207,7 +207,7 @@ This API is currently in an experimental state. The API is subject to change bas
|
||||
Delete source app by ID
|
||||
Use this API to delete a specific source app
|
||||
|
||||
[API Spec](https://developer.sailpoint.com/docs/api//delete-source-app)
|
||||
[API Spec](https://developer.sailpoint.com/docs/api/v2025/delete-source-app)
|
||||
|
||||
### Path Parameters
|
||||
|
||||
@@ -245,7 +245,7 @@ import (
|
||||
"context"
|
||||
"fmt"
|
||||
"os"
|
||||
""
|
||||
v2025 "github.com/sailpoint-oss/golang-sdk/v2/api_v2025"
|
||||
openapiclient "github.com/sailpoint-oss/golang-sdk/v2"
|
||||
)
|
||||
|
||||
@@ -255,7 +255,7 @@ func main() {
|
||||
|
||||
configuration := NewDefaultConfiguration()
|
||||
apiClient := NewAPIClient(configuration)
|
||||
resp, r, err := apiClient..AppsAPI.DeleteSourceApp(context.Background(), id).XSailPointExperimental(xSailPointExperimental).Execute()
|
||||
resp, r, err := apiClient.V2025.AppsAPI.DeleteSourceApp(context.Background(), id).XSailPointExperimental(xSailPointExperimental).Execute()
|
||||
if err != nil {
|
||||
fmt.Fprintf(os.Stderr, "Error when calling `AppsAPI.DeleteSourceApp``: %v\n", err)
|
||||
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
|
||||
@@ -282,7 +282,7 @@ This API is currently in an experimental state. The API is subject to change bas
|
||||
Get source app by ID
|
||||
This API returns a source app by its ID.
|
||||
|
||||
[API Spec](https://developer.sailpoint.com/docs/api//get-source-app)
|
||||
[API Spec](https://developer.sailpoint.com/docs/api/v2025/get-source-app)
|
||||
|
||||
### Path Parameters
|
||||
|
||||
@@ -320,7 +320,7 @@ import (
|
||||
"context"
|
||||
"fmt"
|
||||
"os"
|
||||
""
|
||||
v2025 "github.com/sailpoint-oss/golang-sdk/v2/api_v2025"
|
||||
openapiclient "github.com/sailpoint-oss/golang-sdk/v2"
|
||||
)
|
||||
|
||||
@@ -330,7 +330,7 @@ func main() {
|
||||
|
||||
configuration := NewDefaultConfiguration()
|
||||
apiClient := NewAPIClient(configuration)
|
||||
resp, r, err := apiClient..AppsAPI.GetSourceApp(context.Background(), id).XSailPointExperimental(xSailPointExperimental).Execute()
|
||||
resp, r, err := apiClient.V2025.AppsAPI.GetSourceApp(context.Background(), id).XSailPointExperimental(xSailPointExperimental).Execute()
|
||||
if err != nil {
|
||||
fmt.Fprintf(os.Stderr, "Error when calling `AppsAPI.GetSourceApp``: %v\n", err)
|
||||
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
|
||||
@@ -357,7 +357,7 @@ This API is currently in an experimental state. The API is subject to change bas
|
||||
List access profiles for the specified source app
|
||||
This API returns the list of access profiles for the specified source app
|
||||
|
||||
[API Spec](https://developer.sailpoint.com/docs/api//list-access-profiles-for-source-app)
|
||||
[API Spec](https://developer.sailpoint.com/docs/api/v2025/list-access-profiles-for-source-app)
|
||||
|
||||
### Path Parameters
|
||||
|
||||
@@ -398,7 +398,7 @@ import (
|
||||
"context"
|
||||
"fmt"
|
||||
"os"
|
||||
""
|
||||
v2025 "github.com/sailpoint-oss/golang-sdk/v2/api_v2025"
|
||||
openapiclient "github.com/sailpoint-oss/golang-sdk/v2"
|
||||
)
|
||||
|
||||
@@ -411,7 +411,7 @@ func main() {
|
||||
|
||||
configuration := NewDefaultConfiguration()
|
||||
apiClient := NewAPIClient(configuration)
|
||||
resp, r, err := apiClient..AppsAPI.ListAccessProfilesForSourceApp(context.Background(), id).XSailPointExperimental(xSailPointExperimental).Limit(limit).Offset(offset).Filters(filters).Execute()
|
||||
resp, r, err := apiClient.V2025.AppsAPI.ListAccessProfilesForSourceApp(context.Background(), id).XSailPointExperimental(xSailPointExperimental).Limit(limit).Offset(offset).Filters(filters).Execute()
|
||||
if err != nil {
|
||||
fmt.Fprintf(os.Stderr, "Error when calling `AppsAPI.ListAccessProfilesForSourceApp``: %v\n", err)
|
||||
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
|
||||
@@ -438,7 +438,7 @@ This API is currently in an experimental state. The API is subject to change bas
|
||||
List all source apps
|
||||
This API returns the list of all source apps for the org.
|
||||
|
||||
[API Spec](https://developer.sailpoint.com/docs/api//list-all-source-app)
|
||||
[API Spec](https://developer.sailpoint.com/docs/api/v2025/list-all-source-app)
|
||||
|
||||
### Path Parameters
|
||||
|
||||
@@ -476,7 +476,7 @@ import (
|
||||
"context"
|
||||
"fmt"
|
||||
"os"
|
||||
""
|
||||
v2025 "github.com/sailpoint-oss/golang-sdk/v2/api_v2025"
|
||||
openapiclient "github.com/sailpoint-oss/golang-sdk/v2"
|
||||
)
|
||||
|
||||
@@ -490,7 +490,7 @@ func main() {
|
||||
|
||||
configuration := NewDefaultConfiguration()
|
||||
apiClient := NewAPIClient(configuration)
|
||||
resp, r, err := apiClient..AppsAPI.ListAllSourceApp(context.Background()).XSailPointExperimental(xSailPointExperimental).Limit(limit).Count(count).Offset(offset).Sorters(sorters).Filters(filters).Execute()
|
||||
resp, r, err := apiClient.V2025.AppsAPI.ListAllSourceApp(context.Background()).XSailPointExperimental(xSailPointExperimental).Limit(limit).Count(count).Offset(offset).Sorters(sorters).Filters(filters).Execute()
|
||||
if err != nil {
|
||||
fmt.Fprintf(os.Stderr, "Error when calling `AppsAPI.ListAllSourceApp``: %v\n", err)
|
||||
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
|
||||
@@ -518,7 +518,7 @@ List all user apps
|
||||
This API returns the list of all user apps with specified filters.
|
||||
This API must be used with **filters** query parameter.
|
||||
|
||||
[API Spec](https://developer.sailpoint.com/docs/api//list-all-user-apps)
|
||||
[API Spec](https://developer.sailpoint.com/docs/api/v2025/list-all-user-apps)
|
||||
|
||||
### Path Parameters
|
||||
|
||||
@@ -555,7 +555,7 @@ import (
|
||||
"context"
|
||||
"fmt"
|
||||
"os"
|
||||
""
|
||||
v2025 "github.com/sailpoint-oss/golang-sdk/v2/api_v2025"
|
||||
openapiclient "github.com/sailpoint-oss/golang-sdk/v2"
|
||||
)
|
||||
|
||||
@@ -568,7 +568,7 @@ func main() {
|
||||
|
||||
configuration := NewDefaultConfiguration()
|
||||
apiClient := NewAPIClient(configuration)
|
||||
resp, r, err := apiClient..AppsAPI.ListAllUserApps(context.Background()).Filters(filters).XSailPointExperimental(xSailPointExperimental).Limit(limit).Count(count).Offset(offset).Execute()
|
||||
resp, r, err := apiClient.V2025.AppsAPI.ListAllUserApps(context.Background()).Filters(filters).XSailPointExperimental(xSailPointExperimental).Limit(limit).Count(count).Offset(offset).Execute()
|
||||
if err != nil {
|
||||
fmt.Fprintf(os.Stderr, "Error when calling `AppsAPI.ListAllUserApps``: %v\n", err)
|
||||
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
|
||||
@@ -595,7 +595,7 @@ This API is currently in an experimental state. The API is subject to change bas
|
||||
List assigned source apps
|
||||
This API returns the list of source apps assigned for logged in user.
|
||||
|
||||
[API Spec](https://developer.sailpoint.com/docs/api//list-assigned-source-app)
|
||||
[API Spec](https://developer.sailpoint.com/docs/api/v2025/list-assigned-source-app)
|
||||
|
||||
### Path Parameters
|
||||
|
||||
@@ -633,7 +633,7 @@ import (
|
||||
"context"
|
||||
"fmt"
|
||||
"os"
|
||||
""
|
||||
v2025 "github.com/sailpoint-oss/golang-sdk/v2/api_v2025"
|
||||
openapiclient "github.com/sailpoint-oss/golang-sdk/v2"
|
||||
)
|
||||
|
||||
@@ -647,7 +647,7 @@ func main() {
|
||||
|
||||
configuration := NewDefaultConfiguration()
|
||||
apiClient := NewAPIClient(configuration)
|
||||
resp, r, err := apiClient..AppsAPI.ListAssignedSourceApp(context.Background()).XSailPointExperimental(xSailPointExperimental).Limit(limit).Count(count).Offset(offset).Sorters(sorters).Filters(filters).Execute()
|
||||
resp, r, err := apiClient.V2025.AppsAPI.ListAssignedSourceApp(context.Background()).XSailPointExperimental(xSailPointExperimental).Limit(limit).Count(count).Offset(offset).Sorters(sorters).Filters(filters).Execute()
|
||||
if err != nil {
|
||||
fmt.Fprintf(os.Stderr, "Error when calling `AppsAPI.ListAssignedSourceApp``: %v\n", err)
|
||||
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
|
||||
@@ -674,7 +674,7 @@ This API is currently in an experimental state. The API is subject to change bas
|
||||
List available accounts for user app
|
||||
This API returns the list of available accounts for the specified user app. The user app needs to belong lo logged in user.
|
||||
|
||||
[API Spec](https://developer.sailpoint.com/docs/api//list-available-accounts-for-user-app)
|
||||
[API Spec](https://developer.sailpoint.com/docs/api/v2025/list-available-accounts-for-user-app)
|
||||
|
||||
### Path Parameters
|
||||
|
||||
@@ -714,7 +714,7 @@ import (
|
||||
"context"
|
||||
"fmt"
|
||||
"os"
|
||||
""
|
||||
v2025 "github.com/sailpoint-oss/golang-sdk/v2/api_v2025"
|
||||
openapiclient "github.com/sailpoint-oss/golang-sdk/v2"
|
||||
)
|
||||
|
||||
@@ -726,7 +726,7 @@ func main() {
|
||||
|
||||
configuration := NewDefaultConfiguration()
|
||||
apiClient := NewAPIClient(configuration)
|
||||
resp, r, err := apiClient..AppsAPI.ListAvailableAccountsForUserApp(context.Background(), id).XSailPointExperimental(xSailPointExperimental).Limit(limit).Count(count).Execute()
|
||||
resp, r, err := apiClient.V2025.AppsAPI.ListAvailableAccountsForUserApp(context.Background(), id).XSailPointExperimental(xSailPointExperimental).Limit(limit).Count(count).Execute()
|
||||
if err != nil {
|
||||
fmt.Fprintf(os.Stderr, "Error when calling `AppsAPI.ListAvailableAccountsForUserApp``: %v\n", err)
|
||||
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
|
||||
@@ -753,7 +753,7 @@ This API is currently in an experimental state. The API is subject to change bas
|
||||
List available source apps
|
||||
This API returns the list of source apps available for access request.
|
||||
|
||||
[API Spec](https://developer.sailpoint.com/docs/api//list-available-source-apps)
|
||||
[API Spec](https://developer.sailpoint.com/docs/api/v2025/list-available-source-apps)
|
||||
|
||||
### Path Parameters
|
||||
|
||||
@@ -791,7 +791,7 @@ import (
|
||||
"context"
|
||||
"fmt"
|
||||
"os"
|
||||
""
|
||||
v2025 "github.com/sailpoint-oss/golang-sdk/v2/api_v2025"
|
||||
openapiclient "github.com/sailpoint-oss/golang-sdk/v2"
|
||||
)
|
||||
|
||||
@@ -805,7 +805,7 @@ func main() {
|
||||
|
||||
configuration := NewDefaultConfiguration()
|
||||
apiClient := NewAPIClient(configuration)
|
||||
resp, r, err := apiClient..AppsAPI.ListAvailableSourceApps(context.Background()).XSailPointExperimental(xSailPointExperimental).Limit(limit).Count(count).Offset(offset).Sorters(sorters).Filters(filters).Execute()
|
||||
resp, r, err := apiClient.V2025.AppsAPI.ListAvailableSourceApps(context.Background()).XSailPointExperimental(xSailPointExperimental).Limit(limit).Count(count).Offset(offset).Sorters(sorters).Filters(filters).Execute()
|
||||
if err != nil {
|
||||
fmt.Fprintf(os.Stderr, "Error when calling `AppsAPI.ListAvailableSourceApps``: %v\n", err)
|
||||
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
|
||||
@@ -832,7 +832,7 @@ This API is currently in an experimental state. The API is subject to change bas
|
||||
List owned user apps
|
||||
This API returns the list of user apps assigned to logged in user
|
||||
|
||||
[API Spec](https://developer.sailpoint.com/docs/api//list-owned-user-apps)
|
||||
[API Spec](https://developer.sailpoint.com/docs/api/v2025/list-owned-user-apps)
|
||||
|
||||
### Path Parameters
|
||||
|
||||
@@ -869,7 +869,7 @@ import (
|
||||
"context"
|
||||
"fmt"
|
||||
"os"
|
||||
""
|
||||
v2025 "github.com/sailpoint-oss/golang-sdk/v2/api_v2025"
|
||||
openapiclient "github.com/sailpoint-oss/golang-sdk/v2"
|
||||
)
|
||||
|
||||
@@ -882,7 +882,7 @@ func main() {
|
||||
|
||||
configuration := NewDefaultConfiguration()
|
||||
apiClient := NewAPIClient(configuration)
|
||||
resp, r, err := apiClient..AppsAPI.ListOwnedUserApps(context.Background()).XSailPointExperimental(xSailPointExperimental).Limit(limit).Count(count).Offset(offset).Filters(filters).Execute()
|
||||
resp, r, err := apiClient.V2025.AppsAPI.ListOwnedUserApps(context.Background()).XSailPointExperimental(xSailPointExperimental).Limit(limit).Count(count).Offset(offset).Filters(filters).Execute()
|
||||
if err != nil {
|
||||
fmt.Fprintf(os.Stderr, "Error when calling `AppsAPI.ListOwnedUserApps``: %v\n", err)
|
||||
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
|
||||
@@ -911,7 +911,7 @@ This API updates an existing source app using [JSON Patch](https://tools.ietf.or
|
||||
The following fields are patchable: **name**, **description**, **enabled**, **owner**, **provisionRequestEnabled**, **appCenterEnabled**, **accountSource**, **matchAllAccounts** and **accessProfiles**.
|
||||
Name, description and owner can't be empty or null.
|
||||
|
||||
[API Spec](https://developer.sailpoint.com/docs/api//patch-source-app)
|
||||
[API Spec](https://developer.sailpoint.com/docs/api/v2025/patch-source-app)
|
||||
|
||||
### Path Parameters
|
||||
|
||||
@@ -950,7 +950,7 @@ import (
|
||||
"context"
|
||||
"fmt"
|
||||
"os"
|
||||
""
|
||||
v2025 "github.com/sailpoint-oss/golang-sdk/v2/api_v2025"
|
||||
openapiclient "github.com/sailpoint-oss/golang-sdk/v2"
|
||||
)
|
||||
|
||||
@@ -961,7 +961,7 @@ func main() {
|
||||
|
||||
configuration := NewDefaultConfiguration()
|
||||
apiClient := NewAPIClient(configuration)
|
||||
resp, r, err := apiClient..AppsAPI.PatchSourceApp(context.Background(), id).XSailPointExperimental(xSailPointExperimental).JsonPatchOperation(jsonPatchOperation).Execute()
|
||||
resp, r, err := apiClient.V2025.AppsAPI.PatchSourceApp(context.Background(), id).XSailPointExperimental(xSailPointExperimental).JsonPatchOperation(jsonPatchOperation).Execute()
|
||||
if err != nil {
|
||||
fmt.Fprintf(os.Stderr, "Error when calling `AppsAPI.PatchSourceApp``: %v\n", err)
|
||||
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
|
||||
@@ -989,7 +989,7 @@ Patch user app by ID
|
||||
This API updates an existing user app using [JSON Patch](https://tools.ietf.org/html/rfc6902) syntax.
|
||||
The following fields are patchable: **account**
|
||||
|
||||
[API Spec](https://developer.sailpoint.com/docs/api//patch-user-app)
|
||||
[API Spec](https://developer.sailpoint.com/docs/api/v2025/patch-user-app)
|
||||
|
||||
### Path Parameters
|
||||
|
||||
@@ -1028,7 +1028,7 @@ import (
|
||||
"context"
|
||||
"fmt"
|
||||
"os"
|
||||
""
|
||||
v2025 "github.com/sailpoint-oss/golang-sdk/v2/api_v2025"
|
||||
openapiclient "github.com/sailpoint-oss/golang-sdk/v2"
|
||||
)
|
||||
|
||||
@@ -1039,7 +1039,7 @@ func main() {
|
||||
|
||||
configuration := NewDefaultConfiguration()
|
||||
apiClient := NewAPIClient(configuration)
|
||||
resp, r, err := apiClient..AppsAPI.PatchUserApp(context.Background(), id).XSailPointExperimental(xSailPointExperimental).JsonPatchOperation(jsonPatchOperation).Execute()
|
||||
resp, r, err := apiClient.V2025.AppsAPI.PatchUserApp(context.Background(), id).XSailPointExperimental(xSailPointExperimental).JsonPatchOperation(jsonPatchOperation).Execute()
|
||||
if err != nil {
|
||||
fmt.Fprintf(os.Stderr, "Error when calling `AppsAPI.PatchUserApp``: %v\n", err)
|
||||
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
|
||||
@@ -1068,7 +1068,7 @@ This API updates source apps using [JSON Patch](https://tools.ietf.org/html/rfc6
|
||||
The following fields can be updated: **name**, **description**, **enabled**, **owner**, **provisionRequestEnabled**, **appCenterEnabled**, **accountSource**, **matchAllAccounts**, and **accessProfiles**.
|
||||
Name, description and owner can't be empty or null.
|
||||
|
||||
[API Spec](https://developer.sailpoint.com/docs/api//update-source-apps-in-bulk)
|
||||
[API Spec](https://developer.sailpoint.com/docs/api/v2025/update-source-apps-in-bulk)
|
||||
|
||||
### Path Parameters
|
||||
|
||||
@@ -1102,7 +1102,7 @@ import (
|
||||
"context"
|
||||
"fmt"
|
||||
"os"
|
||||
""
|
||||
v2025 "github.com/sailpoint-oss/golang-sdk/v2/api_v2025"
|
||||
openapiclient "github.com/sailpoint-oss/golang-sdk/v2"
|
||||
)
|
||||
|
||||
@@ -1123,7 +1123,7 @@ func main() {
|
||||
|
||||
configuration := NewDefaultConfiguration()
|
||||
apiClient := NewAPIClient(configuration)
|
||||
r, err := apiClient..AppsAPI.UpdateSourceAppsInBulk(context.Background()).XSailPointExperimental(xSailPointExperimental).SourceAppBulkUpdateRequest(sourceAppBulkUpdateRequest).Execute()
|
||||
r, err := apiClient.V2025.AppsAPI.UpdateSourceAppsInBulk(context.Background()).XSailPointExperimental(xSailPointExperimental).SourceAppBulkUpdateRequest(sourceAppBulkUpdateRequest).Execute()
|
||||
if err != nil {
|
||||
fmt.Fprintf(os.Stderr, "Error when calling `AppsAPI.UpdateSourceAppsInBulk``: %v\n", err)
|
||||
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
|
||||
|
||||
@@ -1,12 +1,12 @@
|
||||
---
|
||||
id: auth-profile
|
||||
id: v2025-auth-profile
|
||||
title: AuthProfile
|
||||
pagination_label: AuthProfile
|
||||
sidebar_label: AuthProfile
|
||||
sidebar_class_name: gosdk
|
||||
keywords: ['go', 'Golang', 'sdk', 'AuthProfile', 'AuthProfile']
|
||||
slug: /tools/sdk/go//methods/auth-profile
|
||||
tags: ['SDK', 'Software Development Kit', 'AuthProfile', 'AuthProfile']
|
||||
keywords: ['go', 'Golang', 'sdk', 'AuthProfile', 'V2025AuthProfile']
|
||||
slug: /tools/sdk/go/v2025/methods/auth-profile
|
||||
tags: ['SDK', 'Software Development Kit', 'AuthProfile', 'V2025AuthProfile']
|
||||
---
|
||||
|
||||
# AuthProfileAPI
|
||||
@@ -41,7 +41,7 @@ This API is currently in an experimental state. The API is subject to change bas
|
||||
Get Auth Profile
|
||||
This API returns auth profile information.
|
||||
|
||||
[API Spec](https://developer.sailpoint.com/docs/api//get-profile-config)
|
||||
[API Spec](https://developer.sailpoint.com/docs/api/v2025/get-profile-config)
|
||||
|
||||
### Path Parameters
|
||||
|
||||
@@ -79,7 +79,7 @@ import (
|
||||
"context"
|
||||
"fmt"
|
||||
"os"
|
||||
""
|
||||
v2025 "github.com/sailpoint-oss/golang-sdk/v2/api_v2025"
|
||||
openapiclient "github.com/sailpoint-oss/golang-sdk/v2"
|
||||
)
|
||||
|
||||
@@ -89,7 +89,7 @@ func main() {
|
||||
|
||||
configuration := NewDefaultConfiguration()
|
||||
apiClient := NewAPIClient(configuration)
|
||||
resp, r, err := apiClient..AuthProfileAPI.GetProfileConfig(context.Background(), id).XSailPointExperimental(xSailPointExperimental).Execute()
|
||||
resp, r, err := apiClient.V2025.AuthProfileAPI.GetProfileConfig(context.Background(), id).XSailPointExperimental(xSailPointExperimental).Execute()
|
||||
if err != nil {
|
||||
fmt.Fprintf(os.Stderr, "Error when calling `AuthProfileAPI.GetProfileConfig``: %v\n", err)
|
||||
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
|
||||
@@ -116,7 +116,7 @@ This API is currently in an experimental state. The API is subject to change bas
|
||||
Get list of Auth Profiles
|
||||
This API returns a list of auth profiles.
|
||||
|
||||
[API Spec](https://developer.sailpoint.com/docs/api//get-profile-config-list)
|
||||
[API Spec](https://developer.sailpoint.com/docs/api/v2025/get-profile-config-list)
|
||||
|
||||
### Path Parameters
|
||||
|
||||
@@ -149,7 +149,7 @@ import (
|
||||
"context"
|
||||
"fmt"
|
||||
"os"
|
||||
""
|
||||
v2025 "github.com/sailpoint-oss/golang-sdk/v2/api_v2025"
|
||||
openapiclient "github.com/sailpoint-oss/golang-sdk/v2"
|
||||
)
|
||||
|
||||
@@ -158,7 +158,7 @@ func main() {
|
||||
|
||||
configuration := NewDefaultConfiguration()
|
||||
apiClient := NewAPIClient(configuration)
|
||||
resp, r, err := apiClient..AuthProfileAPI.GetProfileConfigList(context.Background()).XSailPointExperimental(xSailPointExperimental).Execute()
|
||||
resp, r, err := apiClient.V2025.AuthProfileAPI.GetProfileConfigList(context.Background()).XSailPointExperimental(xSailPointExperimental).Execute()
|
||||
if err != nil {
|
||||
fmt.Fprintf(os.Stderr, "Error when calling `AuthProfileAPI.GetProfileConfigList``: %v\n", err)
|
||||
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
|
||||
@@ -186,7 +186,7 @@ Patch a specified Auth Profile
|
||||
This API updates an existing Auth Profile. The following fields are patchable:
|
||||
**offNetwork**, **untrustedGeography**, **applicationId**, **applicationName**, **type**
|
||||
|
||||
[API Spec](https://developer.sailpoint.com/docs/api//patch-profile-config)
|
||||
[API Spec](https://developer.sailpoint.com/docs/api/v2025/patch-profile-config)
|
||||
|
||||
### Path Parameters
|
||||
|
||||
@@ -225,7 +225,7 @@ import (
|
||||
"context"
|
||||
"fmt"
|
||||
"os"
|
||||
""
|
||||
v2025 "github.com/sailpoint-oss/golang-sdk/v2/api_v2025"
|
||||
openapiclient "github.com/sailpoint-oss/golang-sdk/v2"
|
||||
)
|
||||
|
||||
@@ -236,7 +236,7 @@ func main() {
|
||||
|
||||
configuration := NewDefaultConfiguration()
|
||||
apiClient := NewAPIClient(configuration)
|
||||
resp, r, err := apiClient..AuthProfileAPI.PatchProfileConfig(context.Background(), id).XSailPointExperimental(xSailPointExperimental).JsonPatchOperation(jsonPatchOperation).Execute()
|
||||
resp, r, err := apiClient.V2025.AuthProfileAPI.PatchProfileConfig(context.Background(), id).XSailPointExperimental(xSailPointExperimental).JsonPatchOperation(jsonPatchOperation).Execute()
|
||||
if err != nil {
|
||||
fmt.Fprintf(os.Stderr, "Error when calling `AuthProfileAPI.PatchProfileConfig``: %v\n", err)
|
||||
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
|
||||
|
||||
@@ -1,12 +1,12 @@
|
||||
---
|
||||
id: auth-users
|
||||
id: v2025-auth-users
|
||||
title: AuthUsers
|
||||
pagination_label: AuthUsers
|
||||
sidebar_label: AuthUsers
|
||||
sidebar_class_name: gosdk
|
||||
keywords: ['go', 'Golang', 'sdk', 'AuthUsers', 'AuthUsers']
|
||||
slug: /tools/sdk/go//methods/auth-users
|
||||
tags: ['SDK', 'Software Development Kit', 'AuthUsers', 'AuthUsers']
|
||||
keywords: ['go', 'Golang', 'sdk', 'AuthUsers', 'V2025AuthUsers']
|
||||
slug: /tools/sdk/go/v2025/methods/auth-users
|
||||
tags: ['SDK', 'Software Development Kit', 'AuthUsers', 'V2025AuthUsers']
|
||||
---
|
||||
|
||||
# AuthUsersAPI
|
||||
@@ -28,7 +28,7 @@ Method | HTTP request | Description
|
||||
Auth User Details
|
||||
Return the specified user's authentication system details.
|
||||
|
||||
[API Spec](https://developer.sailpoint.com/docs/api//get-auth-user)
|
||||
[API Spec](https://developer.sailpoint.com/docs/api/v2025/get-auth-user)
|
||||
|
||||
### Path Parameters
|
||||
|
||||
@@ -65,7 +65,7 @@ import (
|
||||
"context"
|
||||
"fmt"
|
||||
"os"
|
||||
""
|
||||
v2025 "github.com/sailpoint-oss/golang-sdk/v2/api_v2025"
|
||||
openapiclient "github.com/sailpoint-oss/golang-sdk/v2"
|
||||
)
|
||||
|
||||
@@ -74,7 +74,7 @@ func main() {
|
||||
|
||||
configuration := NewDefaultConfiguration()
|
||||
apiClient := NewAPIClient(configuration)
|
||||
resp, r, err := apiClient..AuthUsersAPI.GetAuthUser(context.Background(), id).Execute()
|
||||
resp, r, err := apiClient.V2025.AuthUsersAPI.GetAuthUser(context.Background(), id).Execute()
|
||||
if err != nil {
|
||||
fmt.Fprintf(os.Stderr, "Error when calling `AuthUsersAPI.GetAuthUser``: %v\n", err)
|
||||
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
|
||||
@@ -94,7 +94,7 @@ Use this endpoint to modify these fields:
|
||||
|
||||
A '400.1.1 Illegal update attempt' detail code indicates that you attempted to PATCH a field that is not allowed.
|
||||
|
||||
[API Spec](https://developer.sailpoint.com/docs/api//patch-auth-user)
|
||||
[API Spec](https://developer.sailpoint.com/docs/api/v2025/patch-auth-user)
|
||||
|
||||
### Path Parameters
|
||||
|
||||
@@ -132,7 +132,7 @@ import (
|
||||
"context"
|
||||
"fmt"
|
||||
"os"
|
||||
""
|
||||
v2025 "github.com/sailpoint-oss/golang-sdk/v2/api_v2025"
|
||||
openapiclient "github.com/sailpoint-oss/golang-sdk/v2"
|
||||
)
|
||||
|
||||
@@ -142,7 +142,7 @@ func main() {
|
||||
|
||||
configuration := NewDefaultConfiguration()
|
||||
apiClient := NewAPIClient(configuration)
|
||||
resp, r, err := apiClient..AuthUsersAPI.PatchAuthUser(context.Background(), id).JsonPatchOperation(jsonPatchOperation).Execute()
|
||||
resp, r, err := apiClient.V2025.AuthUsersAPI.PatchAuthUser(context.Background(), id).JsonPatchOperation(jsonPatchOperation).Execute()
|
||||
if err != nil {
|
||||
fmt.Fprintf(os.Stderr, "Error when calling `AuthUsersAPI.PatchAuthUser``: %v\n", err)
|
||||
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
|
||||
|
||||
@@ -1,12 +1,12 @@
|
||||
---
|
||||
id: branding
|
||||
id: v2025-branding
|
||||
title: Branding
|
||||
pagination_label: Branding
|
||||
sidebar_label: Branding
|
||||
sidebar_class_name: gosdk
|
||||
keywords: ['go', 'Golang', 'sdk', 'Branding', 'Branding']
|
||||
slug: /tools/sdk/go//methods/branding
|
||||
tags: ['SDK', 'Software Development Kit', 'Branding', 'Branding']
|
||||
keywords: ['go', 'Golang', 'sdk', 'Branding', 'V2025Branding']
|
||||
slug: /tools/sdk/go/v2025/methods/branding
|
||||
tags: ['SDK', 'Software Development Kit', 'Branding', 'V2025Branding']
|
||||
---
|
||||
|
||||
# BrandingAPI
|
||||
@@ -31,7 +31,7 @@ Method | HTTP request | Description
|
||||
Create a branding item
|
||||
This API endpoint creates a branding item.
|
||||
|
||||
[API Spec](https://developer.sailpoint.com/docs/api//create-branding-item)
|
||||
[API Spec](https://developer.sailpoint.com/docs/api/v2025/create-branding-item)
|
||||
|
||||
### Path Parameters
|
||||
|
||||
@@ -71,7 +71,7 @@ import (
|
||||
"context"
|
||||
"fmt"
|
||||
"os"
|
||||
""
|
||||
v2025 "github.com/sailpoint-oss/golang-sdk/v2/api_v2025"
|
||||
openapiclient "github.com/sailpoint-oss/golang-sdk/v2"
|
||||
)
|
||||
|
||||
@@ -87,7 +87,7 @@ func main() {
|
||||
|
||||
configuration := NewDefaultConfiguration()
|
||||
apiClient := NewAPIClient(configuration)
|
||||
resp, r, err := apiClient..BrandingAPI.CreateBrandingItem(context.Background()).Name(name).ProductName(productName).ActionButtonColor(actionButtonColor).ActiveLinkColor(activeLinkColor).NavigationColor(navigationColor).EmailFromAddress(emailFromAddress).LoginInformationalMessage(loginInformationalMessage).FileStandard(fileStandard).Execute()
|
||||
resp, r, err := apiClient.V2025.BrandingAPI.CreateBrandingItem(context.Background()).Name(name).ProductName(productName).ActionButtonColor(actionButtonColor).ActiveLinkColor(activeLinkColor).NavigationColor(navigationColor).EmailFromAddress(emailFromAddress).LoginInformationalMessage(loginInformationalMessage).FileStandard(fileStandard).Execute()
|
||||
if err != nil {
|
||||
fmt.Fprintf(os.Stderr, "Error when calling `BrandingAPI.CreateBrandingItem``: %v\n", err)
|
||||
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
|
||||
@@ -103,7 +103,7 @@ func main() {
|
||||
Delete a branding item
|
||||
This API endpoint delete information for an existing branding item by name.
|
||||
|
||||
[API Spec](https://developer.sailpoint.com/docs/api//delete-branding)
|
||||
[API Spec](https://developer.sailpoint.com/docs/api/v2025/delete-branding)
|
||||
|
||||
### Path Parameters
|
||||
|
||||
@@ -140,7 +140,7 @@ import (
|
||||
"context"
|
||||
"fmt"
|
||||
"os"
|
||||
""
|
||||
v2025 "github.com/sailpoint-oss/golang-sdk/v2/api_v2025"
|
||||
openapiclient "github.com/sailpoint-oss/golang-sdk/v2"
|
||||
)
|
||||
|
||||
@@ -149,7 +149,7 @@ func main() {
|
||||
|
||||
configuration := NewDefaultConfiguration()
|
||||
apiClient := NewAPIClient(configuration)
|
||||
r, err := apiClient..BrandingAPI.DeleteBranding(context.Background(), name).Execute()
|
||||
r, err := apiClient.V2025.BrandingAPI.DeleteBranding(context.Background(), name).Execute()
|
||||
if err != nil {
|
||||
fmt.Fprintf(os.Stderr, "Error when calling `BrandingAPI.DeleteBranding``: %v\n", err)
|
||||
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
|
||||
@@ -163,7 +163,7 @@ func main() {
|
||||
Get a branding item
|
||||
This API endpoint retrieves information for an existing branding item by name.
|
||||
|
||||
[API Spec](https://developer.sailpoint.com/docs/api//get-branding)
|
||||
[API Spec](https://developer.sailpoint.com/docs/api/v2025/get-branding)
|
||||
|
||||
### Path Parameters
|
||||
|
||||
@@ -200,7 +200,7 @@ import (
|
||||
"context"
|
||||
"fmt"
|
||||
"os"
|
||||
""
|
||||
v2025 "github.com/sailpoint-oss/golang-sdk/v2/api_v2025"
|
||||
openapiclient "github.com/sailpoint-oss/golang-sdk/v2"
|
||||
)
|
||||
|
||||
@@ -209,7 +209,7 @@ func main() {
|
||||
|
||||
configuration := NewDefaultConfiguration()
|
||||
apiClient := NewAPIClient(configuration)
|
||||
resp, r, err := apiClient..BrandingAPI.GetBranding(context.Background(), name).Execute()
|
||||
resp, r, err := apiClient.V2025.BrandingAPI.GetBranding(context.Background(), name).Execute()
|
||||
if err != nil {
|
||||
fmt.Fprintf(os.Stderr, "Error when calling `BrandingAPI.GetBranding``: %v\n", err)
|
||||
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
|
||||
@@ -225,7 +225,7 @@ func main() {
|
||||
List of branding items
|
||||
This API endpoint returns a list of branding items.
|
||||
|
||||
[API Spec](https://developer.sailpoint.com/docs/api//get-branding-list)
|
||||
[API Spec](https://developer.sailpoint.com/docs/api/v2025/get-branding-list)
|
||||
|
||||
### Path Parameters
|
||||
|
||||
@@ -254,7 +254,7 @@ import (
|
||||
"context"
|
||||
"fmt"
|
||||
"os"
|
||||
""
|
||||
v2025 "github.com/sailpoint-oss/golang-sdk/v2/api_v2025"
|
||||
openapiclient "github.com/sailpoint-oss/golang-sdk/v2"
|
||||
)
|
||||
|
||||
@@ -262,7 +262,7 @@ func main() {
|
||||
|
||||
configuration := NewDefaultConfiguration()
|
||||
apiClient := NewAPIClient(configuration)
|
||||
resp, r, err := apiClient..BrandingAPI.GetBrandingList(context.Background()).Execute()
|
||||
resp, r, err := apiClient.V2025.BrandingAPI.GetBrandingList(context.Background()).Execute()
|
||||
if err != nil {
|
||||
fmt.Fprintf(os.Stderr, "Error when calling `BrandingAPI.GetBrandingList``: %v\n", err)
|
||||
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
|
||||
@@ -278,7 +278,7 @@ func main() {
|
||||
Update a branding item
|
||||
This API endpoint updates information for an existing branding item.
|
||||
|
||||
[API Spec](https://developer.sailpoint.com/docs/api//set-branding-item)
|
||||
[API Spec](https://developer.sailpoint.com/docs/api/v2025/set-branding-item)
|
||||
|
||||
### Path Parameters
|
||||
|
||||
@@ -323,7 +323,7 @@ import (
|
||||
"context"
|
||||
"fmt"
|
||||
"os"
|
||||
""
|
||||
v2025 "github.com/sailpoint-oss/golang-sdk/v2/api_v2025"
|
||||
openapiclient "github.com/sailpoint-oss/golang-sdk/v2"
|
||||
)
|
||||
|
||||
@@ -340,7 +340,7 @@ func main() {
|
||||
|
||||
configuration := NewDefaultConfiguration()
|
||||
apiClient := NewAPIClient(configuration)
|
||||
resp, r, err := apiClient..BrandingAPI.SetBrandingItem(context.Background(), name).Name2(name2).ProductName(productName).ActionButtonColor(actionButtonColor).ActiveLinkColor(activeLinkColor).NavigationColor(navigationColor).EmailFromAddress(emailFromAddress).LoginInformationalMessage(loginInformationalMessage).FileStandard(fileStandard).Execute()
|
||||
resp, r, err := apiClient.V2025.BrandingAPI.SetBrandingItem(context.Background(), name).Name2(name2).ProductName(productName).ActionButtonColor(actionButtonColor).ActiveLinkColor(activeLinkColor).NavigationColor(navigationColor).EmailFromAddress(emailFromAddress).LoginInformationalMessage(loginInformationalMessage).FileStandard(fileStandard).Execute()
|
||||
if err != nil {
|
||||
fmt.Fprintf(os.Stderr, "Error when calling `BrandingAPI.SetBrandingItem``: %v\n", err)
|
||||
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
|
||||
|
||||
@@ -1,12 +1,12 @@
|
||||
---
|
||||
id: certification-campaign-filters
|
||||
id: v2025-certification-campaign-filters
|
||||
title: CertificationCampaignFilters
|
||||
pagination_label: CertificationCampaignFilters
|
||||
sidebar_label: CertificationCampaignFilters
|
||||
sidebar_class_name: gosdk
|
||||
keywords: ['go', 'Golang', 'sdk', 'CertificationCampaignFilters', 'CertificationCampaignFilters']
|
||||
slug: /tools/sdk/go//methods/certification-campaign-filters
|
||||
tags: ['SDK', 'Software Development Kit', 'CertificationCampaignFilters', 'CertificationCampaignFilters']
|
||||
keywords: ['go', 'Golang', 'sdk', 'CertificationCampaignFilters', 'V2025CertificationCampaignFilters']
|
||||
slug: /tools/sdk/go/v2025/methods/certification-campaign-filters
|
||||
tags: ['SDK', 'Software Development Kit', 'CertificationCampaignFilters', 'V2025CertificationCampaignFilters']
|
||||
---
|
||||
|
||||
# CertificationCampaignFiltersAPI
|
||||
@@ -53,7 +53,7 @@ Method | HTTP request | Description
|
||||
Create Campaign Filter
|
||||
Use this API to create a campaign filter based on filter details and criteria.
|
||||
|
||||
[API Spec](https://developer.sailpoint.com/docs/api//create-campaign-filter)
|
||||
[API Spec](https://developer.sailpoint.com/docs/api/v2025/create-campaign-filter)
|
||||
|
||||
### Path Parameters
|
||||
|
||||
@@ -86,7 +86,7 @@ import (
|
||||
"context"
|
||||
"fmt"
|
||||
"os"
|
||||
""
|
||||
v2025 "github.com/sailpoint-oss/golang-sdk/v2/api_v2025"
|
||||
openapiclient "github.com/sailpoint-oss/golang-sdk/v2"
|
||||
)
|
||||
|
||||
@@ -112,7 +112,7 @@ func main() {
|
||||
|
||||
configuration := NewDefaultConfiguration()
|
||||
apiClient := NewAPIClient(configuration)
|
||||
resp, r, err := apiClient..CertificationCampaignFiltersAPI.CreateCampaignFilter(context.Background()).CampaignFilterDetails(campaignFilterDetails).Execute()
|
||||
resp, r, err := apiClient.V2025.CertificationCampaignFiltersAPI.CreateCampaignFilter(context.Background()).CampaignFilterDetails(campaignFilterDetails).Execute()
|
||||
if err != nil {
|
||||
fmt.Fprintf(os.Stderr, "Error when calling `CertificationCampaignFiltersAPI.CreateCampaignFilter``: %v\n", err)
|
||||
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
|
||||
@@ -128,7 +128,7 @@ func main() {
|
||||
Deletes Campaign Filters
|
||||
Deletes campaign filters whose Ids are specified in the provided list of campaign filter Ids. Authorized callers must be an ORG_ADMIN or a CERT_ADMIN.
|
||||
|
||||
[API Spec](https://developer.sailpoint.com/docs/api//delete-campaign-filters)
|
||||
[API Spec](https://developer.sailpoint.com/docs/api/v2025/delete-campaign-filters)
|
||||
|
||||
### Path Parameters
|
||||
|
||||
@@ -161,7 +161,7 @@ import (
|
||||
"context"
|
||||
"fmt"
|
||||
"os"
|
||||
""
|
||||
v2025 "github.com/sailpoint-oss/golang-sdk/v2/api_v2025"
|
||||
openapiclient "github.com/sailpoint-oss/golang-sdk/v2"
|
||||
)
|
||||
|
||||
@@ -170,7 +170,7 @@ func main() {
|
||||
|
||||
configuration := NewDefaultConfiguration()
|
||||
apiClient := NewAPIClient(configuration)
|
||||
r, err := apiClient..CertificationCampaignFiltersAPI.DeleteCampaignFilters(context.Background()).RequestBody(requestBody).Execute()
|
||||
r, err := apiClient.V2025.CertificationCampaignFiltersAPI.DeleteCampaignFilters(context.Background()).RequestBody(requestBody).Execute()
|
||||
if err != nil {
|
||||
fmt.Fprintf(os.Stderr, "Error when calling `CertificationCampaignFiltersAPI.DeleteCampaignFilters``: %v\n", err)
|
||||
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
|
||||
@@ -184,7 +184,7 @@ func main() {
|
||||
Get Campaign Filter by ID
|
||||
Retrieves information for an existing campaign filter using the filter's ID.
|
||||
|
||||
[API Spec](https://developer.sailpoint.com/docs/api//get-campaign-filter-by-id)
|
||||
[API Spec](https://developer.sailpoint.com/docs/api/v2025/get-campaign-filter-by-id)
|
||||
|
||||
### Path Parameters
|
||||
|
||||
@@ -221,7 +221,7 @@ import (
|
||||
"context"
|
||||
"fmt"
|
||||
"os"
|
||||
""
|
||||
v2025 "github.com/sailpoint-oss/golang-sdk/v2/api_v2025"
|
||||
openapiclient "github.com/sailpoint-oss/golang-sdk/v2"
|
||||
)
|
||||
|
||||
@@ -230,7 +230,7 @@ func main() {
|
||||
|
||||
configuration := NewDefaultConfiguration()
|
||||
apiClient := NewAPIClient(configuration)
|
||||
resp, r, err := apiClient..CertificationCampaignFiltersAPI.GetCampaignFilterById(context.Background(), id).Execute()
|
||||
resp, r, err := apiClient.V2025.CertificationCampaignFiltersAPI.GetCampaignFilterById(context.Background(), id).Execute()
|
||||
if err != nil {
|
||||
fmt.Fprintf(os.Stderr, "Error when calling `CertificationCampaignFiltersAPI.GetCampaignFilterById``: %v\n", err)
|
||||
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
|
||||
@@ -246,7 +246,7 @@ func main() {
|
||||
List Campaign Filters
|
||||
Use this API to list all campaign filters. You can reduce scope with standard V3 query parameters.
|
||||
|
||||
[API Spec](https://developer.sailpoint.com/docs/api//list-campaign-filters)
|
||||
[API Spec](https://developer.sailpoint.com/docs/api/v2025/list-campaign-filters)
|
||||
|
||||
### Path Parameters
|
||||
|
||||
@@ -281,7 +281,7 @@ import (
|
||||
"context"
|
||||
"fmt"
|
||||
"os"
|
||||
""
|
||||
v2025 "github.com/sailpoint-oss/golang-sdk/v2/api_v2025"
|
||||
openapiclient "github.com/sailpoint-oss/golang-sdk/v2"
|
||||
)
|
||||
|
||||
@@ -292,7 +292,7 @@ func main() {
|
||||
|
||||
configuration := NewDefaultConfiguration()
|
||||
apiClient := NewAPIClient(configuration)
|
||||
resp, r, err := apiClient..CertificationCampaignFiltersAPI.ListCampaignFilters(context.Background()).Limit(limit).Start(start).IncludeSystemFilters(includeSystemFilters).Execute()
|
||||
resp, r, err := apiClient.V2025.CertificationCampaignFiltersAPI.ListCampaignFilters(context.Background()).Limit(limit).Start(start).IncludeSystemFilters(includeSystemFilters).Execute()
|
||||
if err != nil {
|
||||
fmt.Fprintf(os.Stderr, "Error when calling `CertificationCampaignFiltersAPI.ListCampaignFilters``: %v\n", err)
|
||||
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
|
||||
@@ -308,7 +308,7 @@ func main() {
|
||||
Updates a Campaign Filter
|
||||
Updates an existing campaign filter using the filter's ID.
|
||||
|
||||
[API Spec](https://developer.sailpoint.com/docs/api//update-campaign-filter)
|
||||
[API Spec](https://developer.sailpoint.com/docs/api/v2025/update-campaign-filter)
|
||||
|
||||
### Path Parameters
|
||||
|
||||
@@ -346,7 +346,7 @@ import (
|
||||
"context"
|
||||
"fmt"
|
||||
"os"
|
||||
""
|
||||
v2025 "github.com/sailpoint-oss/golang-sdk/v2/api_v2025"
|
||||
openapiclient "github.com/sailpoint-oss/golang-sdk/v2"
|
||||
)
|
||||
|
||||
@@ -373,7 +373,7 @@ func main() {
|
||||
|
||||
configuration := NewDefaultConfiguration()
|
||||
apiClient := NewAPIClient(configuration)
|
||||
resp, r, err := apiClient..CertificationCampaignFiltersAPI.UpdateCampaignFilter(context.Background(), filterId).CampaignFilterDetails(campaignFilterDetails).Execute()
|
||||
resp, r, err := apiClient.V2025.CertificationCampaignFiltersAPI.UpdateCampaignFilter(context.Background(), filterId).CampaignFilterDetails(campaignFilterDetails).Execute()
|
||||
if err != nil {
|
||||
fmt.Fprintf(os.Stderr, "Error when calling `CertificationCampaignFiltersAPI.UpdateCampaignFilter``: %v\n", err)
|
||||
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
|
||||
|
||||
@@ -1,12 +1,12 @@
|
||||
---
|
||||
id: certification-campaigns
|
||||
id: v2025-certification-campaigns
|
||||
title: CertificationCampaigns
|
||||
pagination_label: CertificationCampaigns
|
||||
sidebar_label: CertificationCampaigns
|
||||
sidebar_class_name: gosdk
|
||||
keywords: ['go', 'Golang', 'sdk', 'CertificationCampaigns', 'CertificationCampaigns']
|
||||
slug: /tools/sdk/go//methods/certification-campaigns
|
||||
tags: ['SDK', 'Software Development Kit', 'CertificationCampaigns', 'CertificationCampaigns']
|
||||
keywords: ['go', 'Golang', 'sdk', 'CertificationCampaigns', 'V2025CertificationCampaigns']
|
||||
slug: /tools/sdk/go/v2025/methods/certification-campaigns
|
||||
tags: ['SDK', 'Software Development Kit', 'CertificationCampaigns', 'V2025CertificationCampaigns']
|
||||
---
|
||||
|
||||
# CertificationCampaignsAPI
|
||||
@@ -118,7 +118,7 @@ Use this API to complete a certification campaign. This functionality is provide
|
||||
can complete a certification even if all items have not been completed.
|
||||
|
||||
|
||||
[API Spec](https://developer.sailpoint.com/docs/api//complete-campaign)
|
||||
[API Spec](https://developer.sailpoint.com/docs/api/v2025/complete-campaign)
|
||||
|
||||
### Path Parameters
|
||||
|
||||
@@ -156,7 +156,7 @@ import (
|
||||
"context"
|
||||
"fmt"
|
||||
"os"
|
||||
""
|
||||
v2025 "github.com/sailpoint-oss/golang-sdk/v2/api_v2025"
|
||||
openapiclient "github.com/sailpoint-oss/golang-sdk/v2"
|
||||
)
|
||||
|
||||
@@ -168,7 +168,7 @@ func main() {
|
||||
|
||||
configuration := NewDefaultConfiguration()
|
||||
apiClient := NewAPIClient(configuration)
|
||||
resp, r, err := apiClient..CertificationCampaignsAPI.CompleteCampaign(context.Background(), id).CampaignCompleteOptions(campaignCompleteOptions).Execute()
|
||||
resp, r, err := apiClient.V2025.CertificationCampaignsAPI.CompleteCampaign(context.Background(), id).CampaignCompleteOptions(campaignCompleteOptions).Execute()
|
||||
if err != nil {
|
||||
fmt.Fprintf(os.Stderr, "Error when calling `CertificationCampaignsAPI.CompleteCampaign``: %v\n", err)
|
||||
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
|
||||
@@ -185,7 +185,7 @@ Create a campaign
|
||||
Use this API to create a certification campaign with the information provided in the request body.
|
||||
|
||||
|
||||
[API Spec](https://developer.sailpoint.com/docs/api//create-campaign)
|
||||
[API Spec](https://developer.sailpoint.com/docs/api/v2025/create-campaign)
|
||||
|
||||
### Path Parameters
|
||||
|
||||
@@ -218,7 +218,7 @@ import (
|
||||
"context"
|
||||
"fmt"
|
||||
"os"
|
||||
""
|
||||
v2025 "github.com/sailpoint-oss/golang-sdk/v2/api_v2025"
|
||||
openapiclient "github.com/sailpoint-oss/golang-sdk/v2"
|
||||
)
|
||||
|
||||
@@ -336,7 +336,7 @@ func main() {
|
||||
|
||||
configuration := NewDefaultConfiguration()
|
||||
apiClient := NewAPIClient(configuration)
|
||||
resp, r, err := apiClient..CertificationCampaignsAPI.CreateCampaign(context.Background()).Campaign(campaign).Execute()
|
||||
resp, r, err := apiClient.V2025.CertificationCampaignsAPI.CreateCampaign(context.Background()).Campaign(campaign).Execute()
|
||||
if err != nil {
|
||||
fmt.Fprintf(os.Stderr, "Error when calling `CertificationCampaignsAPI.CreateCampaign``: %v\n", err)
|
||||
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
|
||||
@@ -353,7 +353,7 @@ Create a Campaign Template
|
||||
Use this API to create a certification campaign template based on campaign.
|
||||
|
||||
|
||||
[API Spec](https://developer.sailpoint.com/docs/api//create-campaign-template)
|
||||
[API Spec](https://developer.sailpoint.com/docs/api/v2025/create-campaign-template)
|
||||
|
||||
### Path Parameters
|
||||
|
||||
@@ -387,7 +387,7 @@ import (
|
||||
"fmt"
|
||||
"os"
|
||||
|
||||
""
|
||||
v2025 "github.com/sailpoint-oss/golang-sdk/v2/api_v2025"
|
||||
openapiclient "github.com/sailpoint-oss/golang-sdk/v2"
|
||||
)
|
||||
|
||||
@@ -520,7 +520,7 @@ func main() {
|
||||
|
||||
configuration := NewDefaultConfiguration()
|
||||
apiClient := NewAPIClient(configuration)
|
||||
resp, r, err := apiClient..CertificationCampaignsAPI.CreateCampaignTemplate(context.Background()).CampaignTemplate(campaignTemplate).Execute()
|
||||
resp, r, err := apiClient.V2025.CertificationCampaignsAPI.CreateCampaignTemplate(context.Background()).CampaignTemplate(campaignTemplate).Execute()
|
||||
if err != nil {
|
||||
fmt.Fprintf(os.Stderr, "Error when calling `CertificationCampaignsAPI.CreateCampaignTemplate``: %v\n", err)
|
||||
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
|
||||
@@ -537,7 +537,7 @@ Delete a Campaign Template
|
||||
Use this API to delete a certification campaign template by ID.
|
||||
|
||||
|
||||
[API Spec](https://developer.sailpoint.com/docs/api//delete-campaign-template)
|
||||
[API Spec](https://developer.sailpoint.com/docs/api/v2025/delete-campaign-template)
|
||||
|
||||
### Path Parameters
|
||||
|
||||
@@ -574,7 +574,7 @@ import (
|
||||
"context"
|
||||
"fmt"
|
||||
"os"
|
||||
""
|
||||
v2025 "github.com/sailpoint-oss/golang-sdk/v2/api_v2025"
|
||||
openapiclient "github.com/sailpoint-oss/golang-sdk/v2"
|
||||
)
|
||||
|
||||
@@ -583,7 +583,7 @@ func main() {
|
||||
|
||||
configuration := NewDefaultConfiguration()
|
||||
apiClient := NewAPIClient(configuration)
|
||||
r, err := apiClient..CertificationCampaignsAPI.DeleteCampaignTemplate(context.Background(), id).Execute()
|
||||
r, err := apiClient.V2025.CertificationCampaignsAPI.DeleteCampaignTemplate(context.Background(), id).Execute()
|
||||
if err != nil {
|
||||
fmt.Fprintf(os.Stderr, "Error when calling `CertificationCampaignsAPI.DeleteCampaignTemplate``: %v\n", err)
|
||||
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
|
||||
@@ -598,7 +598,7 @@ Delete Campaign Template Schedule
|
||||
Use this API to delete the schedule for a certification campaign template. The API returns a 404 if there is no schedule set.
|
||||
|
||||
|
||||
[API Spec](https://developer.sailpoint.com/docs/api//delete-campaign-template-schedule)
|
||||
[API Spec](https://developer.sailpoint.com/docs/api/v2025/delete-campaign-template-schedule)
|
||||
|
||||
### Path Parameters
|
||||
|
||||
@@ -635,7 +635,7 @@ import (
|
||||
"context"
|
||||
"fmt"
|
||||
"os"
|
||||
""
|
||||
v2025 "github.com/sailpoint-oss/golang-sdk/v2/api_v2025"
|
||||
openapiclient "github.com/sailpoint-oss/golang-sdk/v2"
|
||||
)
|
||||
|
||||
@@ -644,7 +644,7 @@ func main() {
|
||||
|
||||
configuration := NewDefaultConfiguration()
|
||||
apiClient := NewAPIClient(configuration)
|
||||
r, err := apiClient..CertificationCampaignsAPI.DeleteCampaignTemplateSchedule(context.Background(), id).Execute()
|
||||
r, err := apiClient.V2025.CertificationCampaignsAPI.DeleteCampaignTemplateSchedule(context.Background(), id).Execute()
|
||||
if err != nil {
|
||||
fmt.Fprintf(os.Stderr, "Error when calling `CertificationCampaignsAPI.DeleteCampaignTemplateSchedule``: %v\n", err)
|
||||
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
|
||||
@@ -659,7 +659,7 @@ Delete Campaigns
|
||||
Use this API to delete certification campaigns whose IDs are specified in the provided list of campaign IDs.
|
||||
|
||||
|
||||
[API Spec](https://developer.sailpoint.com/docs/api//delete-campaigns)
|
||||
[API Spec](https://developer.sailpoint.com/docs/api/v2025/delete-campaigns)
|
||||
|
||||
### Path Parameters
|
||||
|
||||
@@ -692,7 +692,7 @@ import (
|
||||
"context"
|
||||
"fmt"
|
||||
"os"
|
||||
""
|
||||
v2025 "github.com/sailpoint-oss/golang-sdk/v2/api_v2025"
|
||||
openapiclient "github.com/sailpoint-oss/golang-sdk/v2"
|
||||
)
|
||||
|
||||
@@ -703,7 +703,7 @@ func main() {
|
||||
|
||||
configuration := NewDefaultConfiguration()
|
||||
apiClient := NewAPIClient(configuration)
|
||||
resp, r, err := apiClient..CertificationCampaignsAPI.DeleteCampaigns(context.Background()).CampaignsDeleteRequest(campaignsDeleteRequest).Execute()
|
||||
resp, r, err := apiClient.V2025.CertificationCampaignsAPI.DeleteCampaigns(context.Background()).CampaignsDeleteRequest(campaignsDeleteRequest).Execute()
|
||||
if err != nil {
|
||||
fmt.Fprintf(os.Stderr, "Error when calling `CertificationCampaignsAPI.DeleteCampaigns``: %v\n", err)
|
||||
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
|
||||
@@ -720,7 +720,7 @@ List Campaigns
|
||||
Use this API to get a list of campaigns. This API can provide increased level of detail for each campaign for the correct provided query.
|
||||
|
||||
|
||||
[API Spec](https://developer.sailpoint.com/docs/api//get-active-campaigns)
|
||||
[API Spec](https://developer.sailpoint.com/docs/api/v2025/get-active-campaigns)
|
||||
|
||||
### Path Parameters
|
||||
|
||||
@@ -758,7 +758,7 @@ import (
|
||||
"context"
|
||||
"fmt"
|
||||
"os"
|
||||
""
|
||||
v2025 "github.com/sailpoint-oss/golang-sdk/v2/api_v2025"
|
||||
openapiclient "github.com/sailpoint-oss/golang-sdk/v2"
|
||||
)
|
||||
|
||||
@@ -772,7 +772,7 @@ func main() {
|
||||
|
||||
configuration := NewDefaultConfiguration()
|
||||
apiClient := NewAPIClient(configuration)
|
||||
resp, r, err := apiClient..CertificationCampaignsAPI.GetActiveCampaigns(context.Background()).Detail(detail).Limit(limit).Offset(offset).Count(count).Filters(filters).Sorters(sorters).Execute()
|
||||
resp, r, err := apiClient.V2025.CertificationCampaignsAPI.GetActiveCampaigns(context.Background()).Detail(detail).Limit(limit).Offset(offset).Count(count).Filters(filters).Sorters(sorters).Execute()
|
||||
if err != nil {
|
||||
fmt.Fprintf(os.Stderr, "Error when calling `CertificationCampaignsAPI.GetActiveCampaigns``: %v\n", err)
|
||||
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
|
||||
@@ -789,7 +789,7 @@ Get Campaign
|
||||
Use this API to get information for an existing certification campaign by the campaign's ID.
|
||||
|
||||
|
||||
[API Spec](https://developer.sailpoint.com/docs/api//get-campaign)
|
||||
[API Spec](https://developer.sailpoint.com/docs/api/v2025/get-campaign)
|
||||
|
||||
### Path Parameters
|
||||
|
||||
@@ -827,7 +827,7 @@ import (
|
||||
"context"
|
||||
"fmt"
|
||||
"os"
|
||||
""
|
||||
v2025 "github.com/sailpoint-oss/golang-sdk/v2/api_v2025"
|
||||
openapiclient "github.com/sailpoint-oss/golang-sdk/v2"
|
||||
)
|
||||
|
||||
@@ -837,7 +837,7 @@ func main() {
|
||||
|
||||
configuration := NewDefaultConfiguration()
|
||||
apiClient := NewAPIClient(configuration)
|
||||
resp, r, err := apiClient..CertificationCampaignsAPI.GetCampaign(context.Background(), id).Detail(detail).Execute()
|
||||
resp, r, err := apiClient.V2025.CertificationCampaignsAPI.GetCampaign(context.Background(), id).Detail(detail).Execute()
|
||||
if err != nil {
|
||||
fmt.Fprintf(os.Stderr, "Error when calling `CertificationCampaignsAPI.GetCampaign``: %v\n", err)
|
||||
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
|
||||
@@ -854,7 +854,7 @@ Get Campaign Reports
|
||||
Use this API to fetch all reports for a certification campaign by campaign ID.
|
||||
|
||||
|
||||
[API Spec](https://developer.sailpoint.com/docs/api//get-campaign-reports)
|
||||
[API Spec](https://developer.sailpoint.com/docs/api/v2025/get-campaign-reports)
|
||||
|
||||
### Path Parameters
|
||||
|
||||
@@ -891,7 +891,7 @@ import (
|
||||
"context"
|
||||
"fmt"
|
||||
"os"
|
||||
""
|
||||
v2025 "github.com/sailpoint-oss/golang-sdk/v2/api_v2025"
|
||||
openapiclient "github.com/sailpoint-oss/golang-sdk/v2"
|
||||
)
|
||||
|
||||
@@ -900,7 +900,7 @@ func main() {
|
||||
|
||||
configuration := NewDefaultConfiguration()
|
||||
apiClient := NewAPIClient(configuration)
|
||||
resp, r, err := apiClient..CertificationCampaignsAPI.GetCampaignReports(context.Background(), id).Execute()
|
||||
resp, r, err := apiClient.V2025.CertificationCampaignsAPI.GetCampaignReports(context.Background(), id).Execute()
|
||||
if err != nil {
|
||||
fmt.Fprintf(os.Stderr, "Error when calling `CertificationCampaignsAPI.GetCampaignReports``: %v\n", err)
|
||||
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
|
||||
@@ -917,7 +917,7 @@ Get Campaign Reports Configuration
|
||||
Use this API to fetch the configuration for certification campaign reports. The configuration includes only one element - identity attributes defined as custom report columns.
|
||||
|
||||
|
||||
[API Spec](https://developer.sailpoint.com/docs/api//get-campaign-reports-config)
|
||||
[API Spec](https://developer.sailpoint.com/docs/api/v2025/get-campaign-reports-config)
|
||||
|
||||
### Path Parameters
|
||||
|
||||
@@ -946,7 +946,7 @@ import (
|
||||
"context"
|
||||
"fmt"
|
||||
"os"
|
||||
""
|
||||
v2025 "github.com/sailpoint-oss/golang-sdk/v2/api_v2025"
|
||||
openapiclient "github.com/sailpoint-oss/golang-sdk/v2"
|
||||
)
|
||||
|
||||
@@ -954,7 +954,7 @@ func main() {
|
||||
|
||||
configuration := NewDefaultConfiguration()
|
||||
apiClient := NewAPIClient(configuration)
|
||||
resp, r, err := apiClient..CertificationCampaignsAPI.GetCampaignReportsConfig(context.Background()).Execute()
|
||||
resp, r, err := apiClient.V2025.CertificationCampaignsAPI.GetCampaignReportsConfig(context.Background()).Execute()
|
||||
if err != nil {
|
||||
fmt.Fprintf(os.Stderr, "Error when calling `CertificationCampaignsAPI.GetCampaignReportsConfig``: %v\n", err)
|
||||
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
|
||||
@@ -971,7 +971,7 @@ Get a Campaign Template
|
||||
Use this API to fetch a certification campaign template by ID.
|
||||
|
||||
|
||||
[API Spec](https://developer.sailpoint.com/docs/api//get-campaign-template)
|
||||
[API Spec](https://developer.sailpoint.com/docs/api/v2025/get-campaign-template)
|
||||
|
||||
### Path Parameters
|
||||
|
||||
@@ -1008,7 +1008,7 @@ import (
|
||||
"context"
|
||||
"fmt"
|
||||
"os"
|
||||
""
|
||||
v2025 "github.com/sailpoint-oss/golang-sdk/v2/api_v2025"
|
||||
openapiclient "github.com/sailpoint-oss/golang-sdk/v2"
|
||||
)
|
||||
|
||||
@@ -1017,7 +1017,7 @@ func main() {
|
||||
|
||||
configuration := NewDefaultConfiguration()
|
||||
apiClient := NewAPIClient(configuration)
|
||||
resp, r, err := apiClient..CertificationCampaignsAPI.GetCampaignTemplate(context.Background(), id).Execute()
|
||||
resp, r, err := apiClient.V2025.CertificationCampaignsAPI.GetCampaignTemplate(context.Background(), id).Execute()
|
||||
if err != nil {
|
||||
fmt.Fprintf(os.Stderr, "Error when calling `CertificationCampaignsAPI.GetCampaignTemplate``: %v\n", err)
|
||||
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
|
||||
@@ -1034,7 +1034,7 @@ Get Campaign Template Schedule
|
||||
Use this API to get the schedule for a certification campaign template. The API returns a 404 if there is no schedule set.
|
||||
|
||||
|
||||
[API Spec](https://developer.sailpoint.com/docs/api//get-campaign-template-schedule)
|
||||
[API Spec](https://developer.sailpoint.com/docs/api/v2025/get-campaign-template-schedule)
|
||||
|
||||
### Path Parameters
|
||||
|
||||
@@ -1071,7 +1071,7 @@ import (
|
||||
"context"
|
||||
"fmt"
|
||||
"os"
|
||||
""
|
||||
v2025 "github.com/sailpoint-oss/golang-sdk/v2/api_v2025"
|
||||
openapiclient "github.com/sailpoint-oss/golang-sdk/v2"
|
||||
)
|
||||
|
||||
@@ -1080,7 +1080,7 @@ func main() {
|
||||
|
||||
configuration := NewDefaultConfiguration()
|
||||
apiClient := NewAPIClient(configuration)
|
||||
resp, r, err := apiClient..CertificationCampaignsAPI.GetCampaignTemplateSchedule(context.Background(), id).Execute()
|
||||
resp, r, err := apiClient.V2025.CertificationCampaignsAPI.GetCampaignTemplateSchedule(context.Background(), id).Execute()
|
||||
if err != nil {
|
||||
fmt.Fprintf(os.Stderr, "Error when calling `CertificationCampaignsAPI.GetCampaignTemplateSchedule``: %v\n", err)
|
||||
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
|
||||
@@ -1099,7 +1099,7 @@ Use this API to get a list of all campaign templates. Scope can be reduced throu
|
||||
The API returns all campaign templates matching the query parameters.
|
||||
|
||||
|
||||
[API Spec](https://developer.sailpoint.com/docs/api//get-campaign-templates)
|
||||
[API Spec](https://developer.sailpoint.com/docs/api/v2025/get-campaign-templates)
|
||||
|
||||
### Path Parameters
|
||||
|
||||
@@ -1136,7 +1136,7 @@ import (
|
||||
"context"
|
||||
"fmt"
|
||||
"os"
|
||||
""
|
||||
v2025 "github.com/sailpoint-oss/golang-sdk/v2/api_v2025"
|
||||
openapiclient "github.com/sailpoint-oss/golang-sdk/v2"
|
||||
)
|
||||
|
||||
@@ -1149,7 +1149,7 @@ func main() {
|
||||
|
||||
configuration := NewDefaultConfiguration()
|
||||
apiClient := NewAPIClient(configuration)
|
||||
resp, r, err := apiClient..CertificationCampaignsAPI.GetCampaignTemplates(context.Background()).Limit(limit).Offset(offset).Count(count).Sorters(sorters).Filters(filters).Execute()
|
||||
resp, r, err := apiClient.V2025.CertificationCampaignsAPI.GetCampaignTemplates(context.Background()).Limit(limit).Offset(offset).Count(count).Sorters(sorters).Filters(filters).Execute()
|
||||
if err != nil {
|
||||
fmt.Fprintf(os.Stderr, "Error when calling `CertificationCampaignsAPI.GetCampaignTemplates``: %v\n", err)
|
||||
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
|
||||
@@ -1166,7 +1166,7 @@ Reassign Certifications
|
||||
This API reassigns the specified certifications from one identity to another.
|
||||
|
||||
|
||||
[API Spec](https://developer.sailpoint.com/docs/api//move)
|
||||
[API Spec](https://developer.sailpoint.com/docs/api/v2025/move)
|
||||
|
||||
### Path Parameters
|
||||
|
||||
@@ -1204,7 +1204,7 @@ import (
|
||||
"context"
|
||||
"fmt"
|
||||
"os"
|
||||
""
|
||||
v2025 "github.com/sailpoint-oss/golang-sdk/v2/api_v2025"
|
||||
openapiclient "github.com/sailpoint-oss/golang-sdk/v2"
|
||||
)
|
||||
|
||||
@@ -1221,7 +1221,7 @@ func main() {
|
||||
|
||||
configuration := NewDefaultConfiguration()
|
||||
apiClient := NewAPIClient(configuration)
|
||||
resp, r, err := apiClient..CertificationCampaignsAPI.Move(context.Background(), id).AdminReviewReassign(adminReviewReassign).Execute()
|
||||
resp, r, err := apiClient.V2025.CertificationCampaignsAPI.Move(context.Background(), id).AdminReviewReassign(adminReviewReassign).Execute()
|
||||
if err != nil {
|
||||
fmt.Fprintf(os.Stderr, "Error when calling `CertificationCampaignsAPI.Move``: %v\n", err)
|
||||
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
|
||||
@@ -1238,7 +1238,7 @@ Update a Campaign Template
|
||||
Use this API to update individual fields on a certification campaign template, using the [JSON Patch](https://tools.ietf.org/html/rfc6902) standard.
|
||||
|
||||
|
||||
[API Spec](https://developer.sailpoint.com/docs/api//patch-campaign-template)
|
||||
[API Spec](https://developer.sailpoint.com/docs/api/v2025/patch-campaign-template)
|
||||
|
||||
### Path Parameters
|
||||
|
||||
@@ -1276,7 +1276,7 @@ import (
|
||||
"context"
|
||||
"fmt"
|
||||
"os"
|
||||
""
|
||||
v2025 "github.com/sailpoint-oss/golang-sdk/v2/api_v2025"
|
||||
openapiclient "github.com/sailpoint-oss/golang-sdk/v2"
|
||||
)
|
||||
|
||||
@@ -1286,7 +1286,7 @@ func main() {
|
||||
|
||||
configuration := NewDefaultConfiguration()
|
||||
apiClient := NewAPIClient(configuration)
|
||||
resp, r, err := apiClient..CertificationCampaignsAPI.PatchCampaignTemplate(context.Background(), id).JsonPatchOperation(jsonPatchOperation).Execute()
|
||||
resp, r, err := apiClient.V2025.CertificationCampaignsAPI.PatchCampaignTemplate(context.Background(), id).JsonPatchOperation(jsonPatchOperation).Execute()
|
||||
if err != nil {
|
||||
fmt.Fprintf(os.Stderr, "Error when calling `CertificationCampaignsAPI.PatchCampaignTemplate``: %v\n", err)
|
||||
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
|
||||
@@ -1303,7 +1303,7 @@ Set Campaign Reports Configuration
|
||||
Use this API to overwrite the configuration for campaign reports.
|
||||
|
||||
|
||||
[API Spec](https://developer.sailpoint.com/docs/api//set-campaign-reports-config)
|
||||
[API Spec](https://developer.sailpoint.com/docs/api/v2025/set-campaign-reports-config)
|
||||
|
||||
### Path Parameters
|
||||
|
||||
@@ -1336,7 +1336,7 @@ import (
|
||||
"context"
|
||||
"fmt"
|
||||
"os"
|
||||
""
|
||||
v2025 "github.com/sailpoint-oss/golang-sdk/v2/api_v2025"
|
||||
openapiclient "github.com/sailpoint-oss/golang-sdk/v2"
|
||||
)
|
||||
|
||||
@@ -1347,7 +1347,7 @@ func main() {
|
||||
|
||||
configuration := NewDefaultConfiguration()
|
||||
apiClient := NewAPIClient(configuration)
|
||||
resp, r, err := apiClient..CertificationCampaignsAPI.SetCampaignReportsConfig(context.Background()).CampaignReportsConfig(campaignReportsConfig).Execute()
|
||||
resp, r, err := apiClient.V2025.CertificationCampaignsAPI.SetCampaignReportsConfig(context.Background()).CampaignReportsConfig(campaignReportsConfig).Execute()
|
||||
if err != nil {
|
||||
fmt.Fprintf(os.Stderr, "Error when calling `CertificationCampaignsAPI.SetCampaignReportsConfig``: %v\n", err)
|
||||
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
|
||||
@@ -1364,7 +1364,7 @@ Set Campaign Template Schedule
|
||||
Use this API to set the schedule for a certification campaign template. If a schedule already exists, the API overwrites it with the new one.
|
||||
|
||||
|
||||
[API Spec](https://developer.sailpoint.com/docs/api//set-campaign-template-schedule)
|
||||
[API Spec](https://developer.sailpoint.com/docs/api/v2025/set-campaign-template-schedule)
|
||||
|
||||
### Path Parameters
|
||||
|
||||
@@ -1402,7 +1402,7 @@ import (
|
||||
"context"
|
||||
"fmt"
|
||||
"os"
|
||||
""
|
||||
v2025 "github.com/sailpoint-oss/golang-sdk/v2/api_v2025"
|
||||
openapiclient "github.com/sailpoint-oss/golang-sdk/v2"
|
||||
)
|
||||
|
||||
@@ -1431,7 +1431,7 @@ func main() {
|
||||
|
||||
configuration := NewDefaultConfiguration()
|
||||
apiClient := NewAPIClient(configuration)
|
||||
r, err := apiClient..CertificationCampaignsAPI.SetCampaignTemplateSchedule(context.Background(), id).Schedule(schedule).Execute()
|
||||
r, err := apiClient.V2025.CertificationCampaignsAPI.SetCampaignTemplateSchedule(context.Background(), id).Schedule(schedule).Execute()
|
||||
if err != nil {
|
||||
fmt.Fprintf(os.Stderr, "Error when calling `CertificationCampaignsAPI.SetCampaignTemplateSchedule``: %v\n", err)
|
||||
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
|
||||
@@ -1446,7 +1446,7 @@ Activate a Campaign
|
||||
Use this API to submit a job to activate the certified campaign with the specified ID. The campaign must be staged.
|
||||
|
||||
|
||||
[API Spec](https://developer.sailpoint.com/docs/api//start-campaign)
|
||||
[API Spec](https://developer.sailpoint.com/docs/api/v2025/start-campaign)
|
||||
|
||||
### Path Parameters
|
||||
|
||||
@@ -1484,7 +1484,7 @@ import (
|
||||
"context"
|
||||
"fmt"
|
||||
"os"
|
||||
""
|
||||
v2025 "github.com/sailpoint-oss/golang-sdk/v2/api_v2025"
|
||||
openapiclient "github.com/sailpoint-oss/golang-sdk/v2"
|
||||
)
|
||||
|
||||
@@ -1496,7 +1496,7 @@ func main() {
|
||||
|
||||
configuration := NewDefaultConfiguration()
|
||||
apiClient := NewAPIClient(configuration)
|
||||
resp, r, err := apiClient..CertificationCampaignsAPI.StartCampaign(context.Background(), id).ActivateCampaignOptions(activateCampaignOptions).Execute()
|
||||
resp, r, err := apiClient.V2025.CertificationCampaignsAPI.StartCampaign(context.Background(), id).ActivateCampaignOptions(activateCampaignOptions).Execute()
|
||||
if err != nil {
|
||||
fmt.Fprintf(os.Stderr, "Error when calling `CertificationCampaignsAPI.StartCampaign``: %v\n", err)
|
||||
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
|
||||
@@ -1513,7 +1513,7 @@ Run Campaign Remediation Scan
|
||||
Use this API to run a remediation scan task for a certification campaign.
|
||||
|
||||
|
||||
[API Spec](https://developer.sailpoint.com/docs/api//start-campaign-remediation-scan)
|
||||
[API Spec](https://developer.sailpoint.com/docs/api/v2025/start-campaign-remediation-scan)
|
||||
|
||||
### Path Parameters
|
||||
|
||||
@@ -1550,7 +1550,7 @@ import (
|
||||
"context"
|
||||
"fmt"
|
||||
"os"
|
||||
""
|
||||
v2025 "github.com/sailpoint-oss/golang-sdk/v2/api_v2025"
|
||||
openapiclient "github.com/sailpoint-oss/golang-sdk/v2"
|
||||
)
|
||||
|
||||
@@ -1559,7 +1559,7 @@ func main() {
|
||||
|
||||
configuration := NewDefaultConfiguration()
|
||||
apiClient := NewAPIClient(configuration)
|
||||
resp, r, err := apiClient..CertificationCampaignsAPI.StartCampaignRemediationScan(context.Background(), id).Execute()
|
||||
resp, r, err := apiClient.V2025.CertificationCampaignsAPI.StartCampaignRemediationScan(context.Background(), id).Execute()
|
||||
if err != nil {
|
||||
fmt.Fprintf(os.Stderr, "Error when calling `CertificationCampaignsAPI.StartCampaignRemediationScan``: %v\n", err)
|
||||
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
|
||||
@@ -1576,7 +1576,7 @@ Run Campaign Report
|
||||
Use this API to run a report for a certification campaign.
|
||||
|
||||
|
||||
[API Spec](https://developer.sailpoint.com/docs/api//start-campaign-report)
|
||||
[API Spec](https://developer.sailpoint.com/docs/api/v2025/start-campaign-report)
|
||||
|
||||
### Path Parameters
|
||||
|
||||
@@ -1615,7 +1615,7 @@ import (
|
||||
"context"
|
||||
"fmt"
|
||||
"os"
|
||||
""
|
||||
v2025 "github.com/sailpoint-oss/golang-sdk/v2/api_v2025"
|
||||
openapiclient "github.com/sailpoint-oss/golang-sdk/v2"
|
||||
)
|
||||
|
||||
@@ -1625,7 +1625,7 @@ func main() {
|
||||
|
||||
configuration := NewDefaultConfiguration()
|
||||
apiClient := NewAPIClient(configuration)
|
||||
resp, r, err := apiClient..CertificationCampaignsAPI.StartCampaignReport(context.Background(), id, type_).Execute()
|
||||
resp, r, err := apiClient.V2025.CertificationCampaignsAPI.StartCampaignReport(context.Background(), id, type_).Execute()
|
||||
if err != nil {
|
||||
fmt.Fprintf(os.Stderr, "Error when calling `CertificationCampaignsAPI.StartCampaignReport``: %v\n", err)
|
||||
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
|
||||
@@ -1652,7 +1652,7 @@ campaign called "Campaign for 2020" (assuming the year at generation time is 202
|
||||
Valid placeholders are the date/time conversion suffix characters supported by [java.util.Formatter](https://docs.oracle.com/javase/8/docs/api/java/util/Formatter.html).
|
||||
|
||||
|
||||
[API Spec](https://developer.sailpoint.com/docs/api//start-generate-campaign-template)
|
||||
[API Spec](https://developer.sailpoint.com/docs/api/v2025/start-generate-campaign-template)
|
||||
|
||||
### Path Parameters
|
||||
|
||||
@@ -1689,7 +1689,7 @@ import (
|
||||
"context"
|
||||
"fmt"
|
||||
"os"
|
||||
""
|
||||
v2025 "github.com/sailpoint-oss/golang-sdk/v2/api_v2025"
|
||||
openapiclient "github.com/sailpoint-oss/golang-sdk/v2"
|
||||
)
|
||||
|
||||
@@ -1698,7 +1698,7 @@ func main() {
|
||||
|
||||
configuration := NewDefaultConfiguration()
|
||||
apiClient := NewAPIClient(configuration)
|
||||
resp, r, err := apiClient..CertificationCampaignsAPI.StartGenerateCampaignTemplate(context.Background(), id).Execute()
|
||||
resp, r, err := apiClient.V2025.CertificationCampaignsAPI.StartGenerateCampaignTemplate(context.Background(), id).Execute()
|
||||
if err != nil {
|
||||
fmt.Fprintf(os.Stderr, "Error when calling `CertificationCampaignsAPI.StartGenerateCampaignTemplate``: %v\n", err)
|
||||
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
|
||||
@@ -1715,7 +1715,7 @@ Update a Campaign
|
||||
Use this API to update individual fields on a certification campaign, using the [JSON Patch](https://tools.ietf.org/html/rfc6902) standard.
|
||||
|
||||
|
||||
[API Spec](https://developer.sailpoint.com/docs/api//update-campaign)
|
||||
[API Spec](https://developer.sailpoint.com/docs/api/v2025/update-campaign)
|
||||
|
||||
### Path Parameters
|
||||
|
||||
@@ -1753,7 +1753,7 @@ import (
|
||||
"context"
|
||||
"fmt"
|
||||
"os"
|
||||
""
|
||||
v2025 "github.com/sailpoint-oss/golang-sdk/v2/api_v2025"
|
||||
openapiclient "github.com/sailpoint-oss/golang-sdk/v2"
|
||||
)
|
||||
|
||||
@@ -1763,7 +1763,7 @@ func main() {
|
||||
|
||||
configuration := NewDefaultConfiguration()
|
||||
apiClient := NewAPIClient(configuration)
|
||||
resp, r, err := apiClient..CertificationCampaignsAPI.UpdateCampaign(context.Background(), id).JsonPatchOperation(jsonPatchOperation).Execute()
|
||||
resp, r, err := apiClient.V2025.CertificationCampaignsAPI.UpdateCampaign(context.Background(), id).JsonPatchOperation(jsonPatchOperation).Execute()
|
||||
if err != nil {
|
||||
fmt.Fprintf(os.Stderr, "Error when calling `CertificationCampaignsAPI.UpdateCampaign``: %v\n", err)
|
||||
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
|
||||
|
||||
@@ -1,12 +1,12 @@
|
||||
---
|
||||
id: certification-summaries
|
||||
id: v2025-certification-summaries
|
||||
title: CertificationSummaries
|
||||
pagination_label: CertificationSummaries
|
||||
sidebar_label: CertificationSummaries
|
||||
sidebar_class_name: gosdk
|
||||
keywords: ['go', 'Golang', 'sdk', 'CertificationSummaries', 'CertificationSummaries']
|
||||
slug: /tools/sdk/go//methods/certification-summaries
|
||||
tags: ['SDK', 'Software Development Kit', 'CertificationSummaries', 'CertificationSummaries']
|
||||
keywords: ['go', 'Golang', 'sdk', 'CertificationSummaries', 'V2025CertificationSummaries']
|
||||
slug: /tools/sdk/go/v2025/methods/certification-summaries
|
||||
tags: ['SDK', 'Software Development Kit', 'CertificationSummaries', 'V2025CertificationSummaries']
|
||||
---
|
||||
|
||||
# CertificationSummariesAPI
|
||||
@@ -39,7 +39,7 @@ Method | HTTP request | Description
|
||||
Access Summaries
|
||||
This API returns a list of access summaries for the specified identity campaign certification and type. Reviewers for this certification can also call this API.
|
||||
|
||||
[API Spec](https://developer.sailpoint.com/docs/api//get-identity-access-summaries)
|
||||
[API Spec](https://developer.sailpoint.com/docs/api/v2025/get-identity-access-summaries)
|
||||
|
||||
### Path Parameters
|
||||
|
||||
@@ -83,7 +83,7 @@ import (
|
||||
"context"
|
||||
"fmt"
|
||||
"os"
|
||||
""
|
||||
v2025 "github.com/sailpoint-oss/golang-sdk/v2/api_v2025"
|
||||
openapiclient "github.com/sailpoint-oss/golang-sdk/v2"
|
||||
)
|
||||
|
||||
@@ -98,7 +98,7 @@ func main() {
|
||||
|
||||
configuration := NewDefaultConfiguration()
|
||||
apiClient := NewAPIClient(configuration)
|
||||
resp, r, err := apiClient..CertificationSummariesAPI.GetIdentityAccessSummaries(context.Background(), id, type_).Limit(limit).Offset(offset).Count(count).Filters(filters).Sorters(sorters).Execute()
|
||||
resp, r, err := apiClient.V2025.CertificationSummariesAPI.GetIdentityAccessSummaries(context.Background(), id, type_).Limit(limit).Offset(offset).Count(count).Filters(filters).Sorters(sorters).Execute()
|
||||
if err != nil {
|
||||
fmt.Fprintf(os.Stderr, "Error when calling `CertificationSummariesAPI.GetIdentityAccessSummaries``: %v\n", err)
|
||||
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
|
||||
@@ -114,7 +114,7 @@ func main() {
|
||||
Summary of Certification Decisions
|
||||
This API returns a summary of the decisions made on an identity campaign certification. The decisions are summarized by type. Reviewers for this certification can also call this API.
|
||||
|
||||
[API Spec](https://developer.sailpoint.com/docs/api//get-identity-decision-summary)
|
||||
[API Spec](https://developer.sailpoint.com/docs/api/v2025/get-identity-decision-summary)
|
||||
|
||||
### Path Parameters
|
||||
|
||||
@@ -152,7 +152,7 @@ import (
|
||||
"context"
|
||||
"fmt"
|
||||
"os"
|
||||
""
|
||||
v2025 "github.com/sailpoint-oss/golang-sdk/v2/api_v2025"
|
||||
openapiclient "github.com/sailpoint-oss/golang-sdk/v2"
|
||||
)
|
||||
|
||||
@@ -162,7 +162,7 @@ func main() {
|
||||
|
||||
configuration := NewDefaultConfiguration()
|
||||
apiClient := NewAPIClient(configuration)
|
||||
resp, r, err := apiClient..CertificationSummariesAPI.GetIdentityDecisionSummary(context.Background(), id).Filters(filters).Execute()
|
||||
resp, r, err := apiClient.V2025.CertificationSummariesAPI.GetIdentityDecisionSummary(context.Background(), id).Filters(filters).Execute()
|
||||
if err != nil {
|
||||
fmt.Fprintf(os.Stderr, "Error when calling `CertificationSummariesAPI.GetIdentityDecisionSummary``: %v\n", err)
|
||||
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
|
||||
@@ -178,7 +178,7 @@ func main() {
|
||||
Identity Summaries for Campaign Certification
|
||||
This API returns a list of the identity summaries for a specific identity campaign certification. Reviewers for this certification can also call this API.
|
||||
|
||||
[API Spec](https://developer.sailpoint.com/docs/api//get-identity-summaries)
|
||||
[API Spec](https://developer.sailpoint.com/docs/api/v2025/get-identity-summaries)
|
||||
|
||||
### Path Parameters
|
||||
|
||||
@@ -220,7 +220,7 @@ import (
|
||||
"context"
|
||||
"fmt"
|
||||
"os"
|
||||
""
|
||||
v2025 "github.com/sailpoint-oss/golang-sdk/v2/api_v2025"
|
||||
openapiclient "github.com/sailpoint-oss/golang-sdk/v2"
|
||||
)
|
||||
|
||||
@@ -234,7 +234,7 @@ func main() {
|
||||
|
||||
configuration := NewDefaultConfiguration()
|
||||
apiClient := NewAPIClient(configuration)
|
||||
resp, r, err := apiClient..CertificationSummariesAPI.GetIdentitySummaries(context.Background(), id).Limit(limit).Offset(offset).Count(count).Filters(filters).Sorters(sorters).Execute()
|
||||
resp, r, err := apiClient.V2025.CertificationSummariesAPI.GetIdentitySummaries(context.Background(), id).Limit(limit).Offset(offset).Count(count).Filters(filters).Sorters(sorters).Execute()
|
||||
if err != nil {
|
||||
fmt.Fprintf(os.Stderr, "Error when calling `CertificationSummariesAPI.GetIdentitySummaries``: %v\n", err)
|
||||
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
|
||||
@@ -250,7 +250,7 @@ func main() {
|
||||
Summary for Identity
|
||||
This API returns the summary for an identity on a specified identity campaign certification. Reviewers for this certification can also call this API.
|
||||
|
||||
[API Spec](https://developer.sailpoint.com/docs/api//get-identity-summary)
|
||||
[API Spec](https://developer.sailpoint.com/docs/api/v2025/get-identity-summary)
|
||||
|
||||
### Path Parameters
|
||||
|
||||
@@ -289,7 +289,7 @@ import (
|
||||
"context"
|
||||
"fmt"
|
||||
"os"
|
||||
""
|
||||
v2025 "github.com/sailpoint-oss/golang-sdk/v2/api_v2025"
|
||||
openapiclient "github.com/sailpoint-oss/golang-sdk/v2"
|
||||
)
|
||||
|
||||
@@ -299,7 +299,7 @@ func main() {
|
||||
|
||||
configuration := NewDefaultConfiguration()
|
||||
apiClient := NewAPIClient(configuration)
|
||||
resp, r, err := apiClient..CertificationSummariesAPI.GetIdentitySummary(context.Background(), id, identitySummaryId).Execute()
|
||||
resp, r, err := apiClient.V2025.CertificationSummariesAPI.GetIdentitySummary(context.Background(), id, identitySummaryId).Execute()
|
||||
if err != nil {
|
||||
fmt.Fprintf(os.Stderr, "Error when calling `CertificationSummariesAPI.GetIdentitySummary``: %v\n", err)
|
||||
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
|
||||
|
||||
@@ -1,12 +1,12 @@
|
||||
---
|
||||
id: certifications
|
||||
id: v2025-certifications
|
||||
title: Certifications
|
||||
pagination_label: Certifications
|
||||
sidebar_label: Certifications
|
||||
sidebar_class_name: gosdk
|
||||
keywords: ['go', 'Golang', 'sdk', 'Certifications', 'Certifications']
|
||||
slug: /tools/sdk/go//methods/certifications
|
||||
tags: ['SDK', 'Software Development Kit', 'Certifications', 'Certifications']
|
||||
keywords: ['go', 'Golang', 'sdk', 'Certifications', 'V2025Certifications']
|
||||
slug: /tools/sdk/go/v2025/methods/certifications
|
||||
tags: ['SDK', 'Software Development Kit', 'Certifications', 'V2025Certifications']
|
||||
---
|
||||
|
||||
# CertificationsAPI
|
||||
@@ -55,7 +55,7 @@ Method | HTTP request | Description
|
||||
Certification Task by ID
|
||||
This API returns the certification task for the specified ID. Reviewers for the specified certification can also call this API.
|
||||
|
||||
[API Spec](https://developer.sailpoint.com/docs/api//get-certification-task)
|
||||
[API Spec](https://developer.sailpoint.com/docs/api/v2025/get-certification-task)
|
||||
|
||||
### Path Parameters
|
||||
|
||||
@@ -92,7 +92,7 @@ import (
|
||||
"context"
|
||||
"fmt"
|
||||
"os"
|
||||
""
|
||||
v2025 "github.com/sailpoint-oss/golang-sdk/v2/api_v2025"
|
||||
openapiclient "github.com/sailpoint-oss/golang-sdk/v2"
|
||||
)
|
||||
|
||||
@@ -101,7 +101,7 @@ func main() {
|
||||
|
||||
configuration := NewDefaultConfiguration()
|
||||
apiClient := NewAPIClient(configuration)
|
||||
resp, r, err := apiClient..CertificationsAPI.GetCertificationTask(context.Background(), id).Execute()
|
||||
resp, r, err := apiClient.V2025.CertificationsAPI.GetCertificationTask(context.Background(), id).Execute()
|
||||
if err != nil {
|
||||
fmt.Fprintf(os.Stderr, "Error when calling `CertificationsAPI.GetCertificationTask``: %v\n", err)
|
||||
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
|
||||
@@ -117,7 +117,7 @@ func main() {
|
||||
Identity Certification by ID
|
||||
This API returns a single identity campaign certification by its ID. Reviewers for this certification can also call this API. This API does not support requests for certifications assigned to Governance Groups.
|
||||
|
||||
[API Spec](https://developer.sailpoint.com/docs/api//get-identity-certification)
|
||||
[API Spec](https://developer.sailpoint.com/docs/api/v2025/get-identity-certification)
|
||||
|
||||
### Path Parameters
|
||||
|
||||
@@ -154,7 +154,7 @@ import (
|
||||
"context"
|
||||
"fmt"
|
||||
"os"
|
||||
""
|
||||
v2025 "github.com/sailpoint-oss/golang-sdk/v2/api_v2025"
|
||||
openapiclient "github.com/sailpoint-oss/golang-sdk/v2"
|
||||
)
|
||||
|
||||
@@ -163,7 +163,7 @@ func main() {
|
||||
|
||||
configuration := NewDefaultConfiguration()
|
||||
apiClient := NewAPIClient(configuration)
|
||||
resp, r, err := apiClient..CertificationsAPI.GetIdentityCertification(context.Background(), id).Execute()
|
||||
resp, r, err := apiClient.V2025.CertificationsAPI.GetIdentityCertification(context.Background(), id).Execute()
|
||||
if err != nil {
|
||||
fmt.Fprintf(os.Stderr, "Error when calling `CertificationsAPI.GetIdentityCertification``: %v\n", err)
|
||||
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
|
||||
@@ -179,7 +179,7 @@ func main() {
|
||||
Permissions for Entitlement Certification Item
|
||||
This API returns the permissions associated with an entitlement certification item based on the certification item's ID. Reviewers for this certification can also call this API.
|
||||
|
||||
[API Spec](https://developer.sailpoint.com/docs/api//get-identity-certification-item-permissions)
|
||||
[API Spec](https://developer.sailpoint.com/docs/api/v2025/get-identity-certification-item-permissions)
|
||||
|
||||
### Path Parameters
|
||||
|
||||
@@ -222,7 +222,7 @@ import (
|
||||
"context"
|
||||
"fmt"
|
||||
"os"
|
||||
""
|
||||
v2025 "github.com/sailpoint-oss/golang-sdk/v2/api_v2025"
|
||||
openapiclient "github.com/sailpoint-oss/golang-sdk/v2"
|
||||
)
|
||||
|
||||
@@ -236,7 +236,7 @@ func main() {
|
||||
|
||||
configuration := NewDefaultConfiguration()
|
||||
apiClient := NewAPIClient(configuration)
|
||||
resp, r, err := apiClient..CertificationsAPI.GetIdentityCertificationItemPermissions(context.Background(), certificationId, itemId).Filters(filters).Limit(limit).Offset(offset).Count(count).Execute()
|
||||
resp, r, err := apiClient.V2025.CertificationsAPI.GetIdentityCertificationItemPermissions(context.Background(), certificationId, itemId).Filters(filters).Limit(limit).Offset(offset).Count(count).Execute()
|
||||
if err != nil {
|
||||
fmt.Fprintf(os.Stderr, "Error when calling `CertificationsAPI.GetIdentityCertificationItemPermissions``: %v\n", err)
|
||||
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
|
||||
@@ -252,7 +252,7 @@ func main() {
|
||||
List of Pending Certification Tasks
|
||||
This API returns a list of pending (`QUEUED` or `IN_PROGRESS`) certification tasks. Any authenticated token can call this API, but only certification tasks you are authorized to review will be returned.
|
||||
|
||||
[API Spec](https://developer.sailpoint.com/docs/api//get-pending-certification-tasks)
|
||||
[API Spec](https://developer.sailpoint.com/docs/api/v2025/get-pending-certification-tasks)
|
||||
|
||||
### Path Parameters
|
||||
|
||||
@@ -289,7 +289,7 @@ import (
|
||||
"context"
|
||||
"fmt"
|
||||
"os"
|
||||
""
|
||||
v2025 "github.com/sailpoint-oss/golang-sdk/v2/api_v2025"
|
||||
openapiclient "github.com/sailpoint-oss/golang-sdk/v2"
|
||||
)
|
||||
|
||||
@@ -302,7 +302,7 @@ func main() {
|
||||
|
||||
configuration := NewDefaultConfiguration()
|
||||
apiClient := NewAPIClient(configuration)
|
||||
resp, r, err := apiClient..CertificationsAPI.GetPendingCertificationTasks(context.Background()).ReviewerIdentity(reviewerIdentity).Limit(limit).Offset(offset).Count(count).Filters(filters).Execute()
|
||||
resp, r, err := apiClient.V2025.CertificationsAPI.GetPendingCertificationTasks(context.Background()).ReviewerIdentity(reviewerIdentity).Limit(limit).Offset(offset).Count(count).Filters(filters).Execute()
|
||||
if err != nil {
|
||||
fmt.Fprintf(os.Stderr, "Error when calling `CertificationsAPI.GetPendingCertificationTasks``: %v\n", err)
|
||||
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
|
||||
@@ -318,7 +318,7 @@ func main() {
|
||||
List of Reviewers for certification
|
||||
This API returns a list of reviewers for the certification. Reviewers for this certification can also call this API.
|
||||
|
||||
[API Spec](https://developer.sailpoint.com/docs/api//list-certification-reviewers)
|
||||
[API Spec](https://developer.sailpoint.com/docs/api/v2025/list-certification-reviewers)
|
||||
|
||||
### Path Parameters
|
||||
|
||||
@@ -360,7 +360,7 @@ import (
|
||||
"context"
|
||||
"fmt"
|
||||
"os"
|
||||
""
|
||||
v2025 "github.com/sailpoint-oss/golang-sdk/v2/api_v2025"
|
||||
openapiclient "github.com/sailpoint-oss/golang-sdk/v2"
|
||||
)
|
||||
|
||||
@@ -374,7 +374,7 @@ func main() {
|
||||
|
||||
configuration := NewDefaultConfiguration()
|
||||
apiClient := NewAPIClient(configuration)
|
||||
resp, r, err := apiClient..CertificationsAPI.ListCertificationReviewers(context.Background(), id).Limit(limit).Offset(offset).Count(count).Filters(filters).Sorters(sorters).Execute()
|
||||
resp, r, err := apiClient.V2025.CertificationsAPI.ListCertificationReviewers(context.Background(), id).Limit(limit).Offset(offset).Count(count).Filters(filters).Sorters(sorters).Execute()
|
||||
if err != nil {
|
||||
fmt.Fprintf(os.Stderr, "Error when calling `CertificationsAPI.ListCertificationReviewers``: %v\n", err)
|
||||
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
|
||||
@@ -390,7 +390,7 @@ func main() {
|
||||
List of Access Review Items
|
||||
This API returns a list of access review items for an identity campaign certification. Reviewers for this certification can also call this API. This API does not support requests for certifications assigned to Governance Groups.
|
||||
|
||||
[API Spec](https://developer.sailpoint.com/docs/api//list-identity-access-review-items)
|
||||
[API Spec](https://developer.sailpoint.com/docs/api/v2025/list-identity-access-review-items)
|
||||
|
||||
### Path Parameters
|
||||
|
||||
@@ -435,7 +435,7 @@ import (
|
||||
"context"
|
||||
"fmt"
|
||||
"os"
|
||||
""
|
||||
v2025 "github.com/sailpoint-oss/golang-sdk/v2/api_v2025"
|
||||
openapiclient "github.com/sailpoint-oss/golang-sdk/v2"
|
||||
)
|
||||
|
||||
@@ -452,7 +452,7 @@ func main() {
|
||||
|
||||
configuration := NewDefaultConfiguration()
|
||||
apiClient := NewAPIClient(configuration)
|
||||
resp, r, err := apiClient..CertificationsAPI.ListIdentityAccessReviewItems(context.Background(), id).Limit(limit).Offset(offset).Count(count).Filters(filters).Sorters(sorters).Entitlements(entitlements).AccessProfiles(accessProfiles).Roles(roles).Execute()
|
||||
resp, r, err := apiClient.V2025.CertificationsAPI.ListIdentityAccessReviewItems(context.Background(), id).Limit(limit).Offset(offset).Count(count).Filters(filters).Sorters(sorters).Entitlements(entitlements).AccessProfiles(accessProfiles).Roles(roles).Execute()
|
||||
if err != nil {
|
||||
fmt.Fprintf(os.Stderr, "Error when calling `CertificationsAPI.ListIdentityAccessReviewItems``: %v\n", err)
|
||||
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
|
||||
@@ -468,7 +468,7 @@ func main() {
|
||||
List Identity Campaign Certifications
|
||||
Use this API to get a list of identity campaign certifications for the specified query parameters. Any authenticated token can call this API, but only certifications you are authorized to review will be returned. This API does not support requests for certifications assigned to governance groups.
|
||||
|
||||
[API Spec](https://developer.sailpoint.com/docs/api//list-identity-certifications)
|
||||
[API Spec](https://developer.sailpoint.com/docs/api/v2025/list-identity-certifications)
|
||||
|
||||
### Path Parameters
|
||||
|
||||
@@ -506,7 +506,7 @@ import (
|
||||
"context"
|
||||
"fmt"
|
||||
"os"
|
||||
""
|
||||
v2025 "github.com/sailpoint-oss/golang-sdk/v2/api_v2025"
|
||||
openapiclient "github.com/sailpoint-oss/golang-sdk/v2"
|
||||
)
|
||||
|
||||
@@ -520,7 +520,7 @@ func main() {
|
||||
|
||||
configuration := NewDefaultConfiguration()
|
||||
apiClient := NewAPIClient(configuration)
|
||||
resp, r, err := apiClient..CertificationsAPI.ListIdentityCertifications(context.Background()).ReviewerIdentity(reviewerIdentity).Limit(limit).Offset(offset).Count(count).Filters(filters).Sorters(sorters).Execute()
|
||||
resp, r, err := apiClient.V2025.CertificationsAPI.ListIdentityCertifications(context.Background()).ReviewerIdentity(reviewerIdentity).Limit(limit).Offset(offset).Count(count).Filters(filters).Sorters(sorters).Execute()
|
||||
if err != nil {
|
||||
fmt.Fprintf(os.Stderr, "Error when calling `CertificationsAPI.ListIdentityCertifications``: %v\n", err)
|
||||
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
|
||||
@@ -536,7 +536,7 @@ func main() {
|
||||
Decide on a Certification Item
|
||||
The API makes a decision to approve or revoke one or more identity campaign certification items. Reviewers for this certification can also call this API. This API does not support requests for certifications assigned to Governance Groups.
|
||||
|
||||
[API Spec](https://developer.sailpoint.com/docs/api//make-identity-decision)
|
||||
[API Spec](https://developer.sailpoint.com/docs/api/v2025/make-identity-decision)
|
||||
|
||||
### Path Parameters
|
||||
|
||||
@@ -574,7 +574,7 @@ import (
|
||||
"context"
|
||||
"fmt"
|
||||
"os"
|
||||
""
|
||||
v2025 "github.com/sailpoint-oss/golang-sdk/v2/api_v2025"
|
||||
openapiclient "github.com/sailpoint-oss/golang-sdk/v2"
|
||||
)
|
||||
|
||||
@@ -584,7 +584,7 @@ func main() {
|
||||
|
||||
configuration := NewDefaultConfiguration()
|
||||
apiClient := NewAPIClient(configuration)
|
||||
resp, r, err := apiClient..CertificationsAPI.MakeIdentityDecision(context.Background(), id).ReviewDecision(reviewDecision).Execute()
|
||||
resp, r, err := apiClient.V2025.CertificationsAPI.MakeIdentityDecision(context.Background(), id).ReviewDecision(reviewDecision).Execute()
|
||||
if err != nil {
|
||||
fmt.Fprintf(os.Stderr, "Error when calling `CertificationsAPI.MakeIdentityDecision``: %v\n", err)
|
||||
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
|
||||
@@ -600,7 +600,7 @@ func main() {
|
||||
Reassign Identities or Items
|
||||
This API reassigns up to 50 identities or items in an identity campaign certification to another reviewer. A token with ORG_ADMIN or CERT_ADMIN authority is required to call this API. Reviewers for this certification can also call this API. This API does not support requests for certifications assigned to Governance Groups.
|
||||
|
||||
[API Spec](https://developer.sailpoint.com/docs/api//reassign-identity-certifications)
|
||||
[API Spec](https://developer.sailpoint.com/docs/api/v2025/reassign-identity-certifications)
|
||||
|
||||
### Path Parameters
|
||||
|
||||
@@ -638,7 +638,7 @@ import (
|
||||
"context"
|
||||
"fmt"
|
||||
"os"
|
||||
""
|
||||
v2025 "github.com/sailpoint-oss/golang-sdk/v2/api_v2025"
|
||||
openapiclient "github.com/sailpoint-oss/golang-sdk/v2"
|
||||
)
|
||||
|
||||
@@ -658,7 +658,7 @@ func main() {
|
||||
|
||||
configuration := NewDefaultConfiguration()
|
||||
apiClient := NewAPIClient(configuration)
|
||||
resp, r, err := apiClient..CertificationsAPI.ReassignIdentityCertifications(context.Background(), id).ReviewReassign(reviewReassign).Execute()
|
||||
resp, r, err := apiClient.V2025.CertificationsAPI.ReassignIdentityCertifications(context.Background(), id).ReviewReassign(reviewReassign).Execute()
|
||||
if err != nil {
|
||||
fmt.Fprintf(os.Stderr, "Error when calling `CertificationsAPI.ReassignIdentityCertifications``: %v\n", err)
|
||||
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
|
||||
@@ -674,7 +674,7 @@ func main() {
|
||||
Finalize Identity Certification Decisions
|
||||
This API finalizes all decisions made on an identity campaign certification and initiates any remediations required. Reviewers for this certification can also call this API. This API does not support requests for certifications assigned to Governance Groups.
|
||||
|
||||
[API Spec](https://developer.sailpoint.com/docs/api//sign-off-identity-certification)
|
||||
[API Spec](https://developer.sailpoint.com/docs/api/v2025/sign-off-identity-certification)
|
||||
|
||||
### Path Parameters
|
||||
|
||||
@@ -711,7 +711,7 @@ import (
|
||||
"context"
|
||||
"fmt"
|
||||
"os"
|
||||
""
|
||||
v2025 "github.com/sailpoint-oss/golang-sdk/v2/api_v2025"
|
||||
openapiclient "github.com/sailpoint-oss/golang-sdk/v2"
|
||||
)
|
||||
|
||||
@@ -720,7 +720,7 @@ func main() {
|
||||
|
||||
configuration := NewDefaultConfiguration()
|
||||
apiClient := NewAPIClient(configuration)
|
||||
resp, r, err := apiClient..CertificationsAPI.SignOffIdentityCertification(context.Background(), id).Execute()
|
||||
resp, r, err := apiClient.V2025.CertificationsAPI.SignOffIdentityCertification(context.Background(), id).Execute()
|
||||
if err != nil {
|
||||
fmt.Fprintf(os.Stderr, "Error when calling `CertificationsAPI.SignOffIdentityCertification``: %v\n", err)
|
||||
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
|
||||
@@ -741,7 +741,7 @@ reassignment is complete.
|
||||
Reviewers for this certification can also call this API.
|
||||
|
||||
|
||||
[API Spec](https://developer.sailpoint.com/docs/api//submit-reassign-certs-async)
|
||||
[API Spec](https://developer.sailpoint.com/docs/api/v2025/submit-reassign-certs-async)
|
||||
|
||||
### Path Parameters
|
||||
|
||||
@@ -779,7 +779,7 @@ import (
|
||||
"context"
|
||||
"fmt"
|
||||
"os"
|
||||
""
|
||||
v2025 "github.com/sailpoint-oss/golang-sdk/v2/api_v2025"
|
||||
openapiclient "github.com/sailpoint-oss/golang-sdk/v2"
|
||||
)
|
||||
|
||||
@@ -799,7 +799,7 @@ func main() {
|
||||
|
||||
configuration := NewDefaultConfiguration()
|
||||
apiClient := NewAPIClient(configuration)
|
||||
resp, r, err := apiClient..CertificationsAPI.SubmitReassignCertsAsync(context.Background(), id).ReviewReassign(reviewReassign).Execute()
|
||||
resp, r, err := apiClient.V2025.CertificationsAPI.SubmitReassignCertsAsync(context.Background(), id).ReviewReassign(reviewReassign).Execute()
|
||||
if err != nil {
|
||||
fmt.Fprintf(os.Stderr, "Error when calling `CertificationsAPI.SubmitReassignCertsAsync``: %v\n", err)
|
||||
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
|
||||
|
||||
@@ -1,12 +1,12 @@
|
||||
---
|
||||
id: configuration-hub
|
||||
id: v2025-configuration-hub
|
||||
title: ConfigurationHub
|
||||
pagination_label: ConfigurationHub
|
||||
sidebar_label: ConfigurationHub
|
||||
sidebar_class_name: gosdk
|
||||
keywords: ['go', 'Golang', 'sdk', 'ConfigurationHub', 'ConfigurationHub']
|
||||
slug: /tools/sdk/go//methods/configuration-hub
|
||||
tags: ['SDK', 'Software Development Kit', 'ConfigurationHub', 'ConfigurationHub']
|
||||
keywords: ['go', 'Golang', 'sdk', 'ConfigurationHub', 'V2025ConfigurationHub']
|
||||
slug: /tools/sdk/go/v2025/methods/configuration-hub
|
||||
tags: ['SDK', 'Software Development Kit', 'ConfigurationHub', 'V2025ConfigurationHub']
|
||||
---
|
||||
|
||||
# ConfigurationHubAPI
|
||||
@@ -52,7 +52,7 @@ Method | HTTP request | Description
|
||||
Create a Deploy
|
||||
This API performs a deploy based on an existing daft.
|
||||
|
||||
[API Spec](https://developer.sailpoint.com/docs/api//create-deploy)
|
||||
[API Spec](https://developer.sailpoint.com/docs/api/v2025/create-deploy)
|
||||
|
||||
### Path Parameters
|
||||
|
||||
@@ -85,7 +85,7 @@ import (
|
||||
"context"
|
||||
"fmt"
|
||||
"os"
|
||||
""
|
||||
v2025 "github.com/sailpoint-oss/golang-sdk/v2/api_v2025"
|
||||
openapiclient "github.com/sailpoint-oss/golang-sdk/v2"
|
||||
)
|
||||
|
||||
@@ -96,7 +96,7 @@ func main() {
|
||||
|
||||
configuration := NewDefaultConfiguration()
|
||||
apiClient := NewAPIClient(configuration)
|
||||
resp, r, err := apiClient..ConfigurationHubAPI.CreateDeploy(context.Background()).DeployRequest(deployRequest).Execute()
|
||||
resp, r, err := apiClient.V2025.ConfigurationHubAPI.CreateDeploy(context.Background()).DeployRequest(deployRequest).Execute()
|
||||
if err != nil {
|
||||
fmt.Fprintf(os.Stderr, "Error when calling `ConfigurationHubAPI.CreateDeploy``: %v\n", err)
|
||||
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
|
||||
@@ -115,7 +115,7 @@ Source org should be "default" when creating an object mapping that is not to be
|
||||
The request will need the following security scope:
|
||||
- sp:config-object-mapping:manage
|
||||
|
||||
[API Spec](https://developer.sailpoint.com/docs/api//create-object-mapping)
|
||||
[API Spec](https://developer.sailpoint.com/docs/api/v2025/create-object-mapping)
|
||||
|
||||
### Path Parameters
|
||||
|
||||
@@ -153,7 +153,7 @@ import (
|
||||
"context"
|
||||
"fmt"
|
||||
"os"
|
||||
""
|
||||
v2025 "github.com/sailpoint-oss/golang-sdk/v2/api_v2025"
|
||||
openapiclient "github.com/sailpoint-oss/golang-sdk/v2"
|
||||
)
|
||||
|
||||
@@ -169,7 +169,7 @@ func main() {
|
||||
|
||||
configuration := NewDefaultConfiguration()
|
||||
apiClient := NewAPIClient(configuration)
|
||||
resp, r, err := apiClient..ConfigurationHubAPI.CreateObjectMapping(context.Background(), sourceOrg).ObjectMappingRequest(objectMappingRequest).Execute()
|
||||
resp, r, err := apiClient.V2025.ConfigurationHubAPI.CreateObjectMapping(context.Background(), sourceOrg).ObjectMappingRequest(objectMappingRequest).Execute()
|
||||
if err != nil {
|
||||
fmt.Fprintf(os.Stderr, "Error when calling `ConfigurationHubAPI.CreateObjectMapping``: %v\n", err)
|
||||
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
|
||||
@@ -188,7 +188,7 @@ Source org should be "default" when creating object mappings that are not to be
|
||||
The request will need the following security scope:
|
||||
- sp:config-object-mapping:manage
|
||||
|
||||
[API Spec](https://developer.sailpoint.com/docs/api//create-object-mappings)
|
||||
[API Spec](https://developer.sailpoint.com/docs/api/v2025/create-object-mappings)
|
||||
|
||||
### Path Parameters
|
||||
|
||||
@@ -226,7 +226,7 @@ import (
|
||||
"context"
|
||||
"fmt"
|
||||
"os"
|
||||
""
|
||||
v2025 "github.com/sailpoint-oss/golang-sdk/v2/api_v2025"
|
||||
openapiclient "github.com/sailpoint-oss/golang-sdk/v2"
|
||||
)
|
||||
|
||||
@@ -250,7 +250,7 @@ func main() {
|
||||
|
||||
configuration := NewDefaultConfiguration()
|
||||
apiClient := NewAPIClient(configuration)
|
||||
resp, r, err := apiClient..ConfigurationHubAPI.CreateObjectMappings(context.Background(), sourceOrg).ObjectMappingBulkCreateRequest(objectMappingBulkCreateRequest).Execute()
|
||||
resp, r, err := apiClient.V2025.ConfigurationHubAPI.CreateObjectMappings(context.Background(), sourceOrg).ObjectMappingBulkCreateRequest(objectMappingBulkCreateRequest).Execute()
|
||||
if err != nil {
|
||||
fmt.Fprintf(os.Stderr, "Error when calling `ConfigurationHubAPI.CreateObjectMappings``: %v\n", err)
|
||||
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
|
||||
@@ -266,7 +266,7 @@ func main() {
|
||||
Create Scheduled Action
|
||||
This API creates a new scheduled action for the current tenant.
|
||||
|
||||
[API Spec](https://developer.sailpoint.com/docs/api//create-scheduled-action)
|
||||
[API Spec](https://developer.sailpoint.com/docs/api/v2025/create-scheduled-action)
|
||||
|
||||
### Path Parameters
|
||||
|
||||
@@ -299,7 +299,7 @@ import (
|
||||
"context"
|
||||
"fmt"
|
||||
"os"
|
||||
""
|
||||
v2025 "github.com/sailpoint-oss/golang-sdk/v2/api_v2025"
|
||||
openapiclient "github.com/sailpoint-oss/golang-sdk/v2"
|
||||
)
|
||||
|
||||
@@ -330,7 +330,7 @@ func main() {
|
||||
|
||||
configuration := NewDefaultConfiguration()
|
||||
apiClient := NewAPIClient(configuration)
|
||||
resp, r, err := apiClient..ConfigurationHubAPI.CreateScheduledAction(context.Background()).ScheduledActionPayload(scheduledActionPayload).Execute()
|
||||
resp, r, err := apiClient.V2025.ConfigurationHubAPI.CreateScheduledAction(context.Background()).ScheduledActionPayload(scheduledActionPayload).Execute()
|
||||
if err != nil {
|
||||
fmt.Fprintf(os.Stderr, "Error when calling `ConfigurationHubAPI.CreateScheduledAction``: %v\n", err)
|
||||
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
|
||||
@@ -350,7 +350,7 @@ Configuration files can be managed and deployed via Configuration Hub by uploadi
|
||||
|
||||
Refer to [SaaS Configuration](https://developer.sailpoint.com/idn/docs/saas-configuration/#supported-objects) for more information about supported objects.
|
||||
|
||||
[API Spec](https://developer.sailpoint.com/docs/api//create-uploaded-configuration)
|
||||
[API Spec](https://developer.sailpoint.com/docs/api/v2025/create-uploaded-configuration)
|
||||
|
||||
### Path Parameters
|
||||
|
||||
@@ -384,7 +384,7 @@ import (
|
||||
"context"
|
||||
"fmt"
|
||||
"os"
|
||||
""
|
||||
v2025 "github.com/sailpoint-oss/golang-sdk/v2/api_v2025"
|
||||
openapiclient "github.com/sailpoint-oss/golang-sdk/v2"
|
||||
)
|
||||
|
||||
@@ -394,7 +394,7 @@ func main() {
|
||||
|
||||
configuration := NewDefaultConfiguration()
|
||||
apiClient := NewAPIClient(configuration)
|
||||
resp, r, err := apiClient..ConfigurationHubAPI.CreateUploadedConfiguration(context.Background()).Data(data).Name(name).Execute()
|
||||
resp, r, err := apiClient.V2025.ConfigurationHubAPI.CreateUploadedConfiguration(context.Background()).Data(data).Name(name).Execute()
|
||||
if err != nil {
|
||||
fmt.Fprintf(os.Stderr, "Error when calling `ConfigurationHubAPI.CreateUploadedConfiguration``: %v\n", err)
|
||||
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
|
||||
@@ -414,7 +414,7 @@ On success, this endpoint will return an empty response.
|
||||
|
||||
The backup id can be obtained from the response after a backup was successfully created, or from the list backups endpoint.
|
||||
|
||||
[API Spec](https://developer.sailpoint.com/docs/api//delete-backup)
|
||||
[API Spec](https://developer.sailpoint.com/docs/api/v2025/delete-backup)
|
||||
|
||||
### Path Parameters
|
||||
|
||||
@@ -451,7 +451,7 @@ import (
|
||||
"context"
|
||||
"fmt"
|
||||
"os"
|
||||
""
|
||||
v2025 "github.com/sailpoint-oss/golang-sdk/v2/api_v2025"
|
||||
openapiclient "github.com/sailpoint-oss/golang-sdk/v2"
|
||||
)
|
||||
|
||||
@@ -460,7 +460,7 @@ func main() {
|
||||
|
||||
configuration := NewDefaultConfiguration()
|
||||
apiClient := NewAPIClient(configuration)
|
||||
r, err := apiClient..ConfigurationHubAPI.DeleteBackup(context.Background(), id).Execute()
|
||||
r, err := apiClient.V2025.ConfigurationHubAPI.DeleteBackup(context.Background(), id).Execute()
|
||||
if err != nil {
|
||||
fmt.Fprintf(os.Stderr, "Error when calling `ConfigurationHubAPI.DeleteBackup``: %v\n", err)
|
||||
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
|
||||
@@ -478,7 +478,7 @@ On success, this endpoint will return an empty response.
|
||||
|
||||
The draft id can be obtained from the response after a draft was successfully created, or from the list drafts endpoint.
|
||||
|
||||
[API Spec](https://developer.sailpoint.com/docs/api//delete-draft)
|
||||
[API Spec](https://developer.sailpoint.com/docs/api/v2025/delete-draft)
|
||||
|
||||
### Path Parameters
|
||||
|
||||
@@ -515,7 +515,7 @@ import (
|
||||
"context"
|
||||
"fmt"
|
||||
"os"
|
||||
""
|
||||
v2025 "github.com/sailpoint-oss/golang-sdk/v2/api_v2025"
|
||||
openapiclient "github.com/sailpoint-oss/golang-sdk/v2"
|
||||
)
|
||||
|
||||
@@ -524,7 +524,7 @@ func main() {
|
||||
|
||||
configuration := NewDefaultConfiguration()
|
||||
apiClient := NewAPIClient(configuration)
|
||||
r, err := apiClient..ConfigurationHubAPI.DeleteDraft(context.Background(), id).Execute()
|
||||
r, err := apiClient.V2025.ConfigurationHubAPI.DeleteDraft(context.Background(), id).Execute()
|
||||
if err != nil {
|
||||
fmt.Fprintf(os.Stderr, "Error when calling `ConfigurationHubAPI.DeleteDraft``: %v\n", err)
|
||||
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
|
||||
@@ -541,7 +541,7 @@ Source org should be "default" when deleting an object mapping that is not assoc
|
||||
The request will need the following security scope:
|
||||
- sp:config-object-mapping:manage
|
||||
|
||||
[API Spec](https://developer.sailpoint.com/docs/api//delete-object-mapping)
|
||||
[API Spec](https://developer.sailpoint.com/docs/api/v2025/delete-object-mapping)
|
||||
|
||||
### Path Parameters
|
||||
|
||||
@@ -580,7 +580,7 @@ import (
|
||||
"context"
|
||||
"fmt"
|
||||
"os"
|
||||
""
|
||||
v2025 "github.com/sailpoint-oss/golang-sdk/v2/api_v2025"
|
||||
openapiclient "github.com/sailpoint-oss/golang-sdk/v2"
|
||||
)
|
||||
|
||||
@@ -590,7 +590,7 @@ func main() {
|
||||
|
||||
configuration := NewDefaultConfiguration()
|
||||
apiClient := NewAPIClient(configuration)
|
||||
r, err := apiClient..ConfigurationHubAPI.DeleteObjectMapping(context.Background(), sourceOrg, objectMappingId).Execute()
|
||||
r, err := apiClient.V2025.ConfigurationHubAPI.DeleteObjectMapping(context.Background(), sourceOrg, objectMappingId).Execute()
|
||||
if err != nil {
|
||||
fmt.Fprintf(os.Stderr, "Error when calling `ConfigurationHubAPI.DeleteObjectMapping``: %v\n", err)
|
||||
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
|
||||
@@ -604,7 +604,7 @@ func main() {
|
||||
Delete Scheduled Action
|
||||
This API deletes an existing scheduled action.
|
||||
|
||||
[API Spec](https://developer.sailpoint.com/docs/api//delete-scheduled-action)
|
||||
[API Spec](https://developer.sailpoint.com/docs/api/v2025/delete-scheduled-action)
|
||||
|
||||
### Path Parameters
|
||||
|
||||
@@ -641,7 +641,7 @@ import (
|
||||
"context"
|
||||
"fmt"
|
||||
"os"
|
||||
""
|
||||
v2025 "github.com/sailpoint-oss/golang-sdk/v2/api_v2025"
|
||||
openapiclient "github.com/sailpoint-oss/golang-sdk/v2"
|
||||
)
|
||||
|
||||
@@ -650,7 +650,7 @@ func main() {
|
||||
|
||||
configuration := NewDefaultConfiguration()
|
||||
apiClient := NewAPIClient(configuration)
|
||||
r, err := apiClient..ConfigurationHubAPI.DeleteScheduledAction(context.Background(), scheduledActionId).Execute()
|
||||
r, err := apiClient.V2025.ConfigurationHubAPI.DeleteScheduledAction(context.Background(), scheduledActionId).Execute()
|
||||
if err != nil {
|
||||
fmt.Fprintf(os.Stderr, "Error when calling `ConfigurationHubAPI.DeleteScheduledAction``: %v\n", err)
|
||||
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
|
||||
@@ -668,7 +668,7 @@ On success, this endpoint will return an empty response.
|
||||
|
||||
The uploaded configuration id can be obtained from the response after a successful upload, or the list uploaded configurations endpoint.
|
||||
|
||||
[API Spec](https://developer.sailpoint.com/docs/api//delete-uploaded-configuration)
|
||||
[API Spec](https://developer.sailpoint.com/docs/api/v2025/delete-uploaded-configuration)
|
||||
|
||||
### Path Parameters
|
||||
|
||||
@@ -705,7 +705,7 @@ import (
|
||||
"context"
|
||||
"fmt"
|
||||
"os"
|
||||
""
|
||||
v2025 "github.com/sailpoint-oss/golang-sdk/v2/api_v2025"
|
||||
openapiclient "github.com/sailpoint-oss/golang-sdk/v2"
|
||||
)
|
||||
|
||||
@@ -714,7 +714,7 @@ func main() {
|
||||
|
||||
configuration := NewDefaultConfiguration()
|
||||
apiClient := NewAPIClient(configuration)
|
||||
r, err := apiClient..ConfigurationHubAPI.DeleteUploadedConfiguration(context.Background(), id).Execute()
|
||||
r, err := apiClient.V2025.ConfigurationHubAPI.DeleteUploadedConfiguration(context.Background(), id).Execute()
|
||||
if err != nil {
|
||||
fmt.Fprintf(os.Stderr, "Error when calling `ConfigurationHubAPI.DeleteUploadedConfiguration``: %v\n", err)
|
||||
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
|
||||
@@ -728,7 +728,7 @@ func main() {
|
||||
Get a Deploy
|
||||
This API gets an existing deploy for the current tenant.
|
||||
|
||||
[API Spec](https://developer.sailpoint.com/docs/api//get-deploy)
|
||||
[API Spec](https://developer.sailpoint.com/docs/api/v2025/get-deploy)
|
||||
|
||||
### Path Parameters
|
||||
|
||||
@@ -765,7 +765,7 @@ import (
|
||||
"context"
|
||||
"fmt"
|
||||
"os"
|
||||
""
|
||||
v2025 "github.com/sailpoint-oss/golang-sdk/v2/api_v2025"
|
||||
openapiclient "github.com/sailpoint-oss/golang-sdk/v2"
|
||||
)
|
||||
|
||||
@@ -774,7 +774,7 @@ func main() {
|
||||
|
||||
configuration := NewDefaultConfiguration()
|
||||
apiClient := NewAPIClient(configuration)
|
||||
resp, r, err := apiClient..ConfigurationHubAPI.GetDeploy(context.Background(), id).Execute()
|
||||
resp, r, err := apiClient.V2025.ConfigurationHubAPI.GetDeploy(context.Background(), id).Execute()
|
||||
if err != nil {
|
||||
fmt.Fprintf(os.Stderr, "Error when calling `ConfigurationHubAPI.GetDeploy``: %v\n", err)
|
||||
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
|
||||
@@ -793,7 +793,7 @@ Source org should be "default" when getting object mappings that are not associa
|
||||
The request will need the following security scope:
|
||||
- sp:config-object-mapping:read
|
||||
|
||||
[API Spec](https://developer.sailpoint.com/docs/api//get-object-mappings)
|
||||
[API Spec](https://developer.sailpoint.com/docs/api/v2025/get-object-mappings)
|
||||
|
||||
### Path Parameters
|
||||
|
||||
@@ -830,7 +830,7 @@ import (
|
||||
"context"
|
||||
"fmt"
|
||||
"os"
|
||||
""
|
||||
v2025 "github.com/sailpoint-oss/golang-sdk/v2/api_v2025"
|
||||
openapiclient "github.com/sailpoint-oss/golang-sdk/v2"
|
||||
)
|
||||
|
||||
@@ -839,7 +839,7 @@ func main() {
|
||||
|
||||
configuration := NewDefaultConfiguration()
|
||||
apiClient := NewAPIClient(configuration)
|
||||
resp, r, err := apiClient..ConfigurationHubAPI.GetObjectMappings(context.Background(), sourceOrg).Execute()
|
||||
resp, r, err := apiClient.V2025.ConfigurationHubAPI.GetObjectMappings(context.Background(), sourceOrg).Execute()
|
||||
if err != nil {
|
||||
fmt.Fprintf(os.Stderr, "Error when calling `ConfigurationHubAPI.GetObjectMappings``: %v\n", err)
|
||||
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
|
||||
@@ -855,7 +855,7 @@ func main() {
|
||||
Get an Uploaded Configuration
|
||||
This API gets an existing uploaded configuration for the current tenant.
|
||||
|
||||
[API Spec](https://developer.sailpoint.com/docs/api//get-uploaded-configuration)
|
||||
[API Spec](https://developer.sailpoint.com/docs/api/v2025/get-uploaded-configuration)
|
||||
|
||||
### Path Parameters
|
||||
|
||||
@@ -892,7 +892,7 @@ import (
|
||||
"context"
|
||||
"fmt"
|
||||
"os"
|
||||
""
|
||||
v2025 "github.com/sailpoint-oss/golang-sdk/v2/api_v2025"
|
||||
openapiclient "github.com/sailpoint-oss/golang-sdk/v2"
|
||||
)
|
||||
|
||||
@@ -901,7 +901,7 @@ func main() {
|
||||
|
||||
configuration := NewDefaultConfiguration()
|
||||
apiClient := NewAPIClient(configuration)
|
||||
resp, r, err := apiClient..ConfigurationHubAPI.GetUploadedConfiguration(context.Background(), id).Execute()
|
||||
resp, r, err := apiClient.V2025.ConfigurationHubAPI.GetUploadedConfiguration(context.Background(), id).Execute()
|
||||
if err != nil {
|
||||
fmt.Fprintf(os.Stderr, "Error when calling `ConfigurationHubAPI.GetUploadedConfiguration``: %v\n", err)
|
||||
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
|
||||
@@ -917,7 +917,7 @@ func main() {
|
||||
List Backups
|
||||
This API gets a list of existing backups for the current tenant.
|
||||
|
||||
[API Spec](https://developer.sailpoint.com/docs/api//list-backups)
|
||||
[API Spec](https://developer.sailpoint.com/docs/api/v2025/list-backups)
|
||||
|
||||
### Path Parameters
|
||||
|
||||
@@ -950,7 +950,7 @@ import (
|
||||
"context"
|
||||
"fmt"
|
||||
"os"
|
||||
""
|
||||
v2025 "github.com/sailpoint-oss/golang-sdk/v2/api_v2025"
|
||||
openapiclient "github.com/sailpoint-oss/golang-sdk/v2"
|
||||
)
|
||||
|
||||
@@ -959,7 +959,7 @@ func main() {
|
||||
|
||||
configuration := NewDefaultConfiguration()
|
||||
apiClient := NewAPIClient(configuration)
|
||||
resp, r, err := apiClient..ConfigurationHubAPI.ListBackups(context.Background()).Filters(filters).Execute()
|
||||
resp, r, err := apiClient.V2025.ConfigurationHubAPI.ListBackups(context.Background()).Filters(filters).Execute()
|
||||
if err != nil {
|
||||
fmt.Fprintf(os.Stderr, "Error when calling `ConfigurationHubAPI.ListBackups``: %v\n", err)
|
||||
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
|
||||
@@ -975,7 +975,7 @@ func main() {
|
||||
List Deploys
|
||||
This API gets a list of deploys for the current tenant.
|
||||
|
||||
[API Spec](https://developer.sailpoint.com/docs/api//list-deploys)
|
||||
[API Spec](https://developer.sailpoint.com/docs/api/v2025/list-deploys)
|
||||
|
||||
### Path Parameters
|
||||
|
||||
@@ -1004,7 +1004,7 @@ import (
|
||||
"context"
|
||||
"fmt"
|
||||
"os"
|
||||
""
|
||||
v2025 "github.com/sailpoint-oss/golang-sdk/v2/api_v2025"
|
||||
openapiclient "github.com/sailpoint-oss/golang-sdk/v2"
|
||||
)
|
||||
|
||||
@@ -1012,7 +1012,7 @@ func main() {
|
||||
|
||||
configuration := NewDefaultConfiguration()
|
||||
apiClient := NewAPIClient(configuration)
|
||||
resp, r, err := apiClient..ConfigurationHubAPI.ListDeploys(context.Background()).Execute()
|
||||
resp, r, err := apiClient.V2025.ConfigurationHubAPI.ListDeploys(context.Background()).Execute()
|
||||
if err != nil {
|
||||
fmt.Fprintf(os.Stderr, "Error when calling `ConfigurationHubAPI.ListDeploys``: %v\n", err)
|
||||
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
|
||||
@@ -1028,7 +1028,7 @@ func main() {
|
||||
List Drafts
|
||||
This API gets a list of existing drafts for the current tenant.
|
||||
|
||||
[API Spec](https://developer.sailpoint.com/docs/api//list-drafts)
|
||||
[API Spec](https://developer.sailpoint.com/docs/api/v2025/list-drafts)
|
||||
|
||||
### Path Parameters
|
||||
|
||||
@@ -1061,7 +1061,7 @@ import (
|
||||
"context"
|
||||
"fmt"
|
||||
"os"
|
||||
""
|
||||
v2025 "github.com/sailpoint-oss/golang-sdk/v2/api_v2025"
|
||||
openapiclient "github.com/sailpoint-oss/golang-sdk/v2"
|
||||
)
|
||||
|
||||
@@ -1070,7 +1070,7 @@ func main() {
|
||||
|
||||
configuration := NewDefaultConfiguration()
|
||||
apiClient := NewAPIClient(configuration)
|
||||
resp, r, err := apiClient..ConfigurationHubAPI.ListDrafts(context.Background()).Filters(filters).Execute()
|
||||
resp, r, err := apiClient.V2025.ConfigurationHubAPI.ListDrafts(context.Background()).Filters(filters).Execute()
|
||||
if err != nil {
|
||||
fmt.Fprintf(os.Stderr, "Error when calling `ConfigurationHubAPI.ListDrafts``: %v\n", err)
|
||||
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
|
||||
@@ -1086,7 +1086,7 @@ func main() {
|
||||
List Scheduled Actions
|
||||
This API gets a list of existing scheduled actions for the current tenant.
|
||||
|
||||
[API Spec](https://developer.sailpoint.com/docs/api//list-scheduled-actions)
|
||||
[API Spec](https://developer.sailpoint.com/docs/api/v2025/list-scheduled-actions)
|
||||
|
||||
### Path Parameters
|
||||
|
||||
@@ -1115,7 +1115,7 @@ import (
|
||||
"context"
|
||||
"fmt"
|
||||
"os"
|
||||
""
|
||||
v2025 "github.com/sailpoint-oss/golang-sdk/v2/api_v2025"
|
||||
openapiclient "github.com/sailpoint-oss/golang-sdk/v2"
|
||||
)
|
||||
|
||||
@@ -1123,7 +1123,7 @@ func main() {
|
||||
|
||||
configuration := NewDefaultConfiguration()
|
||||
apiClient := NewAPIClient(configuration)
|
||||
resp, r, err := apiClient..ConfigurationHubAPI.ListScheduledActions(context.Background()).Execute()
|
||||
resp, r, err := apiClient.V2025.ConfigurationHubAPI.ListScheduledActions(context.Background()).Execute()
|
||||
if err != nil {
|
||||
fmt.Fprintf(os.Stderr, "Error when calling `ConfigurationHubAPI.ListScheduledActions``: %v\n", err)
|
||||
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
|
||||
@@ -1139,7 +1139,7 @@ func main() {
|
||||
List Uploaded Configurations
|
||||
This API gets a list of existing uploaded configurations for the current tenant.
|
||||
|
||||
[API Spec](https://developer.sailpoint.com/docs/api//list-uploaded-configurations)
|
||||
[API Spec](https://developer.sailpoint.com/docs/api/v2025/list-uploaded-configurations)
|
||||
|
||||
### Path Parameters
|
||||
|
||||
@@ -1172,7 +1172,7 @@ import (
|
||||
"context"
|
||||
"fmt"
|
||||
"os"
|
||||
""
|
||||
v2025 "github.com/sailpoint-oss/golang-sdk/v2/api_v2025"
|
||||
openapiclient "github.com/sailpoint-oss/golang-sdk/v2"
|
||||
)
|
||||
|
||||
@@ -1181,7 +1181,7 @@ func main() {
|
||||
|
||||
configuration := NewDefaultConfiguration()
|
||||
apiClient := NewAPIClient(configuration)
|
||||
resp, r, err := apiClient..ConfigurationHubAPI.ListUploadedConfigurations(context.Background()).Filters(filters).Execute()
|
||||
resp, r, err := apiClient.V2025.ConfigurationHubAPI.ListUploadedConfigurations(context.Background()).Filters(filters).Execute()
|
||||
if err != nil {
|
||||
fmt.Fprintf(os.Stderr, "Error when calling `ConfigurationHubAPI.ListUploadedConfigurations``: %v\n", err)
|
||||
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
|
||||
@@ -1200,7 +1200,7 @@ Source org should be "default" when updating object mappings that are not associ
|
||||
The request will need the following security scope:
|
||||
- sp:config-object-mapping:manage
|
||||
|
||||
[API Spec](https://developer.sailpoint.com/docs/api//update-object-mappings)
|
||||
[API Spec](https://developer.sailpoint.com/docs/api/v2025/update-object-mappings)
|
||||
|
||||
### Path Parameters
|
||||
|
||||
@@ -1238,7 +1238,7 @@ import (
|
||||
"context"
|
||||
"fmt"
|
||||
"os"
|
||||
""
|
||||
v2025 "github.com/sailpoint-oss/golang-sdk/v2/api_v2025"
|
||||
openapiclient "github.com/sailpoint-oss/golang-sdk/v2"
|
||||
)
|
||||
|
||||
@@ -1261,7 +1261,7 @@ func main() {
|
||||
|
||||
configuration := NewDefaultConfiguration()
|
||||
apiClient := NewAPIClient(configuration)
|
||||
resp, r, err := apiClient..ConfigurationHubAPI.UpdateObjectMappings(context.Background(), sourceOrg).ObjectMappingBulkPatchRequest(objectMappingBulkPatchRequest).Execute()
|
||||
resp, r, err := apiClient.V2025.ConfigurationHubAPI.UpdateObjectMappings(context.Background(), sourceOrg).ObjectMappingBulkPatchRequest(objectMappingBulkPatchRequest).Execute()
|
||||
if err != nil {
|
||||
fmt.Fprintf(os.Stderr, "Error when calling `ConfigurationHubAPI.UpdateObjectMappings``: %v\n", err)
|
||||
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
|
||||
@@ -1277,7 +1277,7 @@ func main() {
|
||||
Update Scheduled Action
|
||||
This API updates an existing scheduled action using JSON Patch format.
|
||||
|
||||
[API Spec](https://developer.sailpoint.com/docs/api//update-scheduled-action)
|
||||
[API Spec](https://developer.sailpoint.com/docs/api/v2025/update-scheduled-action)
|
||||
|
||||
### Path Parameters
|
||||
|
||||
@@ -1315,7 +1315,7 @@ import (
|
||||
"context"
|
||||
"fmt"
|
||||
"os"
|
||||
""
|
||||
v2025 "github.com/sailpoint-oss/golang-sdk/v2/api_v2025"
|
||||
openapiclient "github.com/sailpoint-oss/golang-sdk/v2"
|
||||
)
|
||||
|
||||
@@ -1335,7 +1335,7 @@ func main() {
|
||||
|
||||
configuration := NewDefaultConfiguration()
|
||||
apiClient := NewAPIClient(configuration)
|
||||
resp, r, err := apiClient..ConfigurationHubAPI.UpdateScheduledAction(context.Background(), scheduledActionId).JsonPatch(jsonPatch).Execute()
|
||||
resp, r, err := apiClient.V2025.ConfigurationHubAPI.UpdateScheduledAction(context.Background(), scheduledActionId).JsonPatch(jsonPatch).Execute()
|
||||
if err != nil {
|
||||
fmt.Fprintf(os.Stderr, "Error when calling `ConfigurationHubAPI.UpdateScheduledAction``: %v\n", err)
|
||||
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
|
||||
|
||||
@@ -1,12 +1,12 @@
|
||||
---
|
||||
id: connector-customizers
|
||||
id: v2025-connector-customizers
|
||||
title: ConnectorCustomizers
|
||||
pagination_label: ConnectorCustomizers
|
||||
sidebar_label: ConnectorCustomizers
|
||||
sidebar_class_name: gosdk
|
||||
keywords: ['go', 'Golang', 'sdk', 'ConnectorCustomizers', 'ConnectorCustomizers']
|
||||
slug: /tools/sdk/go//methods/connector-customizers
|
||||
tags: ['SDK', 'Software Development Kit', 'ConnectorCustomizers', 'ConnectorCustomizers']
|
||||
keywords: ['go', 'Golang', 'sdk', 'ConnectorCustomizers', 'V2025ConnectorCustomizers']
|
||||
slug: /tools/sdk/go/v2025/methods/connector-customizers
|
||||
tags: ['SDK', 'Software Development Kit', 'ConnectorCustomizers', 'V2025ConnectorCustomizers']
|
||||
---
|
||||
|
||||
# ConnectorCustomizersAPI
|
||||
@@ -30,7 +30,7 @@ Method | HTTP request | Description
|
||||
Create Connector Customizer
|
||||
Create a connector customizer.
|
||||
|
||||
[API Spec](https://developer.sailpoint.com/docs/api//create-connector-customizer)
|
||||
[API Spec](https://developer.sailpoint.com/docs/api/v2025/create-connector-customizer)
|
||||
|
||||
### Path Parameters
|
||||
|
||||
@@ -63,7 +63,7 @@ import (
|
||||
"context"
|
||||
"fmt"
|
||||
"os"
|
||||
""
|
||||
v2025 "github.com/sailpoint-oss/golang-sdk/v2/api_v2025"
|
||||
openapiclient "github.com/sailpoint-oss/golang-sdk/v2"
|
||||
)
|
||||
|
||||
@@ -74,7 +74,7 @@ func main() {
|
||||
|
||||
configuration := NewDefaultConfiguration()
|
||||
apiClient := NewAPIClient(configuration)
|
||||
resp, r, err := apiClient..ConnectorCustomizersAPI.CreateConnectorCustomizer(context.Background()).ConnectorCustomizerCreateRequest(connectorCustomizerCreateRequest).Execute()
|
||||
resp, r, err := apiClient.V2025.ConnectorCustomizersAPI.CreateConnectorCustomizer(context.Background()).ConnectorCustomizerCreateRequest(connectorCustomizerCreateRequest).Execute()
|
||||
if err != nil {
|
||||
fmt.Fprintf(os.Stderr, "Error when calling `ConnectorCustomizersAPI.CreateConnectorCustomizer``: %v\n", err)
|
||||
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
|
||||
@@ -90,7 +90,7 @@ func main() {
|
||||
Creates a connector customizer version
|
||||
Creates a new version for the customizer.
|
||||
|
||||
[API Spec](https://developer.sailpoint.com/docs/api//create-connector-customizer-version)
|
||||
[API Spec](https://developer.sailpoint.com/docs/api/v2025/create-connector-customizer-version)
|
||||
|
||||
### Path Parameters
|
||||
|
||||
@@ -127,7 +127,7 @@ import (
|
||||
"context"
|
||||
"fmt"
|
||||
"os"
|
||||
""
|
||||
v2025 "github.com/sailpoint-oss/golang-sdk/v2/api_v2025"
|
||||
openapiclient "github.com/sailpoint-oss/golang-sdk/v2"
|
||||
)
|
||||
|
||||
@@ -136,7 +136,7 @@ func main() {
|
||||
|
||||
configuration := NewDefaultConfiguration()
|
||||
apiClient := NewAPIClient(configuration)
|
||||
resp, r, err := apiClient..ConnectorCustomizersAPI.CreateConnectorCustomizerVersion(context.Background(), id).Execute()
|
||||
resp, r, err := apiClient.V2025.ConnectorCustomizersAPI.CreateConnectorCustomizerVersion(context.Background(), id).Execute()
|
||||
if err != nil {
|
||||
fmt.Fprintf(os.Stderr, "Error when calling `ConnectorCustomizersAPI.CreateConnectorCustomizerVersion``: %v\n", err)
|
||||
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
|
||||
@@ -152,7 +152,7 @@ func main() {
|
||||
Delete Connector Customizer
|
||||
Delete the connector customizer for the given ID.
|
||||
|
||||
[API Spec](https://developer.sailpoint.com/docs/api//delete-connector-customizer)
|
||||
[API Spec](https://developer.sailpoint.com/docs/api/v2025/delete-connector-customizer)
|
||||
|
||||
### Path Parameters
|
||||
|
||||
@@ -189,7 +189,7 @@ import (
|
||||
"context"
|
||||
"fmt"
|
||||
"os"
|
||||
""
|
||||
v2025 "github.com/sailpoint-oss/golang-sdk/v2/api_v2025"
|
||||
openapiclient "github.com/sailpoint-oss/golang-sdk/v2"
|
||||
)
|
||||
|
||||
@@ -198,7 +198,7 @@ func main() {
|
||||
|
||||
configuration := NewDefaultConfiguration()
|
||||
apiClient := NewAPIClient(configuration)
|
||||
r, err := apiClient..ConnectorCustomizersAPI.DeleteConnectorCustomizer(context.Background(), id).Execute()
|
||||
r, err := apiClient.V2025.ConnectorCustomizersAPI.DeleteConnectorCustomizer(context.Background(), id).Execute()
|
||||
if err != nil {
|
||||
fmt.Fprintf(os.Stderr, "Error when calling `ConnectorCustomizersAPI.DeleteConnectorCustomizer``: %v\n", err)
|
||||
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
|
||||
@@ -212,7 +212,7 @@ func main() {
|
||||
Get connector customizer
|
||||
Gets connector customizer by ID.
|
||||
|
||||
[API Spec](https://developer.sailpoint.com/docs/api//get-connector-customizer)
|
||||
[API Spec](https://developer.sailpoint.com/docs/api/v2025/get-connector-customizer)
|
||||
|
||||
### Path Parameters
|
||||
|
||||
@@ -249,7 +249,7 @@ import (
|
||||
"context"
|
||||
"fmt"
|
||||
"os"
|
||||
""
|
||||
v2025 "github.com/sailpoint-oss/golang-sdk/v2/api_v2025"
|
||||
openapiclient "github.com/sailpoint-oss/golang-sdk/v2"
|
||||
)
|
||||
|
||||
@@ -258,7 +258,7 @@ func main() {
|
||||
|
||||
configuration := NewDefaultConfiguration()
|
||||
apiClient := NewAPIClient(configuration)
|
||||
resp, r, err := apiClient..ConnectorCustomizersAPI.GetConnectorCustomizer(context.Background(), id).Execute()
|
||||
resp, r, err := apiClient.V2025.ConnectorCustomizersAPI.GetConnectorCustomizer(context.Background(), id).Execute()
|
||||
if err != nil {
|
||||
fmt.Fprintf(os.Stderr, "Error when calling `ConnectorCustomizersAPI.GetConnectorCustomizer``: %v\n", err)
|
||||
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
|
||||
@@ -274,7 +274,7 @@ func main() {
|
||||
List All Connector Customizers
|
||||
List all connector customizers.
|
||||
|
||||
[API Spec](https://developer.sailpoint.com/docs/api//list-connector-customizers)
|
||||
[API Spec](https://developer.sailpoint.com/docs/api/v2025/list-connector-customizers)
|
||||
|
||||
### Path Parameters
|
||||
|
||||
@@ -308,7 +308,7 @@ import (
|
||||
"context"
|
||||
"fmt"
|
||||
"os"
|
||||
""
|
||||
v2025 "github.com/sailpoint-oss/golang-sdk/v2/api_v2025"
|
||||
openapiclient "github.com/sailpoint-oss/golang-sdk/v2"
|
||||
)
|
||||
|
||||
@@ -318,7 +318,7 @@ func main() {
|
||||
|
||||
configuration := NewDefaultConfiguration()
|
||||
apiClient := NewAPIClient(configuration)
|
||||
resp, r, err := apiClient..ConnectorCustomizersAPI.ListConnectorCustomizers(context.Background()).Offset(offset).Limit(limit).Execute()
|
||||
resp, r, err := apiClient.V2025.ConnectorCustomizersAPI.ListConnectorCustomizers(context.Background()).Offset(offset).Limit(limit).Execute()
|
||||
if err != nil {
|
||||
fmt.Fprintf(os.Stderr, "Error when calling `ConnectorCustomizersAPI.ListConnectorCustomizers``: %v\n", err)
|
||||
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
|
||||
@@ -334,7 +334,7 @@ func main() {
|
||||
Update Connector Customizer
|
||||
Update an existing connector customizer with the one provided in the request body. These fields are immutable: `id`, `name`, `type`.
|
||||
|
||||
[API Spec](https://developer.sailpoint.com/docs/api//put-connector-customizer)
|
||||
[API Spec](https://developer.sailpoint.com/docs/api/v2025/put-connector-customizer)
|
||||
|
||||
### Path Parameters
|
||||
|
||||
@@ -372,7 +372,7 @@ import (
|
||||
"context"
|
||||
"fmt"
|
||||
"os"
|
||||
""
|
||||
v2025 "github.com/sailpoint-oss/golang-sdk/v2/api_v2025"
|
||||
openapiclient "github.com/sailpoint-oss/golang-sdk/v2"
|
||||
)
|
||||
|
||||
@@ -384,7 +384,7 @@ func main() {
|
||||
|
||||
configuration := NewDefaultConfiguration()
|
||||
apiClient := NewAPIClient(configuration)
|
||||
resp, r, err := apiClient..ConnectorCustomizersAPI.PutConnectorCustomizer(context.Background(), id).ConnectorCustomizerUpdateRequest(connectorCustomizerUpdateRequest).Execute()
|
||||
resp, r, err := apiClient.V2025.ConnectorCustomizersAPI.PutConnectorCustomizer(context.Background(), id).ConnectorCustomizerUpdateRequest(connectorCustomizerUpdateRequest).Execute()
|
||||
if err != nil {
|
||||
fmt.Fprintf(os.Stderr, "Error when calling `ConnectorCustomizersAPI.PutConnectorCustomizer``: %v\n", err)
|
||||
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
|
||||
|
||||
@@ -1,12 +1,12 @@
|
||||
---
|
||||
id: connector-rule-management
|
||||
id: v2025-connector-rule-management
|
||||
title: ConnectorRuleManagement
|
||||
pagination_label: ConnectorRuleManagement
|
||||
sidebar_label: ConnectorRuleManagement
|
||||
sidebar_class_name: gosdk
|
||||
keywords: ['go', 'Golang', 'sdk', 'ConnectorRuleManagement', 'ConnectorRuleManagement']
|
||||
slug: /tools/sdk/go//methods/connector-rule-management
|
||||
tags: ['SDK', 'Software Development Kit', 'ConnectorRuleManagement', 'ConnectorRuleManagement']
|
||||
keywords: ['go', 'Golang', 'sdk', 'ConnectorRuleManagement', 'V2025ConnectorRuleManagement']
|
||||
slug: /tools/sdk/go/v2025/methods/connector-rule-management
|
||||
tags: ['SDK', 'Software Development Kit', 'ConnectorRuleManagement', 'V2025ConnectorRuleManagement']
|
||||
---
|
||||
|
||||
# ConnectorRuleManagementAPI
|
||||
@@ -34,7 +34,7 @@ Method | HTTP request | Description
|
||||
Create Connector Rule
|
||||
Create a connector rule from the available types.
|
||||
|
||||
[API Spec](https://developer.sailpoint.com/docs/api//create-connector-rule)
|
||||
[API Spec](https://developer.sailpoint.com/docs/api/v2025/create-connector-rule)
|
||||
|
||||
### Path Parameters
|
||||
|
||||
@@ -67,7 +67,7 @@ import (
|
||||
"context"
|
||||
"fmt"
|
||||
"os"
|
||||
""
|
||||
v2025 "github.com/sailpoint-oss/golang-sdk/v2/api_v2025"
|
||||
openapiclient "github.com/sailpoint-oss/golang-sdk/v2"
|
||||
)
|
||||
|
||||
@@ -101,7 +101,7 @@ func main() {
|
||||
|
||||
configuration := NewDefaultConfiguration()
|
||||
apiClient := NewAPIClient(configuration)
|
||||
resp, r, err := apiClient..ConnectorRuleManagementAPI.CreateConnectorRule(context.Background()).ConnectorRuleCreateRequest(connectorRuleCreateRequest).Execute()
|
||||
resp, r, err := apiClient.V2025.ConnectorRuleManagementAPI.CreateConnectorRule(context.Background()).ConnectorRuleCreateRequest(connectorRuleCreateRequest).Execute()
|
||||
if err != nil {
|
||||
fmt.Fprintf(os.Stderr, "Error when calling `ConnectorRuleManagementAPI.CreateConnectorRule``: %v\n", err)
|
||||
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
|
||||
@@ -117,7 +117,7 @@ func main() {
|
||||
Delete Connector Rule
|
||||
Delete the connector rule for the given ID.
|
||||
|
||||
[API Spec](https://developer.sailpoint.com/docs/api//delete-connector-rule)
|
||||
[API Spec](https://developer.sailpoint.com/docs/api/v2025/delete-connector-rule)
|
||||
|
||||
### Path Parameters
|
||||
|
||||
@@ -154,7 +154,7 @@ import (
|
||||
"context"
|
||||
"fmt"
|
||||
"os"
|
||||
""
|
||||
v2025 "github.com/sailpoint-oss/golang-sdk/v2/api_v2025"
|
||||
openapiclient "github.com/sailpoint-oss/golang-sdk/v2"
|
||||
)
|
||||
|
||||
@@ -163,7 +163,7 @@ func main() {
|
||||
|
||||
configuration := NewDefaultConfiguration()
|
||||
apiClient := NewAPIClient(configuration)
|
||||
r, err := apiClient..ConnectorRuleManagementAPI.DeleteConnectorRule(context.Background(), id).Execute()
|
||||
r, err := apiClient.V2025.ConnectorRuleManagementAPI.DeleteConnectorRule(context.Background(), id).Execute()
|
||||
if err != nil {
|
||||
fmt.Fprintf(os.Stderr, "Error when calling `ConnectorRuleManagementAPI.DeleteConnectorRule``: %v\n", err)
|
||||
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
|
||||
@@ -177,7 +177,7 @@ func main() {
|
||||
Get Connector Rule
|
||||
Get a connector rule by ID.
|
||||
|
||||
[API Spec](https://developer.sailpoint.com/docs/api//get-connector-rule)
|
||||
[API Spec](https://developer.sailpoint.com/docs/api/v2025/get-connector-rule)
|
||||
|
||||
### Path Parameters
|
||||
|
||||
@@ -214,7 +214,7 @@ import (
|
||||
"context"
|
||||
"fmt"
|
||||
"os"
|
||||
""
|
||||
v2025 "github.com/sailpoint-oss/golang-sdk/v2/api_v2025"
|
||||
openapiclient "github.com/sailpoint-oss/golang-sdk/v2"
|
||||
)
|
||||
|
||||
@@ -223,7 +223,7 @@ func main() {
|
||||
|
||||
configuration := NewDefaultConfiguration()
|
||||
apiClient := NewAPIClient(configuration)
|
||||
resp, r, err := apiClient..ConnectorRuleManagementAPI.GetConnectorRule(context.Background(), id).Execute()
|
||||
resp, r, err := apiClient.V2025.ConnectorRuleManagementAPI.GetConnectorRule(context.Background(), id).Execute()
|
||||
if err != nil {
|
||||
fmt.Fprintf(os.Stderr, "Error when calling `ConnectorRuleManagementAPI.GetConnectorRule``: %v\n", err)
|
||||
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
|
||||
@@ -239,7 +239,7 @@ func main() {
|
||||
List Connector Rules
|
||||
List existing connector rules.
|
||||
|
||||
[API Spec](https://developer.sailpoint.com/docs/api//get-connector-rule-list)
|
||||
[API Spec](https://developer.sailpoint.com/docs/api/v2025/get-connector-rule-list)
|
||||
|
||||
### Path Parameters
|
||||
|
||||
@@ -274,7 +274,7 @@ import (
|
||||
"context"
|
||||
"fmt"
|
||||
"os"
|
||||
""
|
||||
v2025 "github.com/sailpoint-oss/golang-sdk/v2/api_v2025"
|
||||
openapiclient "github.com/sailpoint-oss/golang-sdk/v2"
|
||||
)
|
||||
|
||||
@@ -285,7 +285,7 @@ func main() {
|
||||
|
||||
configuration := NewDefaultConfiguration()
|
||||
apiClient := NewAPIClient(configuration)
|
||||
resp, r, err := apiClient..ConnectorRuleManagementAPI.GetConnectorRuleList(context.Background()).Limit(limit).Offset(offset).Count(count).Execute()
|
||||
resp, r, err := apiClient.V2025.ConnectorRuleManagementAPI.GetConnectorRuleList(context.Background()).Limit(limit).Offset(offset).Count(count).Execute()
|
||||
if err != nil {
|
||||
fmt.Fprintf(os.Stderr, "Error when calling `ConnectorRuleManagementAPI.GetConnectorRuleList``: %v\n", err)
|
||||
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
|
||||
@@ -301,7 +301,7 @@ func main() {
|
||||
Update Connector Rule
|
||||
Update an existing connector rule with the one provided in the request body. These fields are immutable: `id`, `name`, `type`
|
||||
|
||||
[API Spec](https://developer.sailpoint.com/docs/api//put-connector-rule)
|
||||
[API Spec](https://developer.sailpoint.com/docs/api/v2025/put-connector-rule)
|
||||
|
||||
### Path Parameters
|
||||
|
||||
@@ -339,7 +339,7 @@ import (
|
||||
"context"
|
||||
"fmt"
|
||||
"os"
|
||||
""
|
||||
v2025 "github.com/sailpoint-oss/golang-sdk/v2/api_v2025"
|
||||
openapiclient "github.com/sailpoint-oss/golang-sdk/v2"
|
||||
)
|
||||
|
||||
@@ -375,7 +375,7 @@ func main() {
|
||||
|
||||
configuration := NewDefaultConfiguration()
|
||||
apiClient := NewAPIClient(configuration)
|
||||
resp, r, err := apiClient..ConnectorRuleManagementAPI.PutConnectorRule(context.Background(), id).ConnectorRuleUpdateRequest(connectorRuleUpdateRequest).Execute()
|
||||
resp, r, err := apiClient.V2025.ConnectorRuleManagementAPI.PutConnectorRule(context.Background(), id).ConnectorRuleUpdateRequest(connectorRuleUpdateRequest).Execute()
|
||||
if err != nil {
|
||||
fmt.Fprintf(os.Stderr, "Error when calling `ConnectorRuleManagementAPI.PutConnectorRule``: %v\n", err)
|
||||
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
|
||||
@@ -391,7 +391,7 @@ func main() {
|
||||
Validate Connector Rule
|
||||
Detect issues within the connector rule's code to fix and list them.
|
||||
|
||||
[API Spec](https://developer.sailpoint.com/docs/api//test-connector-rule)
|
||||
[API Spec](https://developer.sailpoint.com/docs/api/v2025/test-connector-rule)
|
||||
|
||||
### Path Parameters
|
||||
|
||||
@@ -424,7 +424,7 @@ import (
|
||||
"context"
|
||||
"fmt"
|
||||
"os"
|
||||
""
|
||||
v2025 "github.com/sailpoint-oss/golang-sdk/v2/api_v2025"
|
||||
openapiclient "github.com/sailpoint-oss/golang-sdk/v2"
|
||||
)
|
||||
|
||||
@@ -436,7 +436,7 @@ func main() {
|
||||
|
||||
configuration := NewDefaultConfiguration()
|
||||
apiClient := NewAPIClient(configuration)
|
||||
resp, r, err := apiClient..ConnectorRuleManagementAPI.TestConnectorRule(context.Background()).SourceCode(sourceCode).Execute()
|
||||
resp, r, err := apiClient.V2025.ConnectorRuleManagementAPI.TestConnectorRule(context.Background()).SourceCode(sourceCode).Execute()
|
||||
if err != nil {
|
||||
fmt.Fprintf(os.Stderr, "Error when calling `ConnectorRuleManagementAPI.TestConnectorRule``: %v\n", err)
|
||||
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
|
||||
|
||||
@@ -1,12 +1,12 @@
|
||||
---
|
||||
id: connectors
|
||||
id: v2025-connectors
|
||||
title: Connectors
|
||||
pagination_label: Connectors
|
||||
sidebar_label: Connectors
|
||||
sidebar_class_name: gosdk
|
||||
keywords: ['go', 'Golang', 'sdk', 'Connectors', 'Connectors']
|
||||
slug: /tools/sdk/go//methods/connectors
|
||||
tags: ['SDK', 'Software Development Kit', 'Connectors', 'Connectors']
|
||||
keywords: ['go', 'Golang', 'sdk', 'Connectors', 'V2025Connectors']
|
||||
slug: /tools/sdk/go/v2025/methods/connectors
|
||||
tags: ['SDK', 'Software Development Kit', 'Connectors', 'V2025Connectors']
|
||||
---
|
||||
|
||||
# ConnectorsAPI
|
||||
@@ -48,7 +48,7 @@ Method | HTTP request | Description
|
||||
Create Custom Connector
|
||||
Create custom connector.
|
||||
|
||||
[API Spec](https://developer.sailpoint.com/docs/api//create-custom-connector)
|
||||
[API Spec](https://developer.sailpoint.com/docs/api/v2025/create-custom-connector)
|
||||
|
||||
### Path Parameters
|
||||
|
||||
@@ -81,7 +81,7 @@ import (
|
||||
"context"
|
||||
"fmt"
|
||||
"os"
|
||||
""
|
||||
v2025 "github.com/sailpoint-oss/golang-sdk/v2/api_v2025"
|
||||
openapiclient "github.com/sailpoint-oss/golang-sdk/v2"
|
||||
)
|
||||
|
||||
@@ -96,7 +96,7 @@ func main() {
|
||||
|
||||
configuration := NewDefaultConfiguration()
|
||||
apiClient := NewAPIClient(configuration)
|
||||
resp, r, err := apiClient..ConnectorsAPI.CreateCustomConnector(context.Background()).V3CreateConnectorDto(v3CreateConnectorDto).Execute()
|
||||
resp, r, err := apiClient.V2025.ConnectorsAPI.CreateCustomConnector(context.Background()).V3CreateConnectorDto(v3CreateConnectorDto).Execute()
|
||||
if err != nil {
|
||||
fmt.Fprintf(os.Stderr, "Error when calling `ConnectorsAPI.CreateCustomConnector``: %v\n", err)
|
||||
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
|
||||
@@ -112,7 +112,7 @@ func main() {
|
||||
Delete Connector by Script Name
|
||||
Delete a custom connector that using its script name.
|
||||
|
||||
[API Spec](https://developer.sailpoint.com/docs/api//delete-custom-connector)
|
||||
[API Spec](https://developer.sailpoint.com/docs/api/v2025/delete-custom-connector)
|
||||
|
||||
### Path Parameters
|
||||
|
||||
@@ -149,7 +149,7 @@ import (
|
||||
"context"
|
||||
"fmt"
|
||||
"os"
|
||||
""
|
||||
v2025 "github.com/sailpoint-oss/golang-sdk/v2/api_v2025"
|
||||
openapiclient "github.com/sailpoint-oss/golang-sdk/v2"
|
||||
)
|
||||
|
||||
@@ -158,7 +158,7 @@ func main() {
|
||||
|
||||
configuration := NewDefaultConfiguration()
|
||||
apiClient := NewAPIClient(configuration)
|
||||
r, err := apiClient..ConnectorsAPI.DeleteCustomConnector(context.Background(), scriptName).Execute()
|
||||
r, err := apiClient.V2025.ConnectorsAPI.DeleteCustomConnector(context.Background(), scriptName).Execute()
|
||||
if err != nil {
|
||||
fmt.Fprintf(os.Stderr, "Error when calling `ConnectorsAPI.DeleteCustomConnector``: %v\n", err)
|
||||
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
|
||||
@@ -172,7 +172,7 @@ func main() {
|
||||
Get Connector by Script Name
|
||||
Fetches a connector that using its script name.
|
||||
|
||||
[API Spec](https://developer.sailpoint.com/docs/api//get-connector)
|
||||
[API Spec](https://developer.sailpoint.com/docs/api/v2025/get-connector)
|
||||
|
||||
### Path Parameters
|
||||
|
||||
@@ -210,7 +210,7 @@ import (
|
||||
"context"
|
||||
"fmt"
|
||||
"os"
|
||||
""
|
||||
v2025 "github.com/sailpoint-oss/golang-sdk/v2/api_v2025"
|
||||
openapiclient "github.com/sailpoint-oss/golang-sdk/v2"
|
||||
)
|
||||
|
||||
@@ -220,7 +220,7 @@ func main() {
|
||||
|
||||
configuration := NewDefaultConfiguration()
|
||||
apiClient := NewAPIClient(configuration)
|
||||
resp, r, err := apiClient..ConnectorsAPI.GetConnector(context.Background(), scriptName).Locale(locale).Execute()
|
||||
resp, r, err := apiClient.V2025.ConnectorsAPI.GetConnector(context.Background(), scriptName).Locale(locale).Execute()
|
||||
if err != nil {
|
||||
fmt.Fprintf(os.Stderr, "Error when calling `ConnectorsAPI.GetConnector``: %v\n", err)
|
||||
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
|
||||
@@ -236,7 +236,7 @@ func main() {
|
||||
Get Connector Correlation Configuration
|
||||
Fetches a connector's correlation config using its script name.
|
||||
|
||||
[API Spec](https://developer.sailpoint.com/docs/api//get-connector-correlation-config)
|
||||
[API Spec](https://developer.sailpoint.com/docs/api/v2025/get-connector-correlation-config)
|
||||
|
||||
### Path Parameters
|
||||
|
||||
@@ -273,7 +273,7 @@ import (
|
||||
"context"
|
||||
"fmt"
|
||||
"os"
|
||||
""
|
||||
v2025 "github.com/sailpoint-oss/golang-sdk/v2/api_v2025"
|
||||
openapiclient "github.com/sailpoint-oss/golang-sdk/v2"
|
||||
)
|
||||
|
||||
@@ -282,7 +282,7 @@ func main() {
|
||||
|
||||
configuration := NewDefaultConfiguration()
|
||||
apiClient := NewAPIClient(configuration)
|
||||
resp, r, err := apiClient..ConnectorsAPI.GetConnectorCorrelationConfig(context.Background(), scriptName).Execute()
|
||||
resp, r, err := apiClient.V2025.ConnectorsAPI.GetConnectorCorrelationConfig(context.Background(), scriptName).Execute()
|
||||
if err != nil {
|
||||
fmt.Fprintf(os.Stderr, "Error when calling `ConnectorsAPI.GetConnectorCorrelationConfig``: %v\n", err)
|
||||
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
|
||||
@@ -298,7 +298,7 @@ func main() {
|
||||
Get Connector List
|
||||
Fetches list of connectors that have 'RELEASED' status using filtering and pagination.
|
||||
|
||||
[API Spec](https://developer.sailpoint.com/docs/api//get-connector-list)
|
||||
[API Spec](https://developer.sailpoint.com/docs/api/v2025/get-connector-list)
|
||||
|
||||
### Path Parameters
|
||||
|
||||
@@ -335,7 +335,7 @@ import (
|
||||
"context"
|
||||
"fmt"
|
||||
"os"
|
||||
""
|
||||
v2025 "github.com/sailpoint-oss/golang-sdk/v2/api_v2025"
|
||||
openapiclient "github.com/sailpoint-oss/golang-sdk/v2"
|
||||
)
|
||||
|
||||
@@ -348,7 +348,7 @@ func main() {
|
||||
|
||||
configuration := NewDefaultConfiguration()
|
||||
apiClient := NewAPIClient(configuration)
|
||||
resp, r, err := apiClient..ConnectorsAPI.GetConnectorList(context.Background()).Filters(filters).Limit(limit).Offset(offset).Count(count).Locale(locale).Execute()
|
||||
resp, r, err := apiClient.V2025.ConnectorsAPI.GetConnectorList(context.Background()).Filters(filters).Limit(limit).Offset(offset).Count(count).Locale(locale).Execute()
|
||||
if err != nil {
|
||||
fmt.Fprintf(os.Stderr, "Error when calling `ConnectorsAPI.GetConnectorList``: %v\n", err)
|
||||
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
|
||||
@@ -364,7 +364,7 @@ func main() {
|
||||
Get Connector Source Configuration
|
||||
Fetches a connector's source config using its script name.
|
||||
|
||||
[API Spec](https://developer.sailpoint.com/docs/api//get-connector-source-config)
|
||||
[API Spec](https://developer.sailpoint.com/docs/api/v2025/get-connector-source-config)
|
||||
|
||||
### Path Parameters
|
||||
|
||||
@@ -401,7 +401,7 @@ import (
|
||||
"context"
|
||||
"fmt"
|
||||
"os"
|
||||
""
|
||||
v2025 "github.com/sailpoint-oss/golang-sdk/v2/api_v2025"
|
||||
openapiclient "github.com/sailpoint-oss/golang-sdk/v2"
|
||||
)
|
||||
|
||||
@@ -410,7 +410,7 @@ func main() {
|
||||
|
||||
configuration := NewDefaultConfiguration()
|
||||
apiClient := NewAPIClient(configuration)
|
||||
resp, r, err := apiClient..ConnectorsAPI.GetConnectorSourceConfig(context.Background(), scriptName).Execute()
|
||||
resp, r, err := apiClient.V2025.ConnectorsAPI.GetConnectorSourceConfig(context.Background(), scriptName).Execute()
|
||||
if err != nil {
|
||||
fmt.Fprintf(os.Stderr, "Error when calling `ConnectorsAPI.GetConnectorSourceConfig``: %v\n", err)
|
||||
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
|
||||
@@ -426,7 +426,7 @@ func main() {
|
||||
Get Connector Source Template
|
||||
Fetches a connector's source template using its script name.
|
||||
|
||||
[API Spec](https://developer.sailpoint.com/docs/api//get-connector-source-template)
|
||||
[API Spec](https://developer.sailpoint.com/docs/api/v2025/get-connector-source-template)
|
||||
|
||||
### Path Parameters
|
||||
|
||||
@@ -463,7 +463,7 @@ import (
|
||||
"context"
|
||||
"fmt"
|
||||
"os"
|
||||
""
|
||||
v2025 "github.com/sailpoint-oss/golang-sdk/v2/api_v2025"
|
||||
openapiclient "github.com/sailpoint-oss/golang-sdk/v2"
|
||||
)
|
||||
|
||||
@@ -472,7 +472,7 @@ func main() {
|
||||
|
||||
configuration := NewDefaultConfiguration()
|
||||
apiClient := NewAPIClient(configuration)
|
||||
resp, r, err := apiClient..ConnectorsAPI.GetConnectorSourceTemplate(context.Background(), scriptName).Execute()
|
||||
resp, r, err := apiClient.V2025.ConnectorsAPI.GetConnectorSourceTemplate(context.Background(), scriptName).Execute()
|
||||
if err != nil {
|
||||
fmt.Fprintf(os.Stderr, "Error when calling `ConnectorsAPI.GetConnectorSourceTemplate``: %v\n", err)
|
||||
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
|
||||
@@ -488,7 +488,7 @@ func main() {
|
||||
Get Connector Translations
|
||||
Fetches a connector's translations using its script name.
|
||||
|
||||
[API Spec](https://developer.sailpoint.com/docs/api//get-connector-translations)
|
||||
[API Spec](https://developer.sailpoint.com/docs/api/v2025/get-connector-translations)
|
||||
|
||||
### Path Parameters
|
||||
|
||||
@@ -527,7 +527,7 @@ import (
|
||||
"context"
|
||||
"fmt"
|
||||
"os"
|
||||
""
|
||||
v2025 "github.com/sailpoint-oss/golang-sdk/v2/api_v2025"
|
||||
openapiclient "github.com/sailpoint-oss/golang-sdk/v2"
|
||||
)
|
||||
|
||||
@@ -537,7 +537,7 @@ func main() {
|
||||
|
||||
configuration := NewDefaultConfiguration()
|
||||
apiClient := NewAPIClient(configuration)
|
||||
resp, r, err := apiClient..ConnectorsAPI.GetConnectorTranslations(context.Background(), scriptName, locale).Execute()
|
||||
resp, r, err := apiClient.V2025.ConnectorsAPI.GetConnectorTranslations(context.Background(), scriptName, locale).Execute()
|
||||
if err != nil {
|
||||
fmt.Fprintf(os.Stderr, "Error when calling `ConnectorsAPI.GetConnectorTranslations``: %v\n", err)
|
||||
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
|
||||
@@ -553,7 +553,7 @@ func main() {
|
||||
Update Connector Correlation Configuration
|
||||
Update a connector's correlation config using its script name.
|
||||
|
||||
[API Spec](https://developer.sailpoint.com/docs/api//put-connector-correlation-config)
|
||||
[API Spec](https://developer.sailpoint.com/docs/api/v2025/put-connector-correlation-config)
|
||||
|
||||
### Path Parameters
|
||||
|
||||
@@ -591,7 +591,7 @@ import (
|
||||
"context"
|
||||
"fmt"
|
||||
"os"
|
||||
""
|
||||
v2025 "github.com/sailpoint-oss/golang-sdk/v2/api_v2025"
|
||||
openapiclient "github.com/sailpoint-oss/golang-sdk/v2"
|
||||
)
|
||||
|
||||
@@ -601,7 +601,7 @@ func main() {
|
||||
|
||||
configuration := NewDefaultConfiguration()
|
||||
apiClient := NewAPIClient(configuration)
|
||||
resp, r, err := apiClient..ConnectorsAPI.PutConnectorCorrelationConfig(context.Background(), scriptName).File(file).Execute()
|
||||
resp, r, err := apiClient.V2025.ConnectorsAPI.PutConnectorCorrelationConfig(context.Background(), scriptName).File(file).Execute()
|
||||
if err != nil {
|
||||
fmt.Fprintf(os.Stderr, "Error when calling `ConnectorsAPI.PutConnectorCorrelationConfig``: %v\n", err)
|
||||
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
|
||||
@@ -617,7 +617,7 @@ func main() {
|
||||
Update Connector Source Configuration
|
||||
Update a connector's source config using its script name.
|
||||
|
||||
[API Spec](https://developer.sailpoint.com/docs/api//put-connector-source-config)
|
||||
[API Spec](https://developer.sailpoint.com/docs/api/v2025/put-connector-source-config)
|
||||
|
||||
### Path Parameters
|
||||
|
||||
@@ -655,7 +655,7 @@ import (
|
||||
"context"
|
||||
"fmt"
|
||||
"os"
|
||||
""
|
||||
v2025 "github.com/sailpoint-oss/golang-sdk/v2/api_v2025"
|
||||
openapiclient "github.com/sailpoint-oss/golang-sdk/v2"
|
||||
)
|
||||
|
||||
@@ -665,7 +665,7 @@ func main() {
|
||||
|
||||
configuration := NewDefaultConfiguration()
|
||||
apiClient := NewAPIClient(configuration)
|
||||
resp, r, err := apiClient..ConnectorsAPI.PutConnectorSourceConfig(context.Background(), scriptName).File(file).Execute()
|
||||
resp, r, err := apiClient.V2025.ConnectorsAPI.PutConnectorSourceConfig(context.Background(), scriptName).File(file).Execute()
|
||||
if err != nil {
|
||||
fmt.Fprintf(os.Stderr, "Error when calling `ConnectorsAPI.PutConnectorSourceConfig``: %v\n", err)
|
||||
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
|
||||
@@ -681,7 +681,7 @@ func main() {
|
||||
Update Connector Source Template
|
||||
Update a connector's source template using its script name.
|
||||
|
||||
[API Spec](https://developer.sailpoint.com/docs/api//put-connector-source-template)
|
||||
[API Spec](https://developer.sailpoint.com/docs/api/v2025/put-connector-source-template)
|
||||
|
||||
### Path Parameters
|
||||
|
||||
@@ -719,7 +719,7 @@ import (
|
||||
"context"
|
||||
"fmt"
|
||||
"os"
|
||||
""
|
||||
v2025 "github.com/sailpoint-oss/golang-sdk/v2/api_v2025"
|
||||
openapiclient "github.com/sailpoint-oss/golang-sdk/v2"
|
||||
)
|
||||
|
||||
@@ -729,7 +729,7 @@ func main() {
|
||||
|
||||
configuration := NewDefaultConfiguration()
|
||||
apiClient := NewAPIClient(configuration)
|
||||
resp, r, err := apiClient..ConnectorsAPI.PutConnectorSourceTemplate(context.Background(), scriptName).File(file).Execute()
|
||||
resp, r, err := apiClient.V2025.ConnectorsAPI.PutConnectorSourceTemplate(context.Background(), scriptName).File(file).Execute()
|
||||
if err != nil {
|
||||
fmt.Fprintf(os.Stderr, "Error when calling `ConnectorsAPI.PutConnectorSourceTemplate``: %v\n", err)
|
||||
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
|
||||
@@ -745,7 +745,7 @@ func main() {
|
||||
Update Connector Translations
|
||||
Update a connector's translations using its script name.
|
||||
|
||||
[API Spec](https://developer.sailpoint.com/docs/api//put-connector-translations)
|
||||
[API Spec](https://developer.sailpoint.com/docs/api/v2025/put-connector-translations)
|
||||
|
||||
### Path Parameters
|
||||
|
||||
@@ -784,7 +784,7 @@ import (
|
||||
"context"
|
||||
"fmt"
|
||||
"os"
|
||||
""
|
||||
v2025 "github.com/sailpoint-oss/golang-sdk/v2/api_v2025"
|
||||
openapiclient "github.com/sailpoint-oss/golang-sdk/v2"
|
||||
)
|
||||
|
||||
@@ -794,7 +794,7 @@ func main() {
|
||||
|
||||
configuration := NewDefaultConfiguration()
|
||||
apiClient := NewAPIClient(configuration)
|
||||
resp, r, err := apiClient..ConnectorsAPI.PutConnectorTranslations(context.Background(), scriptName, locale).Execute()
|
||||
resp, r, err := apiClient.V2025.ConnectorsAPI.PutConnectorTranslations(context.Background(), scriptName, locale).Execute()
|
||||
if err != nil {
|
||||
fmt.Fprintf(os.Stderr, "Error when calling `ConnectorsAPI.PutConnectorTranslations``: %v\n", err)
|
||||
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
|
||||
@@ -822,7 +822,7 @@ The following fields are patchable:
|
||||
* sourceConfigXml
|
||||
|
||||
|
||||
[API Spec](https://developer.sailpoint.com/docs/api//update-connector)
|
||||
[API Spec](https://developer.sailpoint.com/docs/api/v2025/update-connector)
|
||||
|
||||
### Path Parameters
|
||||
|
||||
@@ -860,7 +860,7 @@ import (
|
||||
"context"
|
||||
"fmt"
|
||||
"os"
|
||||
""
|
||||
v2025 "github.com/sailpoint-oss/golang-sdk/v2/api_v2025"
|
||||
openapiclient "github.com/sailpoint-oss/golang-sdk/v2"
|
||||
)
|
||||
|
||||
@@ -870,7 +870,7 @@ func main() {
|
||||
|
||||
configuration := NewDefaultConfiguration()
|
||||
apiClient := NewAPIClient(configuration)
|
||||
resp, r, err := apiClient..ConnectorsAPI.UpdateConnector(context.Background(), scriptName).JsonPatchOperation(jsonPatchOperation).Execute()
|
||||
resp, r, err := apiClient.V2025.ConnectorsAPI.UpdateConnector(context.Background(), scriptName).JsonPatchOperation(jsonPatchOperation).Execute()
|
||||
if err != nil {
|
||||
fmt.Fprintf(os.Stderr, "Error when calling `ConnectorsAPI.UpdateConnector``: %v\n", err)
|
||||
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
|
||||
|
||||
@@ -1,12 +1,12 @@
|
||||
---
|
||||
id: custom-forms
|
||||
id: v2025-custom-forms
|
||||
title: CustomForms
|
||||
pagination_label: CustomForms
|
||||
sidebar_label: CustomForms
|
||||
sidebar_class_name: gosdk
|
||||
keywords: ['go', 'Golang', 'sdk', 'CustomForms', 'CustomForms']
|
||||
slug: /tools/sdk/go//methods/custom-forms
|
||||
tags: ['SDK', 'Software Development Kit', 'CustomForms', 'CustomForms']
|
||||
keywords: ['go', 'Golang', 'sdk', 'CustomForms', 'V2025CustomForms']
|
||||
slug: /tools/sdk/go/v2025/methods/custom-forms
|
||||
tags: ['SDK', 'Software Development Kit', 'CustomForms', 'V2025CustomForms']
|
||||
---
|
||||
|
||||
# CustomFormsAPI
|
||||
@@ -47,7 +47,7 @@ Method | HTTP request | Description
|
||||
Creates a form definition.
|
||||
|
||||
|
||||
[API Spec](https://developer.sailpoint.com/docs/api//create-form-definition)
|
||||
[API Spec](https://developer.sailpoint.com/docs/api/v2025/create-form-definition)
|
||||
|
||||
### Path Parameters
|
||||
|
||||
@@ -80,7 +80,7 @@ import (
|
||||
"context"
|
||||
"fmt"
|
||||
"os"
|
||||
""
|
||||
v2025 "github.com/sailpoint-oss/golang-sdk/v2/api_v2025"
|
||||
openapiclient "github.com/sailpoint-oss/golang-sdk/v2"
|
||||
)
|
||||
|
||||
@@ -199,7 +199,7 @@ func main() {
|
||||
|
||||
configuration := NewDefaultConfiguration()
|
||||
apiClient := NewAPIClient(configuration)
|
||||
resp, r, err := apiClient..CustomFormsAPI.CreateFormDefinition(context.Background()).Body(body).Execute()
|
||||
resp, r, err := apiClient.V2025.CustomFormsAPI.CreateFormDefinition(context.Background()).Body(body).Execute()
|
||||
if err != nil {
|
||||
fmt.Fprintf(os.Stderr, "Error when calling `CustomFormsAPI.CreateFormDefinition``: %v\n", err)
|
||||
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
|
||||
@@ -215,7 +215,7 @@ func main() {
|
||||
Generate JSON Schema dynamically.
|
||||
|
||||
|
||||
[API Spec](https://developer.sailpoint.com/docs/api//create-form-definition-dynamic-schema)
|
||||
[API Spec](https://developer.sailpoint.com/docs/api/v2025/create-form-definition-dynamic-schema)
|
||||
|
||||
### Path Parameters
|
||||
|
||||
@@ -248,7 +248,7 @@ import (
|
||||
"context"
|
||||
"fmt"
|
||||
"os"
|
||||
""
|
||||
v2025 "github.com/sailpoint-oss/golang-sdk/v2/api_v2025"
|
||||
openapiclient "github.com/sailpoint-oss/golang-sdk/v2"
|
||||
)
|
||||
|
||||
@@ -265,7 +265,7 @@ func main() {
|
||||
|
||||
configuration := NewDefaultConfiguration()
|
||||
apiClient := NewAPIClient(configuration)
|
||||
resp, r, err := apiClient..CustomFormsAPI.CreateFormDefinitionDynamicSchema(context.Background()).Body(body).Execute()
|
||||
resp, r, err := apiClient.V2025.CustomFormsAPI.CreateFormDefinitionDynamicSchema(context.Background()).Body(body).Execute()
|
||||
if err != nil {
|
||||
fmt.Fprintf(os.Stderr, "Error when calling `CustomFormsAPI.CreateFormDefinitionDynamicSchema``: %v\n", err)
|
||||
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
|
||||
@@ -281,7 +281,7 @@ func main() {
|
||||
Upload new form definition file.
|
||||
Parameter `{formDefinitionID}` should match a form definition ID.
|
||||
|
||||
[API Spec](https://developer.sailpoint.com/docs/api//create-form-definition-file-request)
|
||||
[API Spec](https://developer.sailpoint.com/docs/api/v2025/create-form-definition-file-request)
|
||||
|
||||
### Path Parameters
|
||||
|
||||
@@ -319,7 +319,7 @@ import (
|
||||
"context"
|
||||
"fmt"
|
||||
"os"
|
||||
""
|
||||
v2025 "github.com/sailpoint-oss/golang-sdk/v2/api_v2025"
|
||||
openapiclient "github.com/sailpoint-oss/golang-sdk/v2"
|
||||
)
|
||||
|
||||
@@ -329,7 +329,7 @@ func main() {
|
||||
|
||||
configuration := NewDefaultConfiguration()
|
||||
apiClient := NewAPIClient(configuration)
|
||||
resp, r, err := apiClient..CustomFormsAPI.CreateFormDefinitionFileRequest(context.Background(), formDefinitionID).File(file).Execute()
|
||||
resp, r, err := apiClient.V2025.CustomFormsAPI.CreateFormDefinitionFileRequest(context.Background(), formDefinitionID).File(file).Execute()
|
||||
if err != nil {
|
||||
fmt.Fprintf(os.Stderr, "Error when calling `CustomFormsAPI.CreateFormDefinitionFileRequest``: %v\n", err)
|
||||
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
|
||||
@@ -345,7 +345,7 @@ func main() {
|
||||
Creates a form instance.
|
||||
|
||||
|
||||
[API Spec](https://developer.sailpoint.com/docs/api//create-form-instance)
|
||||
[API Spec](https://developer.sailpoint.com/docs/api/v2025/create-form-instance)
|
||||
|
||||
### Path Parameters
|
||||
|
||||
@@ -378,7 +378,7 @@ import (
|
||||
"context"
|
||||
"fmt"
|
||||
"os"
|
||||
""
|
||||
v2025 "github.com/sailpoint-oss/golang-sdk/v2/api_v2025"
|
||||
openapiclient "github.com/sailpoint-oss/golang-sdk/v2"
|
||||
)
|
||||
|
||||
@@ -407,7 +407,7 @@ func main() {
|
||||
|
||||
configuration := NewDefaultConfiguration()
|
||||
apiClient := NewAPIClient(configuration)
|
||||
resp, r, err := apiClient..CustomFormsAPI.CreateFormInstance(context.Background()).Body(body).Execute()
|
||||
resp, r, err := apiClient.V2025.CustomFormsAPI.CreateFormInstance(context.Background()).Body(body).Execute()
|
||||
if err != nil {
|
||||
fmt.Fprintf(os.Stderr, "Error when calling `CustomFormsAPI.CreateFormInstance``: %v\n", err)
|
||||
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
|
||||
@@ -423,7 +423,7 @@ func main() {
|
||||
Deletes a form definition.
|
||||
Parameter `{formDefinitionID}` should match a form definition ID.
|
||||
|
||||
[API Spec](https://developer.sailpoint.com/docs/api//delete-form-definition)
|
||||
[API Spec](https://developer.sailpoint.com/docs/api/v2025/delete-form-definition)
|
||||
|
||||
### Path Parameters
|
||||
|
||||
@@ -460,7 +460,7 @@ import (
|
||||
"context"
|
||||
"fmt"
|
||||
"os"
|
||||
""
|
||||
v2025 "github.com/sailpoint-oss/golang-sdk/v2/api_v2025"
|
||||
openapiclient "github.com/sailpoint-oss/golang-sdk/v2"
|
||||
)
|
||||
|
||||
@@ -469,7 +469,7 @@ func main() {
|
||||
|
||||
configuration := NewDefaultConfiguration()
|
||||
apiClient := NewAPIClient(configuration)
|
||||
resp, r, err := apiClient..CustomFormsAPI.DeleteFormDefinition(context.Background(), formDefinitionID).Execute()
|
||||
resp, r, err := apiClient.V2025.CustomFormsAPI.DeleteFormDefinition(context.Background(), formDefinitionID).Execute()
|
||||
if err != nil {
|
||||
fmt.Fprintf(os.Stderr, "Error when calling `CustomFormsAPI.DeleteFormDefinition``: %v\n", err)
|
||||
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
|
||||
@@ -485,7 +485,7 @@ func main() {
|
||||
List form definitions by tenant.
|
||||
No parameters required.
|
||||
|
||||
[API Spec](https://developer.sailpoint.com/docs/api//export-form-definitions-by-tenant)
|
||||
[API Spec](https://developer.sailpoint.com/docs/api/v2025/export-form-definitions-by-tenant)
|
||||
|
||||
### Path Parameters
|
||||
|
||||
@@ -521,7 +521,7 @@ import (
|
||||
"context"
|
||||
"fmt"
|
||||
"os"
|
||||
""
|
||||
v2025 "github.com/sailpoint-oss/golang-sdk/v2/api_v2025"
|
||||
openapiclient "github.com/sailpoint-oss/golang-sdk/v2"
|
||||
)
|
||||
|
||||
@@ -533,7 +533,7 @@ func main() {
|
||||
|
||||
configuration := NewDefaultConfiguration()
|
||||
apiClient := NewAPIClient(configuration)
|
||||
resp, r, err := apiClient..CustomFormsAPI.ExportFormDefinitionsByTenant(context.Background()).Offset(offset).Limit(limit).Filters(filters).Sorters(sorters).Execute()
|
||||
resp, r, err := apiClient.V2025.CustomFormsAPI.ExportFormDefinitionsByTenant(context.Background()).Offset(offset).Limit(limit).Filters(filters).Sorters(sorters).Execute()
|
||||
if err != nil {
|
||||
fmt.Fprintf(os.Stderr, "Error when calling `CustomFormsAPI.ExportFormDefinitionsByTenant``: %v\n", err)
|
||||
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
|
||||
@@ -549,7 +549,7 @@ func main() {
|
||||
Download definition file by fileId.
|
||||
|
||||
|
||||
[API Spec](https://developer.sailpoint.com/docs/api//get-file-from-s3)
|
||||
[API Spec](https://developer.sailpoint.com/docs/api/v2025/get-file-from-s3)
|
||||
|
||||
### Path Parameters
|
||||
|
||||
@@ -588,7 +588,7 @@ import (
|
||||
"context"
|
||||
"fmt"
|
||||
"os"
|
||||
""
|
||||
v2025 "github.com/sailpoint-oss/golang-sdk/v2/api_v2025"
|
||||
openapiclient "github.com/sailpoint-oss/golang-sdk/v2"
|
||||
)
|
||||
|
||||
@@ -598,7 +598,7 @@ func main() {
|
||||
|
||||
configuration := NewDefaultConfiguration()
|
||||
apiClient := NewAPIClient(configuration)
|
||||
resp, r, err := apiClient..CustomFormsAPI.GetFileFromS3(context.Background(), formDefinitionID, fileID).Execute()
|
||||
resp, r, err := apiClient.V2025.CustomFormsAPI.GetFileFromS3(context.Background(), formDefinitionID, fileID).Execute()
|
||||
if err != nil {
|
||||
fmt.Fprintf(os.Stderr, "Error when calling `CustomFormsAPI.GetFileFromS3``: %v\n", err)
|
||||
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
|
||||
@@ -614,7 +614,7 @@ func main() {
|
||||
Return a form definition.
|
||||
Parameter `{formDefinitionID}` should match a form definition ID.
|
||||
|
||||
[API Spec](https://developer.sailpoint.com/docs/api//get-form-definition-by-key)
|
||||
[API Spec](https://developer.sailpoint.com/docs/api/v2025/get-form-definition-by-key)
|
||||
|
||||
### Path Parameters
|
||||
|
||||
@@ -651,7 +651,7 @@ import (
|
||||
"context"
|
||||
"fmt"
|
||||
"os"
|
||||
""
|
||||
v2025 "github.com/sailpoint-oss/golang-sdk/v2/api_v2025"
|
||||
openapiclient "github.com/sailpoint-oss/golang-sdk/v2"
|
||||
)
|
||||
|
||||
@@ -660,7 +660,7 @@ func main() {
|
||||
|
||||
configuration := NewDefaultConfiguration()
|
||||
apiClient := NewAPIClient(configuration)
|
||||
resp, r, err := apiClient..CustomFormsAPI.GetFormDefinitionByKey(context.Background(), formDefinitionID).Execute()
|
||||
resp, r, err := apiClient.V2025.CustomFormsAPI.GetFormDefinitionByKey(context.Background(), formDefinitionID).Execute()
|
||||
if err != nil {
|
||||
fmt.Fprintf(os.Stderr, "Error when calling `CustomFormsAPI.GetFormDefinitionByKey``: %v\n", err)
|
||||
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
|
||||
@@ -676,7 +676,7 @@ func main() {
|
||||
Returns a form instance.
|
||||
Parameter `{formInstanceID}` should match a form instance ID.
|
||||
|
||||
[API Spec](https://developer.sailpoint.com/docs/api//get-form-instance-by-key)
|
||||
[API Spec](https://developer.sailpoint.com/docs/api/v2025/get-form-instance-by-key)
|
||||
|
||||
### Path Parameters
|
||||
|
||||
@@ -713,7 +713,7 @@ import (
|
||||
"context"
|
||||
"fmt"
|
||||
"os"
|
||||
""
|
||||
v2025 "github.com/sailpoint-oss/golang-sdk/v2/api_v2025"
|
||||
openapiclient "github.com/sailpoint-oss/golang-sdk/v2"
|
||||
)
|
||||
|
||||
@@ -722,7 +722,7 @@ func main() {
|
||||
|
||||
configuration := NewDefaultConfiguration()
|
||||
apiClient := NewAPIClient(configuration)
|
||||
resp, r, err := apiClient..CustomFormsAPI.GetFormInstanceByKey(context.Background(), formInstanceID).Execute()
|
||||
resp, r, err := apiClient.V2025.CustomFormsAPI.GetFormInstanceByKey(context.Background(), formInstanceID).Execute()
|
||||
if err != nil {
|
||||
fmt.Fprintf(os.Stderr, "Error when calling `CustomFormsAPI.GetFormInstanceByKey``: %v\n", err)
|
||||
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
|
||||
@@ -738,7 +738,7 @@ func main() {
|
||||
Download instance file by fileId.
|
||||
|
||||
|
||||
[API Spec](https://developer.sailpoint.com/docs/api//get-form-instance-file)
|
||||
[API Spec](https://developer.sailpoint.com/docs/api/v2025/get-form-instance-file)
|
||||
|
||||
### Path Parameters
|
||||
|
||||
@@ -777,7 +777,7 @@ import (
|
||||
"context"
|
||||
"fmt"
|
||||
"os"
|
||||
""
|
||||
v2025 "github.com/sailpoint-oss/golang-sdk/v2/api_v2025"
|
||||
openapiclient "github.com/sailpoint-oss/golang-sdk/v2"
|
||||
)
|
||||
|
||||
@@ -787,7 +787,7 @@ func main() {
|
||||
|
||||
configuration := NewDefaultConfiguration()
|
||||
apiClient := NewAPIClient(configuration)
|
||||
resp, r, err := apiClient..CustomFormsAPI.GetFormInstanceFile(context.Background(), formInstanceID, fileID).Execute()
|
||||
resp, r, err := apiClient.V2025.CustomFormsAPI.GetFormInstanceFile(context.Background(), formInstanceID, fileID).Execute()
|
||||
if err != nil {
|
||||
fmt.Fprintf(os.Stderr, "Error when calling `CustomFormsAPI.GetFormInstanceFile``: %v\n", err)
|
||||
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
|
||||
@@ -803,7 +803,7 @@ func main() {
|
||||
Import form definitions from export.
|
||||
|
||||
|
||||
[API Spec](https://developer.sailpoint.com/docs/api//import-form-definitions)
|
||||
[API Spec](https://developer.sailpoint.com/docs/api/v2025/import-form-definitions)
|
||||
|
||||
### Path Parameters
|
||||
|
||||
@@ -836,7 +836,7 @@ import (
|
||||
"context"
|
||||
"fmt"
|
||||
"os"
|
||||
""
|
||||
v2025 "github.com/sailpoint-oss/golang-sdk/v2/api_v2025"
|
||||
openapiclient "github.com/sailpoint-oss/golang-sdk/v2"
|
||||
)
|
||||
|
||||
@@ -845,7 +845,7 @@ func main() {
|
||||
|
||||
configuration := NewDefaultConfiguration()
|
||||
apiClient := NewAPIClient(configuration)
|
||||
resp, r, err := apiClient..CustomFormsAPI.ImportFormDefinitions(context.Background()).Body(body).Execute()
|
||||
resp, r, err := apiClient.V2025.CustomFormsAPI.ImportFormDefinitions(context.Background()).Body(body).Execute()
|
||||
if err != nil {
|
||||
fmt.Fprintf(os.Stderr, "Error when calling `CustomFormsAPI.ImportFormDefinitions``: %v\n", err)
|
||||
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
|
||||
@@ -861,7 +861,7 @@ func main() {
|
||||
Patch a form definition.
|
||||
Parameter `{formDefinitionID}` should match a form definition ID.
|
||||
|
||||
[API Spec](https://developer.sailpoint.com/docs/api//patch-form-definition)
|
||||
[API Spec](https://developer.sailpoint.com/docs/api/v2025/patch-form-definition)
|
||||
|
||||
### Path Parameters
|
||||
|
||||
@@ -899,7 +899,7 @@ import (
|
||||
"context"
|
||||
"fmt"
|
||||
"os"
|
||||
""
|
||||
v2025 "github.com/sailpoint-oss/golang-sdk/v2/api_v2025"
|
||||
openapiclient "github.com/sailpoint-oss/golang-sdk/v2"
|
||||
)
|
||||
|
||||
@@ -909,7 +909,7 @@ func main() {
|
||||
|
||||
configuration := NewDefaultConfiguration()
|
||||
apiClient := NewAPIClient(configuration)
|
||||
resp, r, err := apiClient..CustomFormsAPI.PatchFormDefinition(context.Background(), formDefinitionID).Body(body).Execute()
|
||||
resp, r, err := apiClient.V2025.CustomFormsAPI.PatchFormDefinition(context.Background(), formDefinitionID).Body(body).Execute()
|
||||
if err != nil {
|
||||
fmt.Fprintf(os.Stderr, "Error when calling `CustomFormsAPI.PatchFormDefinition``: %v\n", err)
|
||||
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
|
||||
@@ -925,7 +925,7 @@ func main() {
|
||||
Patch a form instance.
|
||||
Parameter `{formInstanceID}` should match a form instance ID.
|
||||
|
||||
[API Spec](https://developer.sailpoint.com/docs/api//patch-form-instance)
|
||||
[API Spec](https://developer.sailpoint.com/docs/api/v2025/patch-form-instance)
|
||||
|
||||
### Path Parameters
|
||||
|
||||
@@ -963,7 +963,7 @@ import (
|
||||
"context"
|
||||
"fmt"
|
||||
"os"
|
||||
""
|
||||
v2025 "github.com/sailpoint-oss/golang-sdk/v2/api_v2025"
|
||||
openapiclient "github.com/sailpoint-oss/golang-sdk/v2"
|
||||
)
|
||||
|
||||
@@ -973,7 +973,7 @@ func main() {
|
||||
|
||||
configuration := NewDefaultConfiguration()
|
||||
apiClient := NewAPIClient(configuration)
|
||||
resp, r, err := apiClient..CustomFormsAPI.PatchFormInstance(context.Background(), formInstanceID).Body(body).Execute()
|
||||
resp, r, err := apiClient.V2025.CustomFormsAPI.PatchFormInstance(context.Background(), formInstanceID).Body(body).Execute()
|
||||
if err != nil {
|
||||
fmt.Fprintf(os.Stderr, "Error when calling `CustomFormsAPI.PatchFormInstance``: %v\n", err)
|
||||
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
|
||||
@@ -989,7 +989,7 @@ func main() {
|
||||
Export form definitions by tenant.
|
||||
No parameters required.
|
||||
|
||||
[API Spec](https://developer.sailpoint.com/docs/api//search-form-definitions-by-tenant)
|
||||
[API Spec](https://developer.sailpoint.com/docs/api/v2025/search-form-definitions-by-tenant)
|
||||
|
||||
### Path Parameters
|
||||
|
||||
@@ -1025,7 +1025,7 @@ import (
|
||||
"context"
|
||||
"fmt"
|
||||
"os"
|
||||
""
|
||||
v2025 "github.com/sailpoint-oss/golang-sdk/v2/api_v2025"
|
||||
openapiclient "github.com/sailpoint-oss/golang-sdk/v2"
|
||||
)
|
||||
|
||||
@@ -1037,7 +1037,7 @@ func main() {
|
||||
|
||||
configuration := NewDefaultConfiguration()
|
||||
apiClient := NewAPIClient(configuration)
|
||||
resp, r, err := apiClient..CustomFormsAPI.SearchFormDefinitionsByTenant(context.Background()).Offset(offset).Limit(limit).Filters(filters).Sorters(sorters).Execute()
|
||||
resp, r, err := apiClient.V2025.CustomFormsAPI.SearchFormDefinitionsByTenant(context.Background()).Offset(offset).Limit(limit).Filters(filters).Sorters(sorters).Execute()
|
||||
if err != nil {
|
||||
fmt.Fprintf(os.Stderr, "Error when calling `CustomFormsAPI.SearchFormDefinitionsByTenant``: %v\n", err)
|
||||
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
|
||||
@@ -1054,7 +1054,7 @@ Retrieves dynamic data by element.
|
||||
Parameter `{formInstanceID}` should match a form instance ID.
|
||||
Parameter `{formElementID}` should match a form element ID at the data source configuration.
|
||||
|
||||
[API Spec](https://developer.sailpoint.com/docs/api//search-form-element-data-by-element-id)
|
||||
[API Spec](https://developer.sailpoint.com/docs/api/v2025/search-form-element-data-by-element-id)
|
||||
|
||||
### Path Parameters
|
||||
|
||||
@@ -1096,7 +1096,7 @@ import (
|
||||
"context"
|
||||
"fmt"
|
||||
"os"
|
||||
""
|
||||
v2025 "github.com/sailpoint-oss/golang-sdk/v2/api_v2025"
|
||||
openapiclient "github.com/sailpoint-oss/golang-sdk/v2"
|
||||
)
|
||||
|
||||
@@ -1109,7 +1109,7 @@ func main() {
|
||||
|
||||
configuration := NewDefaultConfiguration()
|
||||
apiClient := NewAPIClient(configuration)
|
||||
resp, r, err := apiClient..CustomFormsAPI.SearchFormElementDataByElementID(context.Background(), formInstanceID, formElementID).Limit(limit).Filters(filters).Query(query).Execute()
|
||||
resp, r, err := apiClient.V2025.CustomFormsAPI.SearchFormElementDataByElementID(context.Background(), formInstanceID, formElementID).Limit(limit).Filters(filters).Query(query).Execute()
|
||||
if err != nil {
|
||||
fmt.Fprintf(os.Stderr, "Error when calling `CustomFormsAPI.SearchFormElementDataByElementID``: %v\n", err)
|
||||
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
|
||||
@@ -1125,7 +1125,7 @@ func main() {
|
||||
List form instances by tenant.
|
||||
No parameters required.
|
||||
|
||||
[API Spec](https://developer.sailpoint.com/docs/api//search-form-instances-by-tenant)
|
||||
[API Spec](https://developer.sailpoint.com/docs/api/v2025/search-form-instances-by-tenant)
|
||||
|
||||
### Path Parameters
|
||||
|
||||
@@ -1154,7 +1154,7 @@ import (
|
||||
"context"
|
||||
"fmt"
|
||||
"os"
|
||||
""
|
||||
v2025 "github.com/sailpoint-oss/golang-sdk/v2/api_v2025"
|
||||
openapiclient "github.com/sailpoint-oss/golang-sdk/v2"
|
||||
)
|
||||
|
||||
@@ -1162,7 +1162,7 @@ func main() {
|
||||
|
||||
configuration := NewDefaultConfiguration()
|
||||
apiClient := NewAPIClient(configuration)
|
||||
resp, r, err := apiClient..CustomFormsAPI.SearchFormInstancesByTenant(context.Background()).Execute()
|
||||
resp, r, err := apiClient.V2025.CustomFormsAPI.SearchFormInstancesByTenant(context.Background()).Execute()
|
||||
if err != nil {
|
||||
fmt.Fprintf(os.Stderr, "Error when calling `CustomFormsAPI.SearchFormInstancesByTenant``: %v\n", err)
|
||||
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
|
||||
@@ -1178,7 +1178,7 @@ func main() {
|
||||
List predefined select options.
|
||||
No parameters required.
|
||||
|
||||
[API Spec](https://developer.sailpoint.com/docs/api//search-pre-defined-select-options)
|
||||
[API Spec](https://developer.sailpoint.com/docs/api/v2025/search-pre-defined-select-options)
|
||||
|
||||
### Path Parameters
|
||||
|
||||
@@ -1207,7 +1207,7 @@ import (
|
||||
"context"
|
||||
"fmt"
|
||||
"os"
|
||||
""
|
||||
v2025 "github.com/sailpoint-oss/golang-sdk/v2/api_v2025"
|
||||
openapiclient "github.com/sailpoint-oss/golang-sdk/v2"
|
||||
)
|
||||
|
||||
@@ -1215,7 +1215,7 @@ func main() {
|
||||
|
||||
configuration := NewDefaultConfiguration()
|
||||
apiClient := NewAPIClient(configuration)
|
||||
resp, r, err := apiClient..CustomFormsAPI.SearchPreDefinedSelectOptions(context.Background()).Execute()
|
||||
resp, r, err := apiClient.V2025.CustomFormsAPI.SearchPreDefinedSelectOptions(context.Background()).Execute()
|
||||
if err != nil {
|
||||
fmt.Fprintf(os.Stderr, "Error when calling `CustomFormsAPI.SearchPreDefinedSelectOptions``: %v\n", err)
|
||||
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
|
||||
@@ -1231,7 +1231,7 @@ func main() {
|
||||
Preview form definition data source.
|
||||
|
||||
|
||||
[API Spec](https://developer.sailpoint.com/docs/api//show-preview-data-source)
|
||||
[API Spec](https://developer.sailpoint.com/docs/api/v2025/show-preview-data-source)
|
||||
|
||||
### Path Parameters
|
||||
|
||||
@@ -1272,7 +1272,7 @@ import (
|
||||
"context"
|
||||
"fmt"
|
||||
"os"
|
||||
""
|
||||
v2025 "github.com/sailpoint-oss/golang-sdk/v2/api_v2025"
|
||||
openapiclient "github.com/sailpoint-oss/golang-sdk/v2"
|
||||
)
|
||||
|
||||
@@ -1295,7 +1295,7 @@ func main() {
|
||||
|
||||
configuration := NewDefaultConfiguration()
|
||||
apiClient := NewAPIClient(configuration)
|
||||
resp, r, err := apiClient..CustomFormsAPI.ShowPreviewDataSource(context.Background(), formDefinitionID).Limit(limit).Filters(filters).Query(query).FormElementPreviewRequest(formElementPreviewRequest).Execute()
|
||||
resp, r, err := apiClient.V2025.CustomFormsAPI.ShowPreviewDataSource(context.Background(), formDefinitionID).Limit(limit).Filters(filters).Query(query).FormElementPreviewRequest(formElementPreviewRequest).Execute()
|
||||
if err != nil {
|
||||
fmt.Fprintf(os.Stderr, "Error when calling `CustomFormsAPI.ShowPreviewDataSource``: %v\n", err)
|
||||
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
|
||||
|
||||
@@ -1,12 +1,12 @@
|
||||
---
|
||||
id: custom-password-instructions
|
||||
id: v2025-custom-password-instructions
|
||||
title: CustomPasswordInstructions
|
||||
pagination_label: CustomPasswordInstructions
|
||||
sidebar_label: CustomPasswordInstructions
|
||||
sidebar_class_name: gosdk
|
||||
keywords: ['go', 'Golang', 'sdk', 'CustomPasswordInstructions', 'CustomPasswordInstructions']
|
||||
slug: /tools/sdk/go//methods/custom-password-instructions
|
||||
tags: ['SDK', 'Software Development Kit', 'CustomPasswordInstructions', 'CustomPasswordInstructions']
|
||||
keywords: ['go', 'Golang', 'sdk', 'CustomPasswordInstructions', 'V2025CustomPasswordInstructions']
|
||||
slug: /tools/sdk/go/v2025/methods/custom-password-instructions
|
||||
tags: ['SDK', 'Software Development Kit', 'CustomPasswordInstructions', 'V2025CustomPasswordInstructions']
|
||||
---
|
||||
|
||||
# CustomPasswordInstructionsAPI
|
||||
@@ -46,7 +46,7 @@ This API is currently in an experimental state. The API is subject to change bas
|
||||
Create Custom Password Instructions
|
||||
This API creates the custom password instructions for the specified page ID.
|
||||
|
||||
[API Spec](https://developer.sailpoint.com/docs/api//create-custom-password-instructions)
|
||||
[API Spec](https://developer.sailpoint.com/docs/api/v2025/create-custom-password-instructions)
|
||||
|
||||
### Path Parameters
|
||||
|
||||
@@ -80,7 +80,7 @@ import (
|
||||
"context"
|
||||
"fmt"
|
||||
"os"
|
||||
""
|
||||
v2025 "github.com/sailpoint-oss/golang-sdk/v2/api_v2025"
|
||||
openapiclient "github.com/sailpoint-oss/golang-sdk/v2"
|
||||
)
|
||||
|
||||
@@ -94,7 +94,7 @@ func main() {
|
||||
|
||||
configuration := NewDefaultConfiguration()
|
||||
apiClient := NewAPIClient(configuration)
|
||||
resp, r, err := apiClient..CustomPasswordInstructionsAPI.CreateCustomPasswordInstructions(context.Background()).XSailPointExperimental(xSailPointExperimental).CustomPasswordInstruction(customPasswordInstruction).Execute()
|
||||
resp, r, err := apiClient.V2025.CustomPasswordInstructionsAPI.CreateCustomPasswordInstructions(context.Background()).XSailPointExperimental(xSailPointExperimental).CustomPasswordInstruction(customPasswordInstruction).Execute()
|
||||
if err != nil {
|
||||
fmt.Fprintf(os.Stderr, "Error when calling `CustomPasswordInstructionsAPI.CreateCustomPasswordInstructions``: %v\n", err)
|
||||
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
|
||||
@@ -121,7 +121,7 @@ This API is currently in an experimental state. The API is subject to change bas
|
||||
Delete Custom Password Instructions by page ID
|
||||
This API delete the custom password instructions for the specified page ID.
|
||||
|
||||
[API Spec](https://developer.sailpoint.com/docs/api//delete-custom-password-instructions)
|
||||
[API Spec](https://developer.sailpoint.com/docs/api/v2025/delete-custom-password-instructions)
|
||||
|
||||
### Path Parameters
|
||||
|
||||
@@ -160,7 +160,7 @@ import (
|
||||
"context"
|
||||
"fmt"
|
||||
"os"
|
||||
""
|
||||
v2025 "github.com/sailpoint-oss/golang-sdk/v2/api_v2025"
|
||||
openapiclient "github.com/sailpoint-oss/golang-sdk/v2"
|
||||
)
|
||||
|
||||
@@ -171,7 +171,7 @@ func main() {
|
||||
|
||||
configuration := NewDefaultConfiguration()
|
||||
apiClient := NewAPIClient(configuration)
|
||||
r, err := apiClient..CustomPasswordInstructionsAPI.DeleteCustomPasswordInstructions(context.Background(), pageId).XSailPointExperimental(xSailPointExperimental).Locale(locale).Execute()
|
||||
r, err := apiClient.V2025.CustomPasswordInstructionsAPI.DeleteCustomPasswordInstructions(context.Background(), pageId).XSailPointExperimental(xSailPointExperimental).Locale(locale).Execute()
|
||||
if err != nil {
|
||||
fmt.Fprintf(os.Stderr, "Error when calling `CustomPasswordInstructionsAPI.DeleteCustomPasswordInstructions``: %v\n", err)
|
||||
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
|
||||
@@ -196,7 +196,7 @@ This API is currently in an experimental state. The API is subject to change bas
|
||||
Get Custom Password Instructions by Page ID
|
||||
This API returns the custom password instructions for the specified page ID.
|
||||
|
||||
[API Spec](https://developer.sailpoint.com/docs/api//get-custom-password-instructions)
|
||||
[API Spec](https://developer.sailpoint.com/docs/api/v2025/get-custom-password-instructions)
|
||||
|
||||
### Path Parameters
|
||||
|
||||
@@ -235,7 +235,7 @@ import (
|
||||
"context"
|
||||
"fmt"
|
||||
"os"
|
||||
""
|
||||
v2025 "github.com/sailpoint-oss/golang-sdk/v2/api_v2025"
|
||||
openapiclient "github.com/sailpoint-oss/golang-sdk/v2"
|
||||
)
|
||||
|
||||
@@ -246,7 +246,7 @@ func main() {
|
||||
|
||||
configuration := NewDefaultConfiguration()
|
||||
apiClient := NewAPIClient(configuration)
|
||||
resp, r, err := apiClient..CustomPasswordInstructionsAPI.GetCustomPasswordInstructions(context.Background(), pageId).XSailPointExperimental(xSailPointExperimental).Locale(locale).Execute()
|
||||
resp, r, err := apiClient.V2025.CustomPasswordInstructionsAPI.GetCustomPasswordInstructions(context.Background(), pageId).XSailPointExperimental(xSailPointExperimental).Locale(locale).Execute()
|
||||
if err != nil {
|
||||
fmt.Fprintf(os.Stderr, "Error when calling `CustomPasswordInstructionsAPI.GetCustomPasswordInstructions``: %v\n", err)
|
||||
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
|
||||
|
||||
@@ -1,12 +1,12 @@
|
||||
---
|
||||
id: data-segmentation
|
||||
id: v2025-data-segmentation
|
||||
title: DataSegmentation
|
||||
pagination_label: DataSegmentation
|
||||
sidebar_label: DataSegmentation
|
||||
sidebar_class_name: gosdk
|
||||
keywords: ['go', 'Golang', 'sdk', 'DataSegmentation', 'DataSegmentation']
|
||||
slug: /tools/sdk/go//methods/data-segmentation
|
||||
tags: ['SDK', 'Software Development Kit', 'DataSegmentation', 'DataSegmentation']
|
||||
keywords: ['go', 'Golang', 'sdk', 'DataSegmentation', 'V2025DataSegmentation']
|
||||
slug: /tools/sdk/go/v2025/methods/data-segmentation
|
||||
tags: ['SDK', 'Software Development Kit', 'DataSegmentation', 'V2025DataSegmentation']
|
||||
---
|
||||
|
||||
# DataSegmentationAPI
|
||||
@@ -32,7 +32,7 @@ Create Segment
|
||||
This API creates a segment.
|
||||
>**Note:** Segment definitions may take time to propagate to all identities.
|
||||
|
||||
[API Spec](https://developer.sailpoint.com/docs/api//create-data-segment)
|
||||
[API Spec](https://developer.sailpoint.com/docs/api/v2025/create-data-segment)
|
||||
|
||||
### Path Parameters
|
||||
|
||||
@@ -65,7 +65,7 @@ import (
|
||||
"context"
|
||||
"fmt"
|
||||
"os"
|
||||
""
|
||||
v2025 "github.com/sailpoint-oss/golang-sdk/v2/api_v2025"
|
||||
openapiclient "github.com/sailpoint-oss/golang-sdk/v2"
|
||||
)
|
||||
|
||||
@@ -74,7 +74,7 @@ func main() {
|
||||
|
||||
configuration := NewDefaultConfiguration()
|
||||
apiClient := NewAPIClient(configuration)
|
||||
resp, r, err := apiClient..DataSegmentationAPI.CreateDataSegment(context.Background()).DataSegment(dataSegment).Execute()
|
||||
resp, r, err := apiClient.V2025.DataSegmentationAPI.CreateDataSegment(context.Background()).DataSegment(dataSegment).Execute()
|
||||
if err != nil {
|
||||
fmt.Fprintf(os.Stderr, "Error when calling `DataSegmentationAPI.CreateDataSegment``: %v\n", err)
|
||||
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
|
||||
@@ -101,7 +101,7 @@ This API is currently in an experimental state. The API is subject to change bas
|
||||
Delete Segment by ID
|
||||
This API deletes the segment specified by the given ID.
|
||||
|
||||
[API Spec](https://developer.sailpoint.com/docs/api//delete-data-segment)
|
||||
[API Spec](https://developer.sailpoint.com/docs/api/v2025/delete-data-segment)
|
||||
|
||||
### Path Parameters
|
||||
|
||||
@@ -140,7 +140,7 @@ import (
|
||||
"context"
|
||||
"fmt"
|
||||
"os"
|
||||
""
|
||||
v2025 "github.com/sailpoint-oss/golang-sdk/v2/api_v2025"
|
||||
openapiclient "github.com/sailpoint-oss/golang-sdk/v2"
|
||||
)
|
||||
|
||||
@@ -151,7 +151,7 @@ func main() {
|
||||
|
||||
configuration := NewDefaultConfiguration()
|
||||
apiClient := NewAPIClient(configuration)
|
||||
r, err := apiClient..DataSegmentationAPI.DeleteDataSegment(context.Background(), id).XSailPointExperimental(xSailPointExperimental).Published(published).Execute()
|
||||
r, err := apiClient.V2025.DataSegmentationAPI.DeleteDataSegment(context.Background(), id).XSailPointExperimental(xSailPointExperimental).Published(published).Execute()
|
||||
if err != nil {
|
||||
fmt.Fprintf(os.Stderr, "Error when calling `DataSegmentationAPI.DeleteDataSegment``: %v\n", err)
|
||||
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
|
||||
@@ -176,7 +176,7 @@ This API is currently in an experimental state. The API is subject to change bas
|
||||
Get Segment by ID
|
||||
This API returns the segment specified by the given ID.
|
||||
|
||||
[API Spec](https://developer.sailpoint.com/docs/api//get-data-segment)
|
||||
[API Spec](https://developer.sailpoint.com/docs/api/v2025/get-data-segment)
|
||||
|
||||
### Path Parameters
|
||||
|
||||
@@ -214,7 +214,7 @@ import (
|
||||
"context"
|
||||
"fmt"
|
||||
"os"
|
||||
""
|
||||
v2025 "github.com/sailpoint-oss/golang-sdk/v2/api_v2025"
|
||||
openapiclient "github.com/sailpoint-oss/golang-sdk/v2"
|
||||
)
|
||||
|
||||
@@ -224,7 +224,7 @@ func main() {
|
||||
|
||||
configuration := NewDefaultConfiguration()
|
||||
apiClient := NewAPIClient(configuration)
|
||||
resp, r, err := apiClient..DataSegmentationAPI.GetDataSegment(context.Background(), id).XSailPointExperimental(xSailPointExperimental).Execute()
|
||||
resp, r, err := apiClient.V2025.DataSegmentationAPI.GetDataSegment(context.Background(), id).XSailPointExperimental(xSailPointExperimental).Execute()
|
||||
if err != nil {
|
||||
fmt.Fprintf(os.Stderr, "Error when calling `DataSegmentationAPI.GetDataSegment``: %v\n", err)
|
||||
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
|
||||
@@ -251,7 +251,7 @@ This API is currently in an experimental state. The API is subject to change bas
|
||||
Get SegmentMembership by Identity ID
|
||||
This API returns the segment membership specified by the given identity ID.
|
||||
|
||||
[API Spec](https://developer.sailpoint.com/docs/api//get-data-segment-identity-membership)
|
||||
[API Spec](https://developer.sailpoint.com/docs/api/v2025/get-data-segment-identity-membership)
|
||||
|
||||
### Path Parameters
|
||||
|
||||
@@ -289,7 +289,7 @@ import (
|
||||
"context"
|
||||
"fmt"
|
||||
"os"
|
||||
""
|
||||
v2025 "github.com/sailpoint-oss/golang-sdk/v2/api_v2025"
|
||||
openapiclient "github.com/sailpoint-oss/golang-sdk/v2"
|
||||
)
|
||||
|
||||
@@ -299,7 +299,7 @@ func main() {
|
||||
|
||||
configuration := NewDefaultConfiguration()
|
||||
apiClient := NewAPIClient(configuration)
|
||||
resp, r, err := apiClient..DataSegmentationAPI.GetDataSegmentIdentityMembership(context.Background(), identityId).XSailPointExperimental(xSailPointExperimental).Execute()
|
||||
resp, r, err := apiClient.V2025.DataSegmentationAPI.GetDataSegmentIdentityMembership(context.Background(), identityId).XSailPointExperimental(xSailPointExperimental).Execute()
|
||||
if err != nil {
|
||||
fmt.Fprintf(os.Stderr, "Error when calling `DataSegmentationAPI.GetDataSegmentIdentityMembership``: %v\n", err)
|
||||
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
|
||||
@@ -326,7 +326,7 @@ This API is currently in an experimental state. The API is subject to change bas
|
||||
Is Segmentation enabled by Identity
|
||||
This API returns whether or not segmentation is enabled for the identity.
|
||||
|
||||
[API Spec](https://developer.sailpoint.com/docs/api//get-data-segmentation-enabled-for-user)
|
||||
[API Spec](https://developer.sailpoint.com/docs/api/v2025/get-data-segmentation-enabled-for-user)
|
||||
|
||||
### Path Parameters
|
||||
|
||||
@@ -364,7 +364,7 @@ import (
|
||||
"context"
|
||||
"fmt"
|
||||
"os"
|
||||
""
|
||||
v2025 "github.com/sailpoint-oss/golang-sdk/v2/api_v2025"
|
||||
openapiclient "github.com/sailpoint-oss/golang-sdk/v2"
|
||||
)
|
||||
|
||||
@@ -374,7 +374,7 @@ func main() {
|
||||
|
||||
configuration := NewDefaultConfiguration()
|
||||
apiClient := NewAPIClient(configuration)
|
||||
resp, r, err := apiClient..DataSegmentationAPI.GetDataSegmentationEnabledForUser(context.Background(), identityId).XSailPointExperimental(xSailPointExperimental).Execute()
|
||||
resp, r, err := apiClient.V2025.DataSegmentationAPI.GetDataSegmentationEnabledForUser(context.Background(), identityId).XSailPointExperimental(xSailPointExperimental).Execute()
|
||||
if err != nil {
|
||||
fmt.Fprintf(os.Stderr, "Error when calling `DataSegmentationAPI.GetDataSegmentationEnabledForUser``: %v\n", err)
|
||||
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
|
||||
@@ -401,7 +401,7 @@ This API is currently in an experimental state. The API is subject to change bas
|
||||
Get Segments
|
||||
This API returns the segment specified by the given ID.
|
||||
|
||||
[API Spec](https://developer.sailpoint.com/docs/api//list-data-segments)
|
||||
[API Spec](https://developer.sailpoint.com/docs/api/v2025/list-data-segments)
|
||||
|
||||
### Path Parameters
|
||||
|
||||
@@ -441,7 +441,7 @@ import (
|
||||
"context"
|
||||
"fmt"
|
||||
"os"
|
||||
""
|
||||
v2025 "github.com/sailpoint-oss/golang-sdk/v2/api_v2025"
|
||||
openapiclient "github.com/sailpoint-oss/golang-sdk/v2"
|
||||
)
|
||||
|
||||
@@ -457,7 +457,7 @@ func main() {
|
||||
|
||||
configuration := NewDefaultConfiguration()
|
||||
apiClient := NewAPIClient(configuration)
|
||||
resp, r, err := apiClient..DataSegmentationAPI.ListDataSegments(context.Background()).XSailPointExperimental(xSailPointExperimental).Enabled(enabled).Unique(unique).Published(published).Limit(limit).Offset(offset).Count(count).Filters(filters).Execute()
|
||||
resp, r, err := apiClient.V2025.DataSegmentationAPI.ListDataSegments(context.Background()).XSailPointExperimental(xSailPointExperimental).Enabled(enabled).Unique(unique).Published(published).Limit(limit).Offset(offset).Count(count).Filters(filters).Execute()
|
||||
if err != nil {
|
||||
fmt.Fprintf(os.Stderr, "Error when calling `DataSegmentationAPI.ListDataSegments``: %v\n", err)
|
||||
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
|
||||
@@ -484,7 +484,7 @@ This API is currently in an experimental state. The API is subject to change bas
|
||||
Update Segment
|
||||
Use this API to update segment fields by using the [JSON Patch](https://tools.ietf.org/html/rfc6902) standard.
|
||||
|
||||
[API Spec](https://developer.sailpoint.com/docs/api//patch-data-segment)
|
||||
[API Spec](https://developer.sailpoint.com/docs/api/v2025/patch-data-segment)
|
||||
|
||||
### Path Parameters
|
||||
|
||||
@@ -523,7 +523,7 @@ import (
|
||||
"context"
|
||||
"fmt"
|
||||
"os"
|
||||
""
|
||||
v2025 "github.com/sailpoint-oss/golang-sdk/v2/api_v2025"
|
||||
openapiclient "github.com/sailpoint-oss/golang-sdk/v2"
|
||||
)
|
||||
|
||||
@@ -534,7 +534,7 @@ func main() {
|
||||
|
||||
configuration := NewDefaultConfiguration()
|
||||
apiClient := NewAPIClient(configuration)
|
||||
resp, r, err := apiClient..DataSegmentationAPI.PatchDataSegment(context.Background(), id).XSailPointExperimental(xSailPointExperimental).RequestBody(requestBody).Execute()
|
||||
resp, r, err := apiClient.V2025.DataSegmentationAPI.PatchDataSegment(context.Background(), id).XSailPointExperimental(xSailPointExperimental).RequestBody(requestBody).Execute()
|
||||
if err != nil {
|
||||
fmt.Fprintf(os.Stderr, "Error when calling `DataSegmentationAPI.PatchDataSegment``: %v\n", err)
|
||||
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
|
||||
@@ -561,7 +561,7 @@ This API is currently in an experimental state. The API is subject to change bas
|
||||
Publish segment by ID
|
||||
This will publish the segment so that it starts applying the segmentation to the desired users if enabled
|
||||
|
||||
[API Spec](https://developer.sailpoint.com/docs/api//publish-data-segment)
|
||||
[API Spec](https://developer.sailpoint.com/docs/api/v2025/publish-data-segment)
|
||||
|
||||
### Path Parameters
|
||||
|
||||
@@ -596,7 +596,7 @@ import (
|
||||
"context"
|
||||
"fmt"
|
||||
"os"
|
||||
""
|
||||
v2025 "github.com/sailpoint-oss/golang-sdk/v2/api_v2025"
|
||||
openapiclient "github.com/sailpoint-oss/golang-sdk/v2"
|
||||
)
|
||||
|
||||
@@ -607,7 +607,7 @@ func main() {
|
||||
|
||||
configuration := NewDefaultConfiguration()
|
||||
apiClient := NewAPIClient(configuration)
|
||||
r, err := apiClient..DataSegmentationAPI.PublishDataSegment(context.Background()).XSailPointExperimental(xSailPointExperimental).RequestBody(requestBody).PublishAll(publishAll).Execute()
|
||||
r, err := apiClient.V2025.DataSegmentationAPI.PublishDataSegment(context.Background()).XSailPointExperimental(xSailPointExperimental).RequestBody(requestBody).PublishAll(publishAll).Execute()
|
||||
if err != nil {
|
||||
fmt.Fprintf(os.Stderr, "Error when calling `DataSegmentationAPI.PublishDataSegment``: %v\n", err)
|
||||
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
|
||||
|
||||
@@ -1,12 +1,12 @@
|
||||
---
|
||||
id: dimensions
|
||||
id: v2025-dimensions
|
||||
title: Dimensions
|
||||
pagination_label: Dimensions
|
||||
sidebar_label: Dimensions
|
||||
sidebar_class_name: gosdk
|
||||
keywords: ['go', 'Golang', 'sdk', 'Dimensions', 'Dimensions']
|
||||
slug: /tools/sdk/go//methods/dimensions
|
||||
tags: ['SDK', 'Software Development Kit', 'Dimensions', 'Dimensions']
|
||||
keywords: ['go', 'Golang', 'sdk', 'Dimensions', 'V2025Dimensions']
|
||||
slug: /tools/sdk/go/v2025/methods/dimensions
|
||||
tags: ['SDK', 'Software Development Kit', 'Dimensions', 'V2025Dimensions']
|
||||
---
|
||||
|
||||
# DimensionsAPI
|
||||
@@ -33,7 +33,7 @@ You must have a token with API, ORG_ADMIN, ROLE_ADMIN, or ROLE_SUBADMIN authorit
|
||||
Additionally, a ROLE_SUBADMIN cannot create a dimension that includes an access profile or entitlement if that access profile or entitlement is linked to a source that the ROLE_SUBADMIN is not associated with.
|
||||
The maximum supported length for the description field is 2000 characters.
|
||||
|
||||
[API Spec](https://developer.sailpoint.com/docs/api//create-dimension)
|
||||
[API Spec](https://developer.sailpoint.com/docs/api/v2025/create-dimension)
|
||||
|
||||
### Path Parameters
|
||||
|
||||
@@ -71,7 +71,7 @@ import (
|
||||
"context"
|
||||
"fmt"
|
||||
"os"
|
||||
""
|
||||
v2025 "github.com/sailpoint-oss/golang-sdk/v2/api_v2025"
|
||||
openapiclient "github.com/sailpoint-oss/golang-sdk/v2"
|
||||
)
|
||||
|
||||
@@ -167,7 +167,7 @@ func main() {
|
||||
|
||||
configuration := NewDefaultConfiguration()
|
||||
apiClient := NewAPIClient(configuration)
|
||||
resp, r, err := apiClient..DimensionsAPI.CreateDimension(context.Background(), roleId).Dimension(dimension).Execute()
|
||||
resp, r, err := apiClient.V2025.DimensionsAPI.CreateDimension(context.Background(), roleId).Dimension(dimension).Execute()
|
||||
if err != nil {
|
||||
fmt.Fprintf(os.Stderr, "Error when calling `DimensionsAPI.CreateDimension``: %v\n", err)
|
||||
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
|
||||
@@ -186,7 +186,7 @@ When the request is successful, the endpoint returns the bulk delete's task resu
|
||||
This endpoint can only bulk delete up to a limit of 50 roles per request.
|
||||
A token with API, ORG_ADMIN, ROLE_ADMIN, or ROLE_SUBADMIN authority is required to call this endpoint. In addition, a token with ROLE_SUBADMIN authority can only call this endpoint if all dimensions included in the request are associated with sources with management workgroups the ROLE_SUBADMIN is a member of.
|
||||
|
||||
[API Spec](https://developer.sailpoint.com/docs/api//delete-bulk-dimensions)
|
||||
[API Spec](https://developer.sailpoint.com/docs/api/v2025/delete-bulk-dimensions)
|
||||
|
||||
### Path Parameters
|
||||
|
||||
@@ -224,7 +224,7 @@ import (
|
||||
"context"
|
||||
"fmt"
|
||||
"os"
|
||||
""
|
||||
v2025 "github.com/sailpoint-oss/golang-sdk/v2/api_v2025"
|
||||
openapiclient "github.com/sailpoint-oss/golang-sdk/v2"
|
||||
)
|
||||
|
||||
@@ -236,7 +236,7 @@ func main() {
|
||||
|
||||
configuration := NewDefaultConfiguration()
|
||||
apiClient := NewAPIClient(configuration)
|
||||
resp, r, err := apiClient..DimensionsAPI.DeleteBulkDimensions(context.Background(), roleId).DimensionBulkDeleteRequest(dimensionBulkDeleteRequest).Execute()
|
||||
resp, r, err := apiClient.V2025.DimensionsAPI.DeleteBulkDimensions(context.Background(), roleId).DimensionBulkDeleteRequest(dimensionBulkDeleteRequest).Execute()
|
||||
if err != nil {
|
||||
fmt.Fprintf(os.Stderr, "Error when calling `DimensionsAPI.DeleteBulkDimensions``: %v\n", err)
|
||||
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
|
||||
@@ -253,7 +253,7 @@ Delete a Dimension
|
||||
This API deletes a Dimension by its ID.
|
||||
A token with API, ORG_ADMIN, ROLE_ADMIN, or ROLE_SUBADMIN authority is required to call this API. In addition, a token with ROLE_SUBADMIN authority may only call this API if all Access Profiles/Entitlements included in the Dimension are associated to Sources with management workgroups of which the ROLE_SUBADMIN is a member.
|
||||
|
||||
[API Spec](https://developer.sailpoint.com/docs/api//delete-dimension)
|
||||
[API Spec](https://developer.sailpoint.com/docs/api/v2025/delete-dimension)
|
||||
|
||||
### Path Parameters
|
||||
|
||||
@@ -292,7 +292,7 @@ import (
|
||||
"context"
|
||||
"fmt"
|
||||
"os"
|
||||
""
|
||||
v2025 "github.com/sailpoint-oss/golang-sdk/v2/api_v2025"
|
||||
openapiclient "github.com/sailpoint-oss/golang-sdk/v2"
|
||||
)
|
||||
|
||||
@@ -302,7 +302,7 @@ func main() {
|
||||
|
||||
configuration := NewDefaultConfiguration()
|
||||
apiClient := NewAPIClient(configuration)
|
||||
r, err := apiClient..DimensionsAPI.DeleteDimension(context.Background(), roleId, dimensionId).Execute()
|
||||
r, err := apiClient.V2025.DimensionsAPI.DeleteDimension(context.Background(), roleId, dimensionId).Execute()
|
||||
if err != nil {
|
||||
fmt.Fprintf(os.Stderr, "Error when calling `DimensionsAPI.DeleteDimension``: %v\n", err)
|
||||
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
|
||||
@@ -318,7 +318,7 @@ This API returns a Dimension by its ID.
|
||||
|
||||
A token with API, ORG_ADMIN, ROLE_ADMIN, or ROLE_SUBADMIN authority is required to call this API. In addition, a token with ROLE_SUBADMIN authority may only call this API if all Access Profiles or Entitlements included in the Dimension or Parent Role are associated to Sources with management workgroups of which the ROLE_SUBADMIN is a member.
|
||||
|
||||
[API Spec](https://developer.sailpoint.com/docs/api//get-dimension)
|
||||
[API Spec](https://developer.sailpoint.com/docs/api/v2025/get-dimension)
|
||||
|
||||
### Path Parameters
|
||||
|
||||
@@ -357,7 +357,7 @@ import (
|
||||
"context"
|
||||
"fmt"
|
||||
"os"
|
||||
""
|
||||
v2025 "github.com/sailpoint-oss/golang-sdk/v2/api_v2025"
|
||||
openapiclient "github.com/sailpoint-oss/golang-sdk/v2"
|
||||
)
|
||||
|
||||
@@ -367,7 +367,7 @@ func main() {
|
||||
|
||||
configuration := NewDefaultConfiguration()
|
||||
apiClient := NewAPIClient(configuration)
|
||||
resp, r, err := apiClient..DimensionsAPI.GetDimension(context.Background(), roleId, dimensionId).Execute()
|
||||
resp, r, err := apiClient.V2025.DimensionsAPI.GetDimension(context.Background(), roleId, dimensionId).Execute()
|
||||
if err != nil {
|
||||
fmt.Fprintf(os.Stderr, "Error when calling `DimensionsAPI.GetDimension``: %v\n", err)
|
||||
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
|
||||
@@ -385,7 +385,7 @@ This API lists the Entitlements associated with a given dimension.
|
||||
|
||||
A token with API, ORG_ADMIN, ROLE_ADMIN, or ROLE_SUBADMIN authority is required to call this API.
|
||||
|
||||
[API Spec](https://developer.sailpoint.com/docs/api//get-dimension-entitlements)
|
||||
[API Spec](https://developer.sailpoint.com/docs/api/v2025/get-dimension-entitlements)
|
||||
|
||||
### Path Parameters
|
||||
|
||||
@@ -429,7 +429,7 @@ import (
|
||||
"context"
|
||||
"fmt"
|
||||
"os"
|
||||
""
|
||||
v2025 "github.com/sailpoint-oss/golang-sdk/v2/api_v2025"
|
||||
openapiclient "github.com/sailpoint-oss/golang-sdk/v2"
|
||||
)
|
||||
|
||||
@@ -444,7 +444,7 @@ func main() {
|
||||
|
||||
configuration := NewDefaultConfiguration()
|
||||
apiClient := NewAPIClient(configuration)
|
||||
resp, r, err := apiClient..DimensionsAPI.GetDimensionEntitlements(context.Background(), roleId, dimensionId).Limit(limit).Offset(offset).Count(count).Filters(filters).Sorters(sorters).Execute()
|
||||
resp, r, err := apiClient.V2025.DimensionsAPI.GetDimensionEntitlements(context.Background(), roleId, dimensionId).Limit(limit).Offset(offset).Count(count).Filters(filters).Sorters(sorters).Execute()
|
||||
if err != nil {
|
||||
fmt.Fprintf(os.Stderr, "Error when calling `DimensionsAPI.GetDimensionEntitlements``: %v\n", err)
|
||||
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
|
||||
@@ -462,7 +462,7 @@ This API lists the Access Profiles associated with a given Dimension
|
||||
|
||||
A token with API, ORG_ADMIN, ROLE_ADMIN, or ROLE_SUBADMIN authority is required to call this API. In addition, a token with ROLE_SUBADMIN authority may only call this API if all Access Profiles included in the Role are associated to Sources with management workgroups of which the ROLE_SUBADMIN is a member.
|
||||
|
||||
[API Spec](https://developer.sailpoint.com/docs/api//list-dimension-access-profiles)
|
||||
[API Spec](https://developer.sailpoint.com/docs/api/v2025/list-dimension-access-profiles)
|
||||
|
||||
### Path Parameters
|
||||
|
||||
@@ -506,7 +506,7 @@ import (
|
||||
"context"
|
||||
"fmt"
|
||||
"os"
|
||||
""
|
||||
v2025 "github.com/sailpoint-oss/golang-sdk/v2/api_v2025"
|
||||
openapiclient "github.com/sailpoint-oss/golang-sdk/v2"
|
||||
)
|
||||
|
||||
@@ -521,7 +521,7 @@ func main() {
|
||||
|
||||
configuration := NewDefaultConfiguration()
|
||||
apiClient := NewAPIClient(configuration)
|
||||
resp, r, err := apiClient..DimensionsAPI.ListDimensionAccessProfiles(context.Background(), roleId, dimensionId).Limit(limit).Offset(offset).Count(count).Filters(filters).Sorters(sorters).Execute()
|
||||
resp, r, err := apiClient.V2025.DimensionsAPI.ListDimensionAccessProfiles(context.Background(), roleId, dimensionId).Limit(limit).Offset(offset).Count(count).Filters(filters).Sorters(sorters).Execute()
|
||||
if err != nil {
|
||||
fmt.Fprintf(os.Stderr, "Error when calling `DimensionsAPI.ListDimensionAccessProfiles``: %v\n", err)
|
||||
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
|
||||
@@ -539,7 +539,7 @@ This API returns a list of dimensions under a specified role.
|
||||
|
||||
A token with API, ORG_ADMIN, ROLE_ADMIN, or ROLE_SUBADMIN authority is required to call this API.
|
||||
|
||||
[API Spec](https://developer.sailpoint.com/docs/api//list-dimensions)
|
||||
[API Spec](https://developer.sailpoint.com/docs/api/v2025/list-dimensions)
|
||||
|
||||
### Path Parameters
|
||||
|
||||
@@ -582,7 +582,7 @@ import (
|
||||
"context"
|
||||
"fmt"
|
||||
"os"
|
||||
""
|
||||
v2025 "github.com/sailpoint-oss/golang-sdk/v2/api_v2025"
|
||||
openapiclient "github.com/sailpoint-oss/golang-sdk/v2"
|
||||
)
|
||||
|
||||
@@ -597,7 +597,7 @@ func main() {
|
||||
|
||||
configuration := NewDefaultConfiguration()
|
||||
apiClient := NewAPIClient(configuration)
|
||||
resp, r, err := apiClient..DimensionsAPI.ListDimensions(context.Background(), roleId).ForSubadmin(forSubadmin).Limit(limit).Offset(offset).Count(count).Filters(filters).Sorters(sorters).Execute()
|
||||
resp, r, err := apiClient.V2025.DimensionsAPI.ListDimensions(context.Background(), roleId).ForSubadmin(forSubadmin).Limit(limit).Offset(offset).Count(count).Filters(filters).Sorters(sorters).Execute()
|
||||
if err != nil {
|
||||
fmt.Fprintf(os.Stderr, "Error when calling `DimensionsAPI.ListDimensions``: %v\n", err)
|
||||
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
|
||||
@@ -617,7 +617,7 @@ A token with API, ORG_ADMIN, ROLE_ADMIN, or ROLE_SUBADMIN authority is required
|
||||
The maximum supported length for the description field is 2000 characters.
|
||||
When you use this API to modify a dimension's membership identities, you can only modify up to a limit of 500 membership identities at a time.
|
||||
|
||||
[API Spec](https://developer.sailpoint.com/docs/api//patch-dimension)
|
||||
[API Spec](https://developer.sailpoint.com/docs/api/v2025/patch-dimension)
|
||||
|
||||
### Path Parameters
|
||||
|
||||
@@ -657,7 +657,7 @@ import (
|
||||
"context"
|
||||
"fmt"
|
||||
"os"
|
||||
""
|
||||
v2025 "github.com/sailpoint-oss/golang-sdk/v2/api_v2025"
|
||||
openapiclient "github.com/sailpoint-oss/golang-sdk/v2"
|
||||
)
|
||||
|
||||
@@ -668,7 +668,7 @@ func main() {
|
||||
|
||||
configuration := NewDefaultConfiguration()
|
||||
apiClient := NewAPIClient(configuration)
|
||||
resp, r, err := apiClient..DimensionsAPI.PatchDimension(context.Background(), roleId, dimensionId).JsonPatchOperation(jsonPatchOperation).Execute()
|
||||
resp, r, err := apiClient.V2025.DimensionsAPI.PatchDimension(context.Background(), roleId, dimensionId).JsonPatchOperation(jsonPatchOperation).Execute()
|
||||
if err != nil {
|
||||
fmt.Fprintf(os.Stderr, "Error when calling `DimensionsAPI.PatchDimension``: %v\n", err)
|
||||
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
|
||||
|
||||
@@ -1,12 +1,12 @@
|
||||
---
|
||||
id: entitlements
|
||||
id: v2025-entitlements
|
||||
title: Entitlements
|
||||
pagination_label: Entitlements
|
||||
sidebar_label: Entitlements
|
||||
sidebar_class_name: gosdk
|
||||
keywords: ['go', 'Golang', 'sdk', 'Entitlements', 'Entitlements']
|
||||
slug: /tools/sdk/go//methods/entitlements
|
||||
tags: ['SDK', 'Software Development Kit', 'Entitlements', 'Entitlements']
|
||||
keywords: ['go', 'Golang', 'sdk', 'Entitlements', 'V2025Entitlements']
|
||||
slug: /tools/sdk/go/v2025/methods/entitlements
|
||||
tags: ['SDK', 'Software Development Kit', 'Entitlements', 'V2025Entitlements']
|
||||
---
|
||||
|
||||
# EntitlementsAPI
|
||||
@@ -93,7 +93,7 @@ This API is currently in an experimental state. The API is subject to change bas
|
||||
Add metadata to an entitlement.
|
||||
Add single Access Model Metadata to an entitlement.
|
||||
|
||||
[API Spec](https://developer.sailpoint.com/docs/api//create-access-model-metadata-for-entitlement)
|
||||
[API Spec](https://developer.sailpoint.com/docs/api/v2025/create-access-model-metadata-for-entitlement)
|
||||
|
||||
### Path Parameters
|
||||
|
||||
@@ -135,7 +135,7 @@ import (
|
||||
"context"
|
||||
"fmt"
|
||||
"os"
|
||||
""
|
||||
v2025 "github.com/sailpoint-oss/golang-sdk/v2/api_v2025"
|
||||
openapiclient "github.com/sailpoint-oss/golang-sdk/v2"
|
||||
)
|
||||
|
||||
@@ -147,7 +147,7 @@ func main() {
|
||||
|
||||
configuration := NewDefaultConfiguration()
|
||||
apiClient := NewAPIClient(configuration)
|
||||
resp, r, err := apiClient..EntitlementsAPI.CreateAccessModelMetadataForEntitlement(context.Background(), id, attributeKey, attributeValue).XSailPointExperimental(xSailPointExperimental).Execute()
|
||||
resp, r, err := apiClient.V2025.EntitlementsAPI.CreateAccessModelMetadataForEntitlement(context.Background(), id, attributeKey, attributeValue).XSailPointExperimental(xSailPointExperimental).Execute()
|
||||
if err != nil {
|
||||
fmt.Fprintf(os.Stderr, "Error when calling `EntitlementsAPI.CreateAccessModelMetadataForEntitlement``: %v\n", err)
|
||||
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
|
||||
@@ -174,7 +174,7 @@ This API is currently in an experimental state. The API is subject to change bas
|
||||
Remove metadata from an entitlement.
|
||||
Remove single Access Model Metadata from an entitlement.
|
||||
|
||||
[API Spec](https://developer.sailpoint.com/docs/api//delete-access-model-metadata-from-entitlement)
|
||||
[API Spec](https://developer.sailpoint.com/docs/api/v2025/delete-access-model-metadata-from-entitlement)
|
||||
|
||||
### Path Parameters
|
||||
|
||||
@@ -216,7 +216,7 @@ import (
|
||||
"context"
|
||||
"fmt"
|
||||
"os"
|
||||
""
|
||||
v2025 "github.com/sailpoint-oss/golang-sdk/v2/api_v2025"
|
||||
openapiclient "github.com/sailpoint-oss/golang-sdk/v2"
|
||||
)
|
||||
|
||||
@@ -228,7 +228,7 @@ func main() {
|
||||
|
||||
configuration := NewDefaultConfiguration()
|
||||
apiClient := NewAPIClient(configuration)
|
||||
r, err := apiClient..EntitlementsAPI.DeleteAccessModelMetadataFromEntitlement(context.Background(), id, attributeKey, attributeValue).XSailPointExperimental(xSailPointExperimental).Execute()
|
||||
r, err := apiClient.V2025.EntitlementsAPI.DeleteAccessModelMetadataFromEntitlement(context.Background(), id, attributeKey, attributeValue).XSailPointExperimental(xSailPointExperimental).Execute()
|
||||
if err != nil {
|
||||
fmt.Fprintf(os.Stderr, "Error when calling `EntitlementsAPI.DeleteAccessModelMetadataFromEntitlement``: %v\n", err)
|
||||
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
|
||||
@@ -253,7 +253,7 @@ This API is currently in an experimental state. The API is subject to change bas
|
||||
Get an entitlement
|
||||
This API returns an entitlement by its ID.
|
||||
|
||||
[API Spec](https://developer.sailpoint.com/docs/api//get-entitlement)
|
||||
[API Spec](https://developer.sailpoint.com/docs/api/v2025/get-entitlement)
|
||||
|
||||
### Path Parameters
|
||||
|
||||
@@ -291,7 +291,7 @@ import (
|
||||
"context"
|
||||
"fmt"
|
||||
"os"
|
||||
""
|
||||
v2025 "github.com/sailpoint-oss/golang-sdk/v2/api_v2025"
|
||||
openapiclient "github.com/sailpoint-oss/golang-sdk/v2"
|
||||
)
|
||||
|
||||
@@ -301,7 +301,7 @@ func main() {
|
||||
|
||||
configuration := NewDefaultConfiguration()
|
||||
apiClient := NewAPIClient(configuration)
|
||||
resp, r, err := apiClient..EntitlementsAPI.GetEntitlement(context.Background(), id).XSailPointExperimental(xSailPointExperimental).Execute()
|
||||
resp, r, err := apiClient.V2025.EntitlementsAPI.GetEntitlement(context.Background(), id).XSailPointExperimental(xSailPointExperimental).Execute()
|
||||
if err != nil {
|
||||
fmt.Fprintf(os.Stderr, "Error when calling `EntitlementsAPI.GetEntitlement``: %v\n", err)
|
||||
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
|
||||
@@ -328,7 +328,7 @@ This API is currently in an experimental state. The API is subject to change bas
|
||||
Get Entitlement Request Config
|
||||
This API returns the entitlement request config for a specified entitlement.
|
||||
|
||||
[API Spec](https://developer.sailpoint.com/docs/api//get-entitlement-request-config)
|
||||
[API Spec](https://developer.sailpoint.com/docs/api/v2025/get-entitlement-request-config)
|
||||
|
||||
### Path Parameters
|
||||
|
||||
@@ -366,7 +366,7 @@ import (
|
||||
"context"
|
||||
"fmt"
|
||||
"os"
|
||||
""
|
||||
v2025 "github.com/sailpoint-oss/golang-sdk/v2/api_v2025"
|
||||
openapiclient "github.com/sailpoint-oss/golang-sdk/v2"
|
||||
)
|
||||
|
||||
@@ -376,7 +376,7 @@ func main() {
|
||||
|
||||
configuration := NewDefaultConfiguration()
|
||||
apiClient := NewAPIClient(configuration)
|
||||
resp, r, err := apiClient..EntitlementsAPI.GetEntitlementRequestConfig(context.Background(), id).XSailPointExperimental(xSailPointExperimental).Execute()
|
||||
resp, r, err := apiClient.V2025.EntitlementsAPI.GetEntitlementRequestConfig(context.Background(), id).XSailPointExperimental(xSailPointExperimental).Execute()
|
||||
if err != nil {
|
||||
fmt.Fprintf(os.Stderr, "Error when calling `EntitlementsAPI.GetEntitlementRequestConfig``: %v\n", err)
|
||||
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
|
||||
@@ -410,7 +410,7 @@ If the target source is a direct connection, then the request body must be empty
|
||||
|
||||
If the target source is a delimited file source, then the CSV file needs to be included in the request body. You will also need to set the Content-Type header to `multipart/form-data`.
|
||||
|
||||
[API Spec](https://developer.sailpoint.com/docs/api//import-entitlements-by-source)
|
||||
[API Spec](https://developer.sailpoint.com/docs/api/v2025/import-entitlements-by-source)
|
||||
|
||||
### Path Parameters
|
||||
|
||||
@@ -449,7 +449,7 @@ import (
|
||||
"context"
|
||||
"fmt"
|
||||
"os"
|
||||
""
|
||||
v2025 "github.com/sailpoint-oss/golang-sdk/v2/api_v2025"
|
||||
openapiclient "github.com/sailpoint-oss/golang-sdk/v2"
|
||||
)
|
||||
|
||||
@@ -460,7 +460,7 @@ func main() {
|
||||
|
||||
configuration := NewDefaultConfiguration()
|
||||
apiClient := NewAPIClient(configuration)
|
||||
resp, r, err := apiClient..EntitlementsAPI.ImportEntitlementsBySource(context.Background(), id).XSailPointExperimental(xSailPointExperimental).CsvFile(csvFile).Execute()
|
||||
resp, r, err := apiClient.V2025.EntitlementsAPI.ImportEntitlementsBySource(context.Background(), id).XSailPointExperimental(xSailPointExperimental).CsvFile(csvFile).Execute()
|
||||
if err != nil {
|
||||
fmt.Fprintf(os.Stderr, "Error when calling `EntitlementsAPI.ImportEntitlementsBySource``: %v\n", err)
|
||||
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
|
||||
@@ -487,7 +487,7 @@ This API is currently in an experimental state. The API is subject to change bas
|
||||
List of entitlements children
|
||||
This API returns a list of all child entitlements of a given entitlement.
|
||||
|
||||
[API Spec](https://developer.sailpoint.com/docs/api//list-entitlement-children)
|
||||
[API Spec](https://developer.sailpoint.com/docs/api/v2025/list-entitlement-children)
|
||||
|
||||
### Path Parameters
|
||||
|
||||
@@ -530,7 +530,7 @@ import (
|
||||
"context"
|
||||
"fmt"
|
||||
"os"
|
||||
""
|
||||
v2025 "github.com/sailpoint-oss/golang-sdk/v2/api_v2025"
|
||||
openapiclient "github.com/sailpoint-oss/golang-sdk/v2"
|
||||
)
|
||||
|
||||
@@ -545,7 +545,7 @@ func main() {
|
||||
|
||||
configuration := NewDefaultConfiguration()
|
||||
apiClient := NewAPIClient(configuration)
|
||||
resp, r, err := apiClient..EntitlementsAPI.ListEntitlementChildren(context.Background(), id).XSailPointExperimental(xSailPointExperimental).Limit(limit).Offset(offset).Count(count).Sorters(sorters).Filters(filters).Execute()
|
||||
resp, r, err := apiClient.V2025.EntitlementsAPI.ListEntitlementChildren(context.Background(), id).XSailPointExperimental(xSailPointExperimental).Limit(limit).Offset(offset).Count(count).Sorters(sorters).Filters(filters).Execute()
|
||||
if err != nil {
|
||||
fmt.Fprintf(os.Stderr, "Error when calling `EntitlementsAPI.ListEntitlementChildren``: %v\n", err)
|
||||
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
|
||||
@@ -572,7 +572,7 @@ This API is currently in an experimental state. The API is subject to change bas
|
||||
List of entitlements parents
|
||||
This API returns a list of all parent entitlements of a given entitlement.
|
||||
|
||||
[API Spec](https://developer.sailpoint.com/docs/api//list-entitlement-parents)
|
||||
[API Spec](https://developer.sailpoint.com/docs/api/v2025/list-entitlement-parents)
|
||||
|
||||
### Path Parameters
|
||||
|
||||
@@ -615,7 +615,7 @@ import (
|
||||
"context"
|
||||
"fmt"
|
||||
"os"
|
||||
""
|
||||
v2025 "github.com/sailpoint-oss/golang-sdk/v2/api_v2025"
|
||||
openapiclient "github.com/sailpoint-oss/golang-sdk/v2"
|
||||
)
|
||||
|
||||
@@ -630,7 +630,7 @@ func main() {
|
||||
|
||||
configuration := NewDefaultConfiguration()
|
||||
apiClient := NewAPIClient(configuration)
|
||||
resp, r, err := apiClient..EntitlementsAPI.ListEntitlementParents(context.Background(), id).XSailPointExperimental(xSailPointExperimental).Limit(limit).Offset(offset).Count(count).Sorters(sorters).Filters(filters).Execute()
|
||||
resp, r, err := apiClient.V2025.EntitlementsAPI.ListEntitlementParents(context.Background(), id).XSailPointExperimental(xSailPointExperimental).Limit(limit).Offset(offset).Count(count).Sorters(sorters).Filters(filters).Execute()
|
||||
if err != nil {
|
||||
fmt.Fprintf(os.Stderr, "Error when calling `EntitlementsAPI.ListEntitlementParents``: %v\n", err)
|
||||
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
|
||||
@@ -661,7 +661,7 @@ This API can be used in one of the two following ways: either getting entitlemen
|
||||
|
||||
Any authenticated token can call this API.
|
||||
|
||||
[API Spec](https://developer.sailpoint.com/docs/api//list-entitlements)
|
||||
[API Spec](https://developer.sailpoint.com/docs/api/v2025/list-entitlements)
|
||||
|
||||
### Path Parameters
|
||||
|
||||
@@ -703,7 +703,7 @@ import (
|
||||
"context"
|
||||
"fmt"
|
||||
"os"
|
||||
""
|
||||
v2025 "github.com/sailpoint-oss/golang-sdk/v2/api_v2025"
|
||||
openapiclient "github.com/sailpoint-oss/golang-sdk/v2"
|
||||
)
|
||||
|
||||
@@ -721,7 +721,7 @@ func main() {
|
||||
|
||||
configuration := NewDefaultConfiguration()
|
||||
apiClient := NewAPIClient(configuration)
|
||||
resp, r, err := apiClient..EntitlementsAPI.ListEntitlements(context.Background()).XSailPointExperimental(xSailPointExperimental).AccountId(accountId).SegmentedForIdentity(segmentedForIdentity).ForSegmentIds(forSegmentIds).IncludeUnsegmented(includeUnsegmented).Offset(offset).Limit(limit).Count(count).Sorters(sorters).Filters(filters).Execute()
|
||||
resp, r, err := apiClient.V2025.EntitlementsAPI.ListEntitlements(context.Background()).XSailPointExperimental(xSailPointExperimental).AccountId(accountId).SegmentedForIdentity(segmentedForIdentity).ForSegmentIds(forSegmentIds).IncludeUnsegmented(includeUnsegmented).Offset(offset).Limit(limit).Count(count).Sorters(sorters).Filters(filters).Execute()
|
||||
if err != nil {
|
||||
fmt.Fprintf(os.Stderr, "Error when calling `EntitlementsAPI.ListEntitlements``: %v\n", err)
|
||||
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
|
||||
@@ -752,7 +752,7 @@ The following fields are patchable: **requestable**, **privileged**, **segments*
|
||||
|
||||
When you're patching owner, only owner type and owner id must be provided. Owner name is optional, and it won't be modified. If the owner name is provided, it should correspond to the real name. The only owner type currently supported is IDENTITY.
|
||||
|
||||
[API Spec](https://developer.sailpoint.com/docs/api//patch-entitlement)
|
||||
[API Spec](https://developer.sailpoint.com/docs/api/v2025/patch-entitlement)
|
||||
|
||||
### Path Parameters
|
||||
|
||||
@@ -791,7 +791,7 @@ import (
|
||||
"context"
|
||||
"fmt"
|
||||
"os"
|
||||
""
|
||||
v2025 "github.com/sailpoint-oss/golang-sdk/v2/api_v2025"
|
||||
openapiclient "github.com/sailpoint-oss/golang-sdk/v2"
|
||||
)
|
||||
|
||||
@@ -802,7 +802,7 @@ func main() {
|
||||
|
||||
configuration := NewDefaultConfiguration()
|
||||
apiClient := NewAPIClient(configuration)
|
||||
resp, r, err := apiClient..EntitlementsAPI.PatchEntitlement(context.Background(), id).XSailPointExperimental(xSailPointExperimental).JsonPatchOperation(jsonPatchOperation).Execute()
|
||||
resp, r, err := apiClient.V2025.EntitlementsAPI.PatchEntitlement(context.Background(), id).XSailPointExperimental(xSailPointExperimental).JsonPatchOperation(jsonPatchOperation).Execute()
|
||||
if err != nil {
|
||||
fmt.Fprintf(os.Stderr, "Error when calling `EntitlementsAPI.PatchEntitlement``: %v\n", err)
|
||||
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
|
||||
@@ -829,7 +829,7 @@ This API is currently in an experimental state. The API is subject to change bas
|
||||
Replace Entitlement Request Config
|
||||
This API replaces the entitlement request config for a specified entitlement.
|
||||
|
||||
[API Spec](https://developer.sailpoint.com/docs/api//put-entitlement-request-config)
|
||||
[API Spec](https://developer.sailpoint.com/docs/api/v2025/put-entitlement-request-config)
|
||||
|
||||
### Path Parameters
|
||||
|
||||
@@ -868,7 +868,7 @@ import (
|
||||
"context"
|
||||
"fmt"
|
||||
"os"
|
||||
""
|
||||
v2025 "github.com/sailpoint-oss/golang-sdk/v2/api_v2025"
|
||||
openapiclient "github.com/sailpoint-oss/golang-sdk/v2"
|
||||
)
|
||||
|
||||
@@ -884,7 +884,7 @@ func main() {
|
||||
|
||||
configuration := NewDefaultConfiguration()
|
||||
apiClient := NewAPIClient(configuration)
|
||||
resp, r, err := apiClient..EntitlementsAPI.PutEntitlementRequestConfig(context.Background(), id).XSailPointExperimental(xSailPointExperimental).EntitlementRequestConfig(entitlementRequestConfig).Execute()
|
||||
resp, r, err := apiClient.V2025.EntitlementsAPI.PutEntitlementRequestConfig(context.Background(), id).XSailPointExperimental(xSailPointExperimental).EntitlementRequestConfig(entitlementRequestConfig).Execute()
|
||||
if err != nil {
|
||||
fmt.Fprintf(os.Stderr, "Error when calling `EntitlementsAPI.PutEntitlementRequestConfig``: %v\n", err)
|
||||
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
|
||||
@@ -912,7 +912,7 @@ Reset Source Entitlements
|
||||
Remove all entitlements from a specific source.
|
||||
To reload the accounts along with the entitlements you removed, you must run an unoptimized aggregation. To do so, use [Account Aggregation](https://developer.sailpoint.com/docs/api/v2024/import-accounts/) with `disableOptimization` = `true`.
|
||||
|
||||
[API Spec](https://developer.sailpoint.com/docs/api//reset-source-entitlements)
|
||||
[API Spec](https://developer.sailpoint.com/docs/api/v2025/reset-source-entitlements)
|
||||
|
||||
### Path Parameters
|
||||
|
||||
@@ -950,7 +950,7 @@ import (
|
||||
"context"
|
||||
"fmt"
|
||||
"os"
|
||||
""
|
||||
v2025 "github.com/sailpoint-oss/golang-sdk/v2/api_v2025"
|
||||
openapiclient "github.com/sailpoint-oss/golang-sdk/v2"
|
||||
)
|
||||
|
||||
@@ -960,7 +960,7 @@ func main() {
|
||||
|
||||
configuration := NewDefaultConfiguration()
|
||||
apiClient := NewAPIClient(configuration)
|
||||
resp, r, err := apiClient..EntitlementsAPI.ResetSourceEntitlements(context.Background(), id).XSailPointExperimental(xSailPointExperimental).Execute()
|
||||
resp, r, err := apiClient.V2025.EntitlementsAPI.ResetSourceEntitlements(context.Background(), id).XSailPointExperimental(xSailPointExperimental).Execute()
|
||||
if err != nil {
|
||||
fmt.Fprintf(os.Stderr, "Error when calling `EntitlementsAPI.ResetSourceEntitlements``: %v\n", err)
|
||||
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
|
||||
@@ -993,7 +993,7 @@ Bulk update an entitlement list
|
||||
: boolean }**`"
|
||||
|
||||
|
||||
[API Spec](https://developer.sailpoint.com/docs/api//update-entitlements-in-bulk)
|
||||
[API Spec](https://developer.sailpoint.com/docs/api/v2025/update-entitlements-in-bulk)
|
||||
|
||||
### Path Parameters
|
||||
|
||||
@@ -1027,7 +1027,7 @@ import (
|
||||
"context"
|
||||
"fmt"
|
||||
"os"
|
||||
""
|
||||
v2025 "github.com/sailpoint-oss/golang-sdk/v2/api_v2025"
|
||||
openapiclient "github.com/sailpoint-oss/golang-sdk/v2"
|
||||
)
|
||||
|
||||
@@ -1048,7 +1048,7 @@ func main() {
|
||||
|
||||
configuration := NewDefaultConfiguration()
|
||||
apiClient := NewAPIClient(configuration)
|
||||
r, err := apiClient..EntitlementsAPI.UpdateEntitlementsInBulk(context.Background()).XSailPointExperimental(xSailPointExperimental).EntitlementBulkUpdateRequest(entitlementBulkUpdateRequest).Execute()
|
||||
r, err := apiClient.V2025.EntitlementsAPI.UpdateEntitlementsInBulk(context.Background()).XSailPointExperimental(xSailPointExperimental).EntitlementBulkUpdateRequest(entitlementBulkUpdateRequest).Execute()
|
||||
if err != nil {
|
||||
fmt.Fprintf(os.Stderr, "Error when calling `EntitlementsAPI.UpdateEntitlementsInBulk``: %v\n", err)
|
||||
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
|
||||
|
||||
@@ -1,12 +1,12 @@
|
||||
---
|
||||
id: global-tenant-security-settings
|
||||
id: v2025-global-tenant-security-settings
|
||||
title: GlobalTenantSecuritySettings
|
||||
pagination_label: GlobalTenantSecuritySettings
|
||||
sidebar_label: GlobalTenantSecuritySettings
|
||||
sidebar_class_name: gosdk
|
||||
keywords: ['go', 'Golang', 'sdk', 'GlobalTenantSecuritySettings', 'GlobalTenantSecuritySettings']
|
||||
slug: /tools/sdk/go//methods/global-tenant-security-settings
|
||||
tags: ['SDK', 'Software Development Kit', 'GlobalTenantSecuritySettings', 'GlobalTenantSecuritySettings']
|
||||
keywords: ['go', 'Golang', 'sdk', 'GlobalTenantSecuritySettings', 'V2025GlobalTenantSecuritySettings']
|
||||
slug: /tools/sdk/go/v2025/methods/global-tenant-security-settings
|
||||
tags: ['SDK', 'Software Development Kit', 'GlobalTenantSecuritySettings', 'V2025GlobalTenantSecuritySettings']
|
||||
---
|
||||
|
||||
# GlobalTenantSecuritySettingsAPI
|
||||
@@ -27,7 +27,7 @@ Method | HTTP request | Description
|
||||
Create security network configuration.
|
||||
This API returns the details of an org's network auth configuration. Requires security scope of: 'sp:auth-org:manage'
|
||||
|
||||
[API Spec](https://developer.sailpoint.com/docs/api//create-auth-org-network-config)
|
||||
[API Spec](https://developer.sailpoint.com/docs/api/v2025/create-auth-org-network-config)
|
||||
|
||||
### Path Parameters
|
||||
|
||||
@@ -60,7 +60,7 @@ import (
|
||||
"context"
|
||||
"fmt"
|
||||
"os"
|
||||
""
|
||||
v2025 "github.com/sailpoint-oss/golang-sdk/v2/api_v2025"
|
||||
openapiclient "github.com/sailpoint-oss/golang-sdk/v2"
|
||||
)
|
||||
|
||||
@@ -73,7 +73,7 @@ func main() {
|
||||
|
||||
configuration := NewDefaultConfiguration()
|
||||
apiClient := NewAPIClient(configuration)
|
||||
resp, r, err := apiClient..GlobalTenantSecuritySettingsAPI.CreateAuthOrgNetworkConfig(context.Background()).NetworkConfiguration(networkConfiguration).Execute()
|
||||
resp, r, err := apiClient.V2025.GlobalTenantSecuritySettingsAPI.CreateAuthOrgNetworkConfig(context.Background()).NetworkConfiguration(networkConfiguration).Execute()
|
||||
if err != nil {
|
||||
fmt.Fprintf(os.Stderr, "Error when calling `GlobalTenantSecuritySettingsAPI.CreateAuthOrgNetworkConfig``: %v\n", err)
|
||||
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
|
||||
@@ -89,7 +89,7 @@ func main() {
|
||||
Get security network configuration.
|
||||
This API returns the details of an org's network auth configuration.
|
||||
|
||||
[API Spec](https://developer.sailpoint.com/docs/api//get-auth-org-network-config)
|
||||
[API Spec](https://developer.sailpoint.com/docs/api/v2025/get-auth-org-network-config)
|
||||
|
||||
### Path Parameters
|
||||
|
||||
@@ -118,7 +118,7 @@ import (
|
||||
"context"
|
||||
"fmt"
|
||||
"os"
|
||||
""
|
||||
v2025 "github.com/sailpoint-oss/golang-sdk/v2/api_v2025"
|
||||
openapiclient "github.com/sailpoint-oss/golang-sdk/v2"
|
||||
)
|
||||
|
||||
@@ -126,7 +126,7 @@ func main() {
|
||||
|
||||
configuration := NewDefaultConfiguration()
|
||||
apiClient := NewAPIClient(configuration)
|
||||
resp, r, err := apiClient..GlobalTenantSecuritySettingsAPI.GetAuthOrgNetworkConfig(context.Background()).Execute()
|
||||
resp, r, err := apiClient.V2025.GlobalTenantSecuritySettingsAPI.GetAuthOrgNetworkConfig(context.Background()).Execute()
|
||||
if err != nil {
|
||||
fmt.Fprintf(os.Stderr, "Error when calling `GlobalTenantSecuritySettingsAPI.GetAuthOrgNetworkConfig``: %v\n", err)
|
||||
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
|
||||
@@ -143,7 +143,7 @@ Update security network configuration.
|
||||
This API updates an existing network configuration for an org using PATCH
|
||||
Requires security scope of: 'sp:auth-org:manage'
|
||||
|
||||
[API Spec](https://developer.sailpoint.com/docs/api//patch-auth-org-network-config)
|
||||
[API Spec](https://developer.sailpoint.com/docs/api/v2025/patch-auth-org-network-config)
|
||||
|
||||
### Path Parameters
|
||||
|
||||
@@ -176,7 +176,7 @@ import (
|
||||
"context"
|
||||
"fmt"
|
||||
"os"
|
||||
""
|
||||
v2025 "github.com/sailpoint-oss/golang-sdk/v2/api_v2025"
|
||||
openapiclient "github.com/sailpoint-oss/golang-sdk/v2"
|
||||
)
|
||||
|
||||
@@ -185,7 +185,7 @@ func main() {
|
||||
|
||||
configuration := NewDefaultConfiguration()
|
||||
apiClient := NewAPIClient(configuration)
|
||||
resp, r, err := apiClient..GlobalTenantSecuritySettingsAPI.PatchAuthOrgNetworkConfig(context.Background()).JsonPatchOperation(jsonPatchOperation).Execute()
|
||||
resp, r, err := apiClient.V2025.GlobalTenantSecuritySettingsAPI.PatchAuthOrgNetworkConfig(context.Background()).JsonPatchOperation(jsonPatchOperation).Execute()
|
||||
if err != nil {
|
||||
fmt.Fprintf(os.Stderr, "Error when calling `GlobalTenantSecuritySettingsAPI.PatchAuthOrgNetworkConfig``: %v\n", err)
|
||||
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
|
||||
|
||||
@@ -1,12 +1,12 @@
|
||||
---
|
||||
id: governance-groups
|
||||
id: v2025-governance-groups
|
||||
title: GovernanceGroups
|
||||
pagination_label: GovernanceGroups
|
||||
sidebar_label: GovernanceGroups
|
||||
sidebar_class_name: gosdk
|
||||
keywords: ['go', 'Golang', 'sdk', 'GovernanceGroups', 'GovernanceGroups']
|
||||
slug: /tools/sdk/go//methods/governance-groups
|
||||
tags: ['SDK', 'Software Development Kit', 'GovernanceGroups', 'GovernanceGroups']
|
||||
keywords: ['go', 'Golang', 'sdk', 'GovernanceGroups', 'V2025GovernanceGroups']
|
||||
slug: /tools/sdk/go/v2025/methods/governance-groups
|
||||
tags: ['SDK', 'Software Development Kit', 'GovernanceGroups', 'V2025GovernanceGroups']
|
||||
---
|
||||
|
||||
# GovernanceGroupsAPI
|
||||
@@ -47,7 +47,7 @@ This API is currently in an experimental state. The API is subject to change bas
|
||||
Create a new Governance Group.
|
||||
This API creates a new Governance Group.
|
||||
|
||||
[API Spec](https://developer.sailpoint.com/docs/api//create-workgroup)
|
||||
[API Spec](https://developer.sailpoint.com/docs/api/v2025/create-workgroup)
|
||||
|
||||
### Path Parameters
|
||||
|
||||
@@ -81,7 +81,7 @@ import (
|
||||
"context"
|
||||
"fmt"
|
||||
"os"
|
||||
""
|
||||
v2025 "github.com/sailpoint-oss/golang-sdk/v2/api_v2025"
|
||||
openapiclient "github.com/sailpoint-oss/golang-sdk/v2"
|
||||
)
|
||||
|
||||
@@ -106,7 +106,7 @@ func main() {
|
||||
|
||||
configuration := NewDefaultConfiguration()
|
||||
apiClient := NewAPIClient(configuration)
|
||||
resp, r, err := apiClient..GovernanceGroupsAPI.CreateWorkgroup(context.Background()).XSailPointExperimental(xSailPointExperimental).WorkgroupDto(workgroupDto).Execute()
|
||||
resp, r, err := apiClient.V2025.GovernanceGroupsAPI.CreateWorkgroup(context.Background()).XSailPointExperimental(xSailPointExperimental).WorkgroupDto(workgroupDto).Execute()
|
||||
if err != nil {
|
||||
fmt.Fprintf(os.Stderr, "Error when calling `GovernanceGroupsAPI.CreateWorkgroup``: %v\n", err)
|
||||
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
|
||||
@@ -133,7 +133,7 @@ This API is currently in an experimental state. The API is subject to change bas
|
||||
Delete a Governance Group
|
||||
This API deletes a Governance Group by its ID.
|
||||
|
||||
[API Spec](https://developer.sailpoint.com/docs/api//delete-workgroup)
|
||||
[API Spec](https://developer.sailpoint.com/docs/api/v2025/delete-workgroup)
|
||||
|
||||
### Path Parameters
|
||||
|
||||
@@ -171,7 +171,7 @@ import (
|
||||
"context"
|
||||
"fmt"
|
||||
"os"
|
||||
""
|
||||
v2025 "github.com/sailpoint-oss/golang-sdk/v2/api_v2025"
|
||||
openapiclient "github.com/sailpoint-oss/golang-sdk/v2"
|
||||
)
|
||||
|
||||
@@ -181,7 +181,7 @@ func main() {
|
||||
|
||||
configuration := NewDefaultConfiguration()
|
||||
apiClient := NewAPIClient(configuration)
|
||||
r, err := apiClient..GovernanceGroupsAPI.DeleteWorkgroup(context.Background(), id).XSailPointExperimental(xSailPointExperimental).Execute()
|
||||
r, err := apiClient.V2025.GovernanceGroupsAPI.DeleteWorkgroup(context.Background(), id).XSailPointExperimental(xSailPointExperimental).Execute()
|
||||
if err != nil {
|
||||
fmt.Fprintf(os.Stderr, "Error when calling `GovernanceGroupsAPI.DeleteWorkgroup``: %v\n", err)
|
||||
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
|
||||
@@ -209,7 +209,7 @@ This API removes one or more members from a Governance Group. A
|
||||
|
||||
> **name**
|
||||
|
||||
[API Spec](https://developer.sailpoint.com/docs/api//delete-workgroup-members)
|
||||
[API Spec](https://developer.sailpoint.com/docs/api/v2025/delete-workgroup-members)
|
||||
|
||||
### Path Parameters
|
||||
|
||||
@@ -248,7 +248,7 @@ import (
|
||||
"context"
|
||||
"fmt"
|
||||
"os"
|
||||
""
|
||||
v2025 "github.com/sailpoint-oss/golang-sdk/v2/api_v2025"
|
||||
openapiclient "github.com/sailpoint-oss/golang-sdk/v2"
|
||||
)
|
||||
|
||||
@@ -259,7 +259,7 @@ func main() {
|
||||
|
||||
configuration := NewDefaultConfiguration()
|
||||
apiClient := NewAPIClient(configuration)
|
||||
resp, r, err := apiClient..GovernanceGroupsAPI.DeleteWorkgroupMembers(context.Background(), workgroupId).XSailPointExperimental(xSailPointExperimental).IdentityPreviewResponseIdentity(identityPreviewResponseIdentity).Execute()
|
||||
resp, r, err := apiClient.V2025.GovernanceGroupsAPI.DeleteWorkgroupMembers(context.Background(), workgroupId).XSailPointExperimental(xSailPointExperimental).IdentityPreviewResponseIdentity(identityPreviewResponseIdentity).Execute()
|
||||
if err != nil {
|
||||
fmt.Fprintf(os.Stderr, "Error when calling `GovernanceGroupsAPI.DeleteWorkgroupMembers``: %v\n", err)
|
||||
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
|
||||
@@ -297,7 +297,7 @@ This API initiates a bulk deletion of one or more Governance Groups.
|
||||
|
||||
> **This API has limit number of Governance Groups can be deleted at one time. If the request contains more then 100 Governance Groups IDs to be deleted then the API will throw an exception.**
|
||||
|
||||
[API Spec](https://developer.sailpoint.com/docs/api//delete-workgroups-in-bulk)
|
||||
[API Spec](https://developer.sailpoint.com/docs/api/v2025/delete-workgroups-in-bulk)
|
||||
|
||||
### Path Parameters
|
||||
|
||||
@@ -331,7 +331,7 @@ import (
|
||||
"context"
|
||||
"fmt"
|
||||
"os"
|
||||
""
|
||||
v2025 "github.com/sailpoint-oss/golang-sdk/v2/api_v2025"
|
||||
openapiclient "github.com/sailpoint-oss/golang-sdk/v2"
|
||||
)
|
||||
|
||||
@@ -343,7 +343,7 @@ func main() {
|
||||
|
||||
configuration := NewDefaultConfiguration()
|
||||
apiClient := NewAPIClient(configuration)
|
||||
resp, r, err := apiClient..GovernanceGroupsAPI.DeleteWorkgroupsInBulk(context.Background()).XSailPointExperimental(xSailPointExperimental).WorkgroupBulkDeleteRequest(workgroupBulkDeleteRequest).Execute()
|
||||
resp, r, err := apiClient.V2025.GovernanceGroupsAPI.DeleteWorkgroupsInBulk(context.Background()).XSailPointExperimental(xSailPointExperimental).WorkgroupBulkDeleteRequest(workgroupBulkDeleteRequest).Execute()
|
||||
if err != nil {
|
||||
fmt.Fprintf(os.Stderr, "Error when calling `GovernanceGroupsAPI.DeleteWorkgroupsInBulk``: %v\n", err)
|
||||
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
|
||||
@@ -370,7 +370,7 @@ This API is currently in an experimental state. The API is subject to change bas
|
||||
Get Governance Group by Id
|
||||
This API returns a Governance Groups by its ID.
|
||||
|
||||
[API Spec](https://developer.sailpoint.com/docs/api//get-workgroup)
|
||||
[API Spec](https://developer.sailpoint.com/docs/api/v2025/get-workgroup)
|
||||
|
||||
### Path Parameters
|
||||
|
||||
@@ -408,7 +408,7 @@ import (
|
||||
"context"
|
||||
"fmt"
|
||||
"os"
|
||||
""
|
||||
v2025 "github.com/sailpoint-oss/golang-sdk/v2/api_v2025"
|
||||
openapiclient "github.com/sailpoint-oss/golang-sdk/v2"
|
||||
)
|
||||
|
||||
@@ -418,7 +418,7 @@ func main() {
|
||||
|
||||
configuration := NewDefaultConfiguration()
|
||||
apiClient := NewAPIClient(configuration)
|
||||
resp, r, err := apiClient..GovernanceGroupsAPI.GetWorkgroup(context.Background(), id).XSailPointExperimental(xSailPointExperimental).Execute()
|
||||
resp, r, err := apiClient.V2025.GovernanceGroupsAPI.GetWorkgroup(context.Background(), id).XSailPointExperimental(xSailPointExperimental).Execute()
|
||||
if err != nil {
|
||||
fmt.Fprintf(os.Stderr, "Error when calling `GovernanceGroupsAPI.GetWorkgroup``: %v\n", err)
|
||||
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
|
||||
@@ -445,7 +445,7 @@ This API is currently in an experimental state. The API is subject to change bas
|
||||
List connections for Governance Group
|
||||
This API returns list of connections associated with a Governance Group.
|
||||
|
||||
[API Spec](https://developer.sailpoint.com/docs/api//list-connections)
|
||||
[API Spec](https://developer.sailpoint.com/docs/api/v2025/list-connections)
|
||||
|
||||
### Path Parameters
|
||||
|
||||
@@ -487,7 +487,7 @@ import (
|
||||
"context"
|
||||
"fmt"
|
||||
"os"
|
||||
""
|
||||
v2025 "github.com/sailpoint-oss/golang-sdk/v2/api_v2025"
|
||||
openapiclient "github.com/sailpoint-oss/golang-sdk/v2"
|
||||
)
|
||||
|
||||
@@ -501,7 +501,7 @@ func main() {
|
||||
|
||||
configuration := NewDefaultConfiguration()
|
||||
apiClient := NewAPIClient(configuration)
|
||||
resp, r, err := apiClient..GovernanceGroupsAPI.ListConnections(context.Background(), workgroupId).XSailPointExperimental(xSailPointExperimental).Offset(offset).Limit(limit).Count(count).Sorters(sorters).Execute()
|
||||
resp, r, err := apiClient.V2025.GovernanceGroupsAPI.ListConnections(context.Background(), workgroupId).XSailPointExperimental(xSailPointExperimental).Offset(offset).Limit(limit).Count(count).Sorters(sorters).Execute()
|
||||
if err != nil {
|
||||
fmt.Fprintf(os.Stderr, "Error when calling `GovernanceGroupsAPI.ListConnections``: %v\n", err)
|
||||
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
|
||||
@@ -528,7 +528,7 @@ This API is currently in an experimental state. The API is subject to change bas
|
||||
List Governance Group Members
|
||||
This API returns list of members associated with a Governance Group.
|
||||
|
||||
[API Spec](https://developer.sailpoint.com/docs/api//list-workgroup-members)
|
||||
[API Spec](https://developer.sailpoint.com/docs/api/v2025/list-workgroup-members)
|
||||
|
||||
### Path Parameters
|
||||
|
||||
@@ -570,7 +570,7 @@ import (
|
||||
"context"
|
||||
"fmt"
|
||||
"os"
|
||||
""
|
||||
v2025 "github.com/sailpoint-oss/golang-sdk/v2/api_v2025"
|
||||
openapiclient "github.com/sailpoint-oss/golang-sdk/v2"
|
||||
)
|
||||
|
||||
@@ -584,7 +584,7 @@ func main() {
|
||||
|
||||
configuration := NewDefaultConfiguration()
|
||||
apiClient := NewAPIClient(configuration)
|
||||
resp, r, err := apiClient..GovernanceGroupsAPI.ListWorkgroupMembers(context.Background(), workgroupId).XSailPointExperimental(xSailPointExperimental).Offset(offset).Limit(limit).Count(count).Sorters(sorters).Execute()
|
||||
resp, r, err := apiClient.V2025.GovernanceGroupsAPI.ListWorkgroupMembers(context.Background(), workgroupId).XSailPointExperimental(xSailPointExperimental).Offset(offset).Limit(limit).Count(count).Sorters(sorters).Execute()
|
||||
if err != nil {
|
||||
fmt.Fprintf(os.Stderr, "Error when calling `GovernanceGroupsAPI.ListWorkgroupMembers``: %v\n", err)
|
||||
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
|
||||
@@ -611,7 +611,7 @@ This API is currently in an experimental state. The API is subject to change bas
|
||||
List Governance Groups
|
||||
This API returns list of Governance Groups
|
||||
|
||||
[API Spec](https://developer.sailpoint.com/docs/api//list-workgroups)
|
||||
[API Spec](https://developer.sailpoint.com/docs/api/v2025/list-workgroups)
|
||||
|
||||
### Path Parameters
|
||||
|
||||
@@ -649,7 +649,7 @@ import (
|
||||
"context"
|
||||
"fmt"
|
||||
"os"
|
||||
""
|
||||
v2025 "github.com/sailpoint-oss/golang-sdk/v2/api_v2025"
|
||||
openapiclient "github.com/sailpoint-oss/golang-sdk/v2"
|
||||
)
|
||||
|
||||
@@ -663,7 +663,7 @@ func main() {
|
||||
|
||||
configuration := NewDefaultConfiguration()
|
||||
apiClient := NewAPIClient(configuration)
|
||||
resp, r, err := apiClient..GovernanceGroupsAPI.ListWorkgroups(context.Background()).XSailPointExperimental(xSailPointExperimental).Offset(offset).Limit(limit).Count(count).Filters(filters).Sorters(sorters).Execute()
|
||||
resp, r, err := apiClient.V2025.GovernanceGroupsAPI.ListWorkgroups(context.Background()).XSailPointExperimental(xSailPointExperimental).Offset(offset).Limit(limit).Count(count).Filters(filters).Sorters(sorters).Execute()
|
||||
if err != nil {
|
||||
fmt.Fprintf(os.Stderr, "Error when calling `GovernanceGroupsAPI.ListWorkgroups``: %v\n", err)
|
||||
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
|
||||
@@ -693,7 +693,7 @@ This API updates an existing governance group by ID. The following fields and ob
|
||||
* description
|
||||
* owner
|
||||
|
||||
[API Spec](https://developer.sailpoint.com/docs/api//patch-workgroup)
|
||||
[API Spec](https://developer.sailpoint.com/docs/api/v2025/patch-workgroup)
|
||||
|
||||
### Path Parameters
|
||||
|
||||
@@ -732,7 +732,7 @@ import (
|
||||
"context"
|
||||
"fmt"
|
||||
"os"
|
||||
""
|
||||
v2025 "github.com/sailpoint-oss/golang-sdk/v2/api_v2025"
|
||||
openapiclient "github.com/sailpoint-oss/golang-sdk/v2"
|
||||
)
|
||||
|
||||
@@ -743,7 +743,7 @@ func main() {
|
||||
|
||||
configuration := NewDefaultConfiguration()
|
||||
apiClient := NewAPIClient(configuration)
|
||||
resp, r, err := apiClient..GovernanceGroupsAPI.PatchWorkgroup(context.Background(), id).XSailPointExperimental(xSailPointExperimental).JsonPatchOperation(jsonPatchOperation).Execute()
|
||||
resp, r, err := apiClient.V2025.GovernanceGroupsAPI.PatchWorkgroup(context.Background(), id).XSailPointExperimental(xSailPointExperimental).JsonPatchOperation(jsonPatchOperation).Execute()
|
||||
if err != nil {
|
||||
fmt.Fprintf(os.Stderr, "Error when calling `GovernanceGroupsAPI.PatchWorkgroup``: %v\n", err)
|
||||
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
|
||||
@@ -774,7 +774,7 @@ This API adds one or more members to a Governance Group. A token with API, ORG_
|
||||
|
||||
> **name**
|
||||
|
||||
[API Spec](https://developer.sailpoint.com/docs/api//update-workgroup-members)
|
||||
[API Spec](https://developer.sailpoint.com/docs/api/v2025/update-workgroup-members)
|
||||
|
||||
### Path Parameters
|
||||
|
||||
@@ -813,7 +813,7 @@ import (
|
||||
"context"
|
||||
"fmt"
|
||||
"os"
|
||||
""
|
||||
v2025 "github.com/sailpoint-oss/golang-sdk/v2/api_v2025"
|
||||
openapiclient "github.com/sailpoint-oss/golang-sdk/v2"
|
||||
)
|
||||
|
||||
@@ -824,7 +824,7 @@ func main() {
|
||||
|
||||
configuration := NewDefaultConfiguration()
|
||||
apiClient := NewAPIClient(configuration)
|
||||
resp, r, err := apiClient..GovernanceGroupsAPI.UpdateWorkgroupMembers(context.Background(), workgroupId).XSailPointExperimental(xSailPointExperimental).IdentityPreviewResponseIdentity(identityPreviewResponseIdentity).Execute()
|
||||
resp, r, err := apiClient.V2025.GovernanceGroupsAPI.UpdateWorkgroupMembers(context.Background(), workgroupId).XSailPointExperimental(xSailPointExperimental).IdentityPreviewResponseIdentity(identityPreviewResponseIdentity).Execute()
|
||||
if err != nil {
|
||||
fmt.Fprintf(os.Stderr, "Error when calling `GovernanceGroupsAPI.UpdateWorkgroupMembers``: %v\n", err)
|
||||
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
|
||||
|
||||
@@ -1,12 +1,12 @@
|
||||
---
|
||||
id: iai-access-request-recommendations
|
||||
id: v2025-iai-access-request-recommendations
|
||||
title: IAIAccessRequestRecommendations
|
||||
pagination_label: IAIAccessRequestRecommendations
|
||||
sidebar_label: IAIAccessRequestRecommendations
|
||||
sidebar_class_name: gosdk
|
||||
keywords: ['go', 'Golang', 'sdk', 'IAIAccessRequestRecommendations', 'IAIAccessRequestRecommendations']
|
||||
slug: /tools/sdk/go//methods/iai-access-request-recommendations
|
||||
tags: ['SDK', 'Software Development Kit', 'IAIAccessRequestRecommendations', 'IAIAccessRequestRecommendations']
|
||||
keywords: ['go', 'Golang', 'sdk', 'IAIAccessRequestRecommendations', 'V2025IAIAccessRequestRecommendations']
|
||||
slug: /tools/sdk/go/v2025/methods/iai-access-request-recommendations
|
||||
tags: ['SDK', 'Software Development Kit', 'IAIAccessRequestRecommendations', 'V2025IAIAccessRequestRecommendations']
|
||||
---
|
||||
|
||||
# IAIAccessRequestRecommendationsAPI
|
||||
@@ -42,7 +42,7 @@ This API is currently in an experimental state. The API is subject to change bas
|
||||
Ignore Access Request Recommendation
|
||||
This API ignores a recommended access request item. Once an item is ignored, it will be marked as ignored=true if it is still a recommended item. The consumer can decide to hide ignored recommendations.
|
||||
|
||||
[API Spec](https://developer.sailpoint.com/docs/api//add-access-request-recommendations-ignored-item)
|
||||
[API Spec](https://developer.sailpoint.com/docs/api/v2025/add-access-request-recommendations-ignored-item)
|
||||
|
||||
### Path Parameters
|
||||
|
||||
@@ -76,7 +76,7 @@ import (
|
||||
"context"
|
||||
"fmt"
|
||||
"os"
|
||||
""
|
||||
v2025 "github.com/sailpoint-oss/golang-sdk/v2/api_v2025"
|
||||
openapiclient "github.com/sailpoint-oss/golang-sdk/v2"
|
||||
)
|
||||
|
||||
@@ -92,7 +92,7 @@ func main() {
|
||||
|
||||
configuration := NewDefaultConfiguration()
|
||||
apiClient := NewAPIClient(configuration)
|
||||
resp, r, err := apiClient..IAIAccessRequestRecommendationsAPI.AddAccessRequestRecommendationsIgnoredItem(context.Background()).XSailPointExperimental(xSailPointExperimental).AccessRequestRecommendationActionItemDto(accessRequestRecommendationActionItemDto).Execute()
|
||||
resp, r, err := apiClient.V2025.IAIAccessRequestRecommendationsAPI.AddAccessRequestRecommendationsIgnoredItem(context.Background()).XSailPointExperimental(xSailPointExperimental).AccessRequestRecommendationActionItemDto(accessRequestRecommendationActionItemDto).Execute()
|
||||
if err != nil {
|
||||
fmt.Fprintf(os.Stderr, "Error when calling `IAIAccessRequestRecommendationsAPI.AddAccessRequestRecommendationsIgnoredItem``: %v\n", err)
|
||||
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
|
||||
@@ -119,7 +119,7 @@ This API is currently in an experimental state. The API is subject to change bas
|
||||
Accept Access Request Recommendation
|
||||
This API consumes a notification that a recommended access request item was requested. This API does not actually make the request, it is just a notification. This will help provide feedback in order to improve our recommendations.
|
||||
|
||||
[API Spec](https://developer.sailpoint.com/docs/api//add-access-request-recommendations-requested-item)
|
||||
[API Spec](https://developer.sailpoint.com/docs/api/v2025/add-access-request-recommendations-requested-item)
|
||||
|
||||
### Path Parameters
|
||||
|
||||
@@ -153,7 +153,7 @@ import (
|
||||
"context"
|
||||
"fmt"
|
||||
"os"
|
||||
""
|
||||
v2025 "github.com/sailpoint-oss/golang-sdk/v2/api_v2025"
|
||||
openapiclient "github.com/sailpoint-oss/golang-sdk/v2"
|
||||
)
|
||||
|
||||
@@ -169,7 +169,7 @@ func main() {
|
||||
|
||||
configuration := NewDefaultConfiguration()
|
||||
apiClient := NewAPIClient(configuration)
|
||||
resp, r, err := apiClient..IAIAccessRequestRecommendationsAPI.AddAccessRequestRecommendationsRequestedItem(context.Background()).XSailPointExperimental(xSailPointExperimental).AccessRequestRecommendationActionItemDto(accessRequestRecommendationActionItemDto).Execute()
|
||||
resp, r, err := apiClient.V2025.IAIAccessRequestRecommendationsAPI.AddAccessRequestRecommendationsRequestedItem(context.Background()).XSailPointExperimental(xSailPointExperimental).AccessRequestRecommendationActionItemDto(accessRequestRecommendationActionItemDto).Execute()
|
||||
if err != nil {
|
||||
fmt.Fprintf(os.Stderr, "Error when calling `IAIAccessRequestRecommendationsAPI.AddAccessRequestRecommendationsRequestedItem``: %v\n", err)
|
||||
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
|
||||
@@ -196,7 +196,7 @@ This API is currently in an experimental state. The API is subject to change bas
|
||||
Mark Viewed Access Request Recommendations
|
||||
This API consumes a notification that a recommended access request item was viewed. Future recommendations with this item will be marked with viewed=true. This can be useful for the consumer to determine if there are any new/unviewed recommendations.
|
||||
|
||||
[API Spec](https://developer.sailpoint.com/docs/api//add-access-request-recommendations-viewed-item)
|
||||
[API Spec](https://developer.sailpoint.com/docs/api/v2025/add-access-request-recommendations-viewed-item)
|
||||
|
||||
### Path Parameters
|
||||
|
||||
@@ -230,7 +230,7 @@ import (
|
||||
"context"
|
||||
"fmt"
|
||||
"os"
|
||||
""
|
||||
v2025 "github.com/sailpoint-oss/golang-sdk/v2/api_v2025"
|
||||
openapiclient "github.com/sailpoint-oss/golang-sdk/v2"
|
||||
)
|
||||
|
||||
@@ -246,7 +246,7 @@ func main() {
|
||||
|
||||
configuration := NewDefaultConfiguration()
|
||||
apiClient := NewAPIClient(configuration)
|
||||
resp, r, err := apiClient..IAIAccessRequestRecommendationsAPI.AddAccessRequestRecommendationsViewedItem(context.Background()).XSailPointExperimental(xSailPointExperimental).AccessRequestRecommendationActionItemDto(accessRequestRecommendationActionItemDto).Execute()
|
||||
resp, r, err := apiClient.V2025.IAIAccessRequestRecommendationsAPI.AddAccessRequestRecommendationsViewedItem(context.Background()).XSailPointExperimental(xSailPointExperimental).AccessRequestRecommendationActionItemDto(accessRequestRecommendationActionItemDto).Execute()
|
||||
if err != nil {
|
||||
fmt.Fprintf(os.Stderr, "Error when calling `IAIAccessRequestRecommendationsAPI.AddAccessRequestRecommendationsViewedItem``: %v\n", err)
|
||||
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
|
||||
@@ -273,7 +273,7 @@ This API is currently in an experimental state. The API is subject to change bas
|
||||
Bulk Mark Viewed Access Request Recommendations
|
||||
This API consumes a notification that a set of recommended access request item were viewed. Future recommendations with these items will be marked with viewed=true. This can be useful for the consumer to determine if there are any new/unviewed recommendations.
|
||||
|
||||
[API Spec](https://developer.sailpoint.com/docs/api//add-access-request-recommendations-viewed-items)
|
||||
[API Spec](https://developer.sailpoint.com/docs/api/v2025/add-access-request-recommendations-viewed-items)
|
||||
|
||||
### Path Parameters
|
||||
|
||||
@@ -307,7 +307,7 @@ import (
|
||||
"context"
|
||||
"fmt"
|
||||
"os"
|
||||
""
|
||||
v2025 "github.com/sailpoint-oss/golang-sdk/v2/api_v2025"
|
||||
openapiclient "github.com/sailpoint-oss/golang-sdk/v2"
|
||||
)
|
||||
|
||||
@@ -317,7 +317,7 @@ func main() {
|
||||
|
||||
configuration := NewDefaultConfiguration()
|
||||
apiClient := NewAPIClient(configuration)
|
||||
resp, r, err := apiClient..IAIAccessRequestRecommendationsAPI.AddAccessRequestRecommendationsViewedItems(context.Background()).XSailPointExperimental(xSailPointExperimental).AccessRequestRecommendationActionItemDto(accessRequestRecommendationActionItemDto).Execute()
|
||||
resp, r, err := apiClient.V2025.IAIAccessRequestRecommendationsAPI.AddAccessRequestRecommendationsViewedItems(context.Background()).XSailPointExperimental(xSailPointExperimental).AccessRequestRecommendationActionItemDto(accessRequestRecommendationActionItemDto).Execute()
|
||||
if err != nil {
|
||||
fmt.Fprintf(os.Stderr, "Error when calling `IAIAccessRequestRecommendationsAPI.AddAccessRequestRecommendationsViewedItems``: %v\n", err)
|
||||
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
|
||||
@@ -344,7 +344,7 @@ This API is currently in an experimental state. The API is subject to change bas
|
||||
Identity Access Request Recommendations
|
||||
This API returns the access request recommendations for the specified identity. The default identity is *me* which indicates the current user.
|
||||
|
||||
[API Spec](https://developer.sailpoint.com/docs/api//get-access-request-recommendations)
|
||||
[API Spec](https://developer.sailpoint.com/docs/api/v2025/get-access-request-recommendations)
|
||||
|
||||
### Path Parameters
|
||||
|
||||
@@ -384,7 +384,7 @@ import (
|
||||
"context"
|
||||
"fmt"
|
||||
"os"
|
||||
""
|
||||
v2025 "github.com/sailpoint-oss/golang-sdk/v2/api_v2025"
|
||||
openapiclient "github.com/sailpoint-oss/golang-sdk/v2"
|
||||
)
|
||||
|
||||
@@ -400,7 +400,7 @@ func main() {
|
||||
|
||||
configuration := NewDefaultConfiguration()
|
||||
apiClient := NewAPIClient(configuration)
|
||||
resp, r, err := apiClient..IAIAccessRequestRecommendationsAPI.GetAccessRequestRecommendations(context.Background()).XSailPointExperimental(xSailPointExperimental).IdentityId(identityId).Limit(limit).Offset(offset).Count(count).IncludeTranslationMessages(includeTranslationMessages).Filters(filters).Sorters(sorters).Execute()
|
||||
resp, r, err := apiClient.V2025.IAIAccessRequestRecommendationsAPI.GetAccessRequestRecommendations(context.Background()).XSailPointExperimental(xSailPointExperimental).IdentityId(identityId).Limit(limit).Offset(offset).Count(count).IncludeTranslationMessages(includeTranslationMessages).Filters(filters).Sorters(sorters).Execute()
|
||||
if err != nil {
|
||||
fmt.Fprintf(os.Stderr, "Error when calling `IAIAccessRequestRecommendationsAPI.GetAccessRequestRecommendations``: %v\n", err)
|
||||
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
|
||||
@@ -427,7 +427,7 @@ This API is currently in an experimental state. The API is subject to change bas
|
||||
Get Access Request Recommendations config
|
||||
This API returns the configurations for Access Request Recommender for the tenant.
|
||||
|
||||
[API Spec](https://developer.sailpoint.com/docs/api//get-access-request-recommendations-config)
|
||||
[API Spec](https://developer.sailpoint.com/docs/api/v2025/get-access-request-recommendations-config)
|
||||
|
||||
### Path Parameters
|
||||
|
||||
@@ -460,7 +460,7 @@ import (
|
||||
"context"
|
||||
"fmt"
|
||||
"os"
|
||||
""
|
||||
v2025 "github.com/sailpoint-oss/golang-sdk/v2/api_v2025"
|
||||
openapiclient "github.com/sailpoint-oss/golang-sdk/v2"
|
||||
)
|
||||
|
||||
@@ -469,7 +469,7 @@ func main() {
|
||||
|
||||
configuration := NewDefaultConfiguration()
|
||||
apiClient := NewAPIClient(configuration)
|
||||
resp, r, err := apiClient..IAIAccessRequestRecommendationsAPI.GetAccessRequestRecommendationsConfig(context.Background()).XSailPointExperimental(xSailPointExperimental).Execute()
|
||||
resp, r, err := apiClient.V2025.IAIAccessRequestRecommendationsAPI.GetAccessRequestRecommendationsConfig(context.Background()).XSailPointExperimental(xSailPointExperimental).Execute()
|
||||
if err != nil {
|
||||
fmt.Fprintf(os.Stderr, "Error when calling `IAIAccessRequestRecommendationsAPI.GetAccessRequestRecommendationsConfig``: %v\n", err)
|
||||
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
|
||||
@@ -496,7 +496,7 @@ This API is currently in an experimental state. The API is subject to change bas
|
||||
List Ignored Access Request Recommendations
|
||||
This API returns the list of ignored access request recommendations.
|
||||
|
||||
[API Spec](https://developer.sailpoint.com/docs/api//get-access-request-recommendations-ignored-items)
|
||||
[API Spec](https://developer.sailpoint.com/docs/api/v2025/get-access-request-recommendations-ignored-items)
|
||||
|
||||
### Path Parameters
|
||||
|
||||
@@ -534,7 +534,7 @@ import (
|
||||
"context"
|
||||
"fmt"
|
||||
"os"
|
||||
""
|
||||
v2025 "github.com/sailpoint-oss/golang-sdk/v2/api_v2025"
|
||||
openapiclient "github.com/sailpoint-oss/golang-sdk/v2"
|
||||
)
|
||||
|
||||
@@ -548,7 +548,7 @@ func main() {
|
||||
|
||||
configuration := NewDefaultConfiguration()
|
||||
apiClient := NewAPIClient(configuration)
|
||||
resp, r, err := apiClient..IAIAccessRequestRecommendationsAPI.GetAccessRequestRecommendationsIgnoredItems(context.Background()).XSailPointExperimental(xSailPointExperimental).Limit(limit).Offset(offset).Count(count).Filters(filters).Sorters(sorters).Execute()
|
||||
resp, r, err := apiClient.V2025.IAIAccessRequestRecommendationsAPI.GetAccessRequestRecommendationsIgnoredItems(context.Background()).XSailPointExperimental(xSailPointExperimental).Limit(limit).Offset(offset).Count(count).Filters(filters).Sorters(sorters).Execute()
|
||||
if err != nil {
|
||||
fmt.Fprintf(os.Stderr, "Error when calling `IAIAccessRequestRecommendationsAPI.GetAccessRequestRecommendationsIgnoredItems``: %v\n", err)
|
||||
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
|
||||
@@ -575,7 +575,7 @@ This API is currently in an experimental state. The API is subject to change bas
|
||||
List Accepted Access Request Recommendations
|
||||
This API returns a list of requested access request recommendations.
|
||||
|
||||
[API Spec](https://developer.sailpoint.com/docs/api//get-access-request-recommendations-requested-items)
|
||||
[API Spec](https://developer.sailpoint.com/docs/api/v2025/get-access-request-recommendations-requested-items)
|
||||
|
||||
### Path Parameters
|
||||
|
||||
@@ -613,7 +613,7 @@ import (
|
||||
"context"
|
||||
"fmt"
|
||||
"os"
|
||||
""
|
||||
v2025 "github.com/sailpoint-oss/golang-sdk/v2/api_v2025"
|
||||
openapiclient "github.com/sailpoint-oss/golang-sdk/v2"
|
||||
)
|
||||
|
||||
@@ -627,7 +627,7 @@ func main() {
|
||||
|
||||
configuration := NewDefaultConfiguration()
|
||||
apiClient := NewAPIClient(configuration)
|
||||
resp, r, err := apiClient..IAIAccessRequestRecommendationsAPI.GetAccessRequestRecommendationsRequestedItems(context.Background()).XSailPointExperimental(xSailPointExperimental).Limit(limit).Offset(offset).Count(count).Filters(filters).Sorters(sorters).Execute()
|
||||
resp, r, err := apiClient.V2025.IAIAccessRequestRecommendationsAPI.GetAccessRequestRecommendationsRequestedItems(context.Background()).XSailPointExperimental(xSailPointExperimental).Limit(limit).Offset(offset).Count(count).Filters(filters).Sorters(sorters).Execute()
|
||||
if err != nil {
|
||||
fmt.Fprintf(os.Stderr, "Error when calling `IAIAccessRequestRecommendationsAPI.GetAccessRequestRecommendationsRequestedItems``: %v\n", err)
|
||||
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
|
||||
@@ -654,7 +654,7 @@ This API is currently in an experimental state. The API is subject to change bas
|
||||
List Viewed Access Request Recommendations
|
||||
This API returns the list of viewed access request recommendations.
|
||||
|
||||
[API Spec](https://developer.sailpoint.com/docs/api//get-access-request-recommendations-viewed-items)
|
||||
[API Spec](https://developer.sailpoint.com/docs/api/v2025/get-access-request-recommendations-viewed-items)
|
||||
|
||||
### Path Parameters
|
||||
|
||||
@@ -692,7 +692,7 @@ import (
|
||||
"context"
|
||||
"fmt"
|
||||
"os"
|
||||
""
|
||||
v2025 "github.com/sailpoint-oss/golang-sdk/v2/api_v2025"
|
||||
openapiclient "github.com/sailpoint-oss/golang-sdk/v2"
|
||||
)
|
||||
|
||||
@@ -706,7 +706,7 @@ func main() {
|
||||
|
||||
configuration := NewDefaultConfiguration()
|
||||
apiClient := NewAPIClient(configuration)
|
||||
resp, r, err := apiClient..IAIAccessRequestRecommendationsAPI.GetAccessRequestRecommendationsViewedItems(context.Background()).XSailPointExperimental(xSailPointExperimental).Limit(limit).Offset(offset).Count(count).Filters(filters).Sorters(sorters).Execute()
|
||||
resp, r, err := apiClient.V2025.IAIAccessRequestRecommendationsAPI.GetAccessRequestRecommendationsViewedItems(context.Background()).XSailPointExperimental(xSailPointExperimental).Limit(limit).Offset(offset).Count(count).Filters(filters).Sorters(sorters).Execute()
|
||||
if err != nil {
|
||||
fmt.Fprintf(os.Stderr, "Error when calling `IAIAccessRequestRecommendationsAPI.GetAccessRequestRecommendationsViewedItems``: %v\n", err)
|
||||
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
|
||||
@@ -733,7 +733,7 @@ This API is currently in an experimental state. The API is subject to change bas
|
||||
Update Access Request Recommendations config
|
||||
This API updates the configurations for Access Request Recommender for the tenant.
|
||||
|
||||
[API Spec](https://developer.sailpoint.com/docs/api//set-access-request-recommendations-config)
|
||||
[API Spec](https://developer.sailpoint.com/docs/api/v2025/set-access-request-recommendations-config)
|
||||
|
||||
### Path Parameters
|
||||
|
||||
@@ -767,7 +767,7 @@ import (
|
||||
"context"
|
||||
"fmt"
|
||||
"os"
|
||||
""
|
||||
v2025 "github.com/sailpoint-oss/golang-sdk/v2/api_v2025"
|
||||
openapiclient "github.com/sailpoint-oss/golang-sdk/v2"
|
||||
)
|
||||
|
||||
@@ -784,7 +784,7 @@ func main() {
|
||||
|
||||
configuration := NewDefaultConfiguration()
|
||||
apiClient := NewAPIClient(configuration)
|
||||
resp, r, err := apiClient..IAIAccessRequestRecommendationsAPI.SetAccessRequestRecommendationsConfig(context.Background()).XSailPointExperimental(xSailPointExperimental).AccessRequestRecommendationConfigDto(accessRequestRecommendationConfigDto).Execute()
|
||||
resp, r, err := apiClient.V2025.IAIAccessRequestRecommendationsAPI.SetAccessRequestRecommendationsConfig(context.Background()).XSailPointExperimental(xSailPointExperimental).AccessRequestRecommendationConfigDto(accessRequestRecommendationConfigDto).Execute()
|
||||
if err != nil {
|
||||
fmt.Fprintf(os.Stderr, "Error when calling `IAIAccessRequestRecommendationsAPI.SetAccessRequestRecommendationsConfig``: %v\n", err)
|
||||
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
|
||||
|
||||
@@ -1,12 +1,12 @@
|
||||
---
|
||||
id: iai-common-access
|
||||
id: v2025-iai-common-access
|
||||
title: IAICommonAccess
|
||||
pagination_label: IAICommonAccess
|
||||
sidebar_label: IAICommonAccess
|
||||
sidebar_class_name: gosdk
|
||||
keywords: ['go', 'Golang', 'sdk', 'IAICommonAccess', 'IAICommonAccess']
|
||||
slug: /tools/sdk/go//methods/iai-common-access
|
||||
tags: ['SDK', 'Software Development Kit', 'IAICommonAccess', 'IAICommonAccess']
|
||||
keywords: ['go', 'Golang', 'sdk', 'IAICommonAccess', 'V2025IAICommonAccess']
|
||||
slug: /tools/sdk/go/v2025/methods/iai-common-access
|
||||
tags: ['SDK', 'Software Development Kit', 'IAICommonAccess', 'V2025IAICommonAccess']
|
||||
---
|
||||
|
||||
# IAICommonAccessAPI
|
||||
@@ -35,7 +35,7 @@ This API is currently in an experimental state. The API is subject to change bas
|
||||
Create common access items
|
||||
This API is used to add roles/access profiles to the list of common access for a customer. Requires authorization scope of iai:access-modeling:create
|
||||
|
||||
[API Spec](https://developer.sailpoint.com/docs/api//create-common-access)
|
||||
[API Spec](https://developer.sailpoint.com/docs/api/v2025/create-common-access)
|
||||
|
||||
### Path Parameters
|
||||
|
||||
@@ -69,7 +69,7 @@ import (
|
||||
"context"
|
||||
"fmt"
|
||||
"os"
|
||||
""
|
||||
v2025 "github.com/sailpoint-oss/golang-sdk/v2/api_v2025"
|
||||
openapiclient "github.com/sailpoint-oss/golang-sdk/v2"
|
||||
)
|
||||
|
||||
@@ -89,7 +89,7 @@ func main() {
|
||||
|
||||
configuration := NewDefaultConfiguration()
|
||||
apiClient := NewAPIClient(configuration)
|
||||
resp, r, err := apiClient..IAICommonAccessAPI.CreateCommonAccess(context.Background()).XSailPointExperimental(xSailPointExperimental).CommonAccessItemRequest(commonAccessItemRequest).Execute()
|
||||
resp, r, err := apiClient.V2025.IAICommonAccessAPI.CreateCommonAccess(context.Background()).XSailPointExperimental(xSailPointExperimental).CommonAccessItemRequest(commonAccessItemRequest).Execute()
|
||||
if err != nil {
|
||||
fmt.Fprintf(os.Stderr, "Error when calling `IAICommonAccessAPI.CreateCommonAccess``: %v\n", err)
|
||||
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
|
||||
@@ -116,7 +116,7 @@ This API is currently in an experimental state. The API is subject to change bas
|
||||
Get a paginated list of common access
|
||||
This endpoint returns the current common access for a customer. The returned items can be filtered and sorted. Requires authorization scope of iai:access-modeling:read
|
||||
|
||||
[API Spec](https://developer.sailpoint.com/docs/api//get-common-access)
|
||||
[API Spec](https://developer.sailpoint.com/docs/api/v2025/get-common-access)
|
||||
|
||||
### Path Parameters
|
||||
|
||||
@@ -154,7 +154,7 @@ import (
|
||||
"context"
|
||||
"fmt"
|
||||
"os"
|
||||
""
|
||||
v2025 "github.com/sailpoint-oss/golang-sdk/v2/api_v2025"
|
||||
openapiclient "github.com/sailpoint-oss/golang-sdk/v2"
|
||||
)
|
||||
|
||||
@@ -168,7 +168,7 @@ func main() {
|
||||
|
||||
configuration := NewDefaultConfiguration()
|
||||
apiClient := NewAPIClient(configuration)
|
||||
resp, r, err := apiClient..IAICommonAccessAPI.GetCommonAccess(context.Background()).XSailPointExperimental(xSailPointExperimental).Offset(offset).Limit(limit).Count(count).Filters(filters).Sorters(sorters).Execute()
|
||||
resp, r, err := apiClient.V2025.IAICommonAccessAPI.GetCommonAccess(context.Background()).XSailPointExperimental(xSailPointExperimental).Offset(offset).Limit(limit).Count(count).Filters(filters).Sorters(sorters).Execute()
|
||||
if err != nil {
|
||||
fmt.Fprintf(os.Stderr, "Error when calling `IAICommonAccessAPI.GetCommonAccess``: %v\n", err)
|
||||
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
|
||||
@@ -195,7 +195,7 @@ This API is currently in an experimental state. The API is subject to change bas
|
||||
Bulk update common access status
|
||||
This submits an update request to the common access application. At this time there are no parameters. Requires authorization scope of iai:access-modeling:update
|
||||
|
||||
[API Spec](https://developer.sailpoint.com/docs/api//update-common-access-status-in-bulk)
|
||||
[API Spec](https://developer.sailpoint.com/docs/api/v2025/update-common-access-status-in-bulk)
|
||||
|
||||
### Path Parameters
|
||||
|
||||
@@ -229,7 +229,7 @@ import (
|
||||
"context"
|
||||
"fmt"
|
||||
"os"
|
||||
""
|
||||
v2025 "github.com/sailpoint-oss/golang-sdk/v2/api_v2025"
|
||||
openapiclient "github.com/sailpoint-oss/golang-sdk/v2"
|
||||
)
|
||||
|
||||
@@ -239,7 +239,7 @@ func main() {
|
||||
|
||||
configuration := NewDefaultConfiguration()
|
||||
apiClient := NewAPIClient(configuration)
|
||||
resp, r, err := apiClient..IAICommonAccessAPI.UpdateCommonAccessStatusInBulk(context.Background()).XSailPointExperimental(xSailPointExperimental).CommonAccessIDStatus(commonAccessIDStatus).Execute()
|
||||
resp, r, err := apiClient.V2025.IAICommonAccessAPI.UpdateCommonAccessStatusInBulk(context.Background()).XSailPointExperimental(xSailPointExperimental).CommonAccessIDStatus(commonAccessIDStatus).Execute()
|
||||
if err != nil {
|
||||
fmt.Fprintf(os.Stderr, "Error when calling `IAICommonAccessAPI.UpdateCommonAccessStatusInBulk``: %v\n", err)
|
||||
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
|
||||
|
||||
@@ -1,12 +1,12 @@
|
||||
---
|
||||
id: iai-outliers
|
||||
id: v2025-iai-outliers
|
||||
title: IAIOutliers
|
||||
pagination_label: IAIOutliers
|
||||
sidebar_label: IAIOutliers
|
||||
sidebar_class_name: gosdk
|
||||
keywords: ['go', 'Golang', 'sdk', 'IAIOutliers', 'IAIOutliers']
|
||||
slug: /tools/sdk/go//methods/iai-outliers
|
||||
tags: ['SDK', 'Software Development Kit', 'IAIOutliers', 'IAIOutliers']
|
||||
keywords: ['go', 'Golang', 'sdk', 'IAIOutliers', 'V2025IAIOutliers']
|
||||
slug: /tools/sdk/go/v2025/methods/iai-outliers
|
||||
tags: ['SDK', 'Software Development Kit', 'IAIOutliers', 'V2025IAIOutliers']
|
||||
---
|
||||
|
||||
# IAIOutliersAPI
|
||||
@@ -44,7 +44,7 @@ This API exports a list of ignored outliers to a CSV as well as list of non-igno
|
||||
Columns will include: identityId, type, firstDetectionDate, latestDetectionDate, ignored, & attributes (defined set of identity attributes).
|
||||
|
||||
|
||||
[API Spec](https://developer.sailpoint.com/docs/api//export-outliers-zip)
|
||||
[API Spec](https://developer.sailpoint.com/docs/api/v2025/export-outliers-zip)
|
||||
|
||||
### Path Parameters
|
||||
|
||||
@@ -78,7 +78,7 @@ import (
|
||||
"context"
|
||||
"fmt"
|
||||
"os"
|
||||
""
|
||||
v2025 "github.com/sailpoint-oss/golang-sdk/v2/api_v2025"
|
||||
openapiclient "github.com/sailpoint-oss/golang-sdk/v2"
|
||||
)
|
||||
|
||||
@@ -88,7 +88,7 @@ func main() {
|
||||
|
||||
configuration := NewDefaultConfiguration()
|
||||
apiClient := NewAPIClient(configuration)
|
||||
resp, r, err := apiClient..IAIOutliersAPI.ExportOutliersZip(context.Background()).XSailPointExperimental(xSailPointExperimental).Type_(type_).Execute()
|
||||
resp, r, err := apiClient.V2025.IAIOutliersAPI.ExportOutliersZip(context.Background()).XSailPointExperimental(xSailPointExperimental).Type_(type_).Execute()
|
||||
if err != nil {
|
||||
fmt.Fprintf(os.Stderr, "Error when calling `IAIOutliersAPI.ExportOutliersZip``: %v\n", err)
|
||||
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
|
||||
@@ -115,7 +115,7 @@ This API is currently in an experimental state. The API is subject to change bas
|
||||
IAI Identity Outliers Summary
|
||||
This API returns a summary containing the number of identities that customer has, the number of outliers, and the type of outlier.
|
||||
|
||||
[API Spec](https://developer.sailpoint.com/docs/api//get-identity-outlier-snapshots)
|
||||
[API Spec](https://developer.sailpoint.com/docs/api/v2025/get-identity-outlier-snapshots)
|
||||
|
||||
### Path Parameters
|
||||
|
||||
@@ -153,7 +153,7 @@ import (
|
||||
"context"
|
||||
"fmt"
|
||||
"os"
|
||||
""
|
||||
v2025 "github.com/sailpoint-oss/golang-sdk/v2/api_v2025"
|
||||
openapiclient "github.com/sailpoint-oss/golang-sdk/v2"
|
||||
)
|
||||
|
||||
@@ -167,7 +167,7 @@ func main() {
|
||||
|
||||
configuration := NewDefaultConfiguration()
|
||||
apiClient := NewAPIClient(configuration)
|
||||
resp, r, err := apiClient..IAIOutliersAPI.GetIdentityOutlierSnapshots(context.Background()).XSailPointExperimental(xSailPointExperimental).Limit(limit).Offset(offset).Type_(type_).Filters(filters).Sorters(sorters).Execute()
|
||||
resp, r, err := apiClient.V2025.IAIOutliersAPI.GetIdentityOutlierSnapshots(context.Background()).XSailPointExperimental(xSailPointExperimental).Limit(limit).Offset(offset).Type_(type_).Filters(filters).Sorters(sorters).Execute()
|
||||
if err != nil {
|
||||
fmt.Fprintf(os.Stderr, "Error when calling `IAIOutliersAPI.GetIdentityOutlierSnapshots``: %v\n", err)
|
||||
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
|
||||
@@ -194,7 +194,7 @@ This API is currently in an experimental state. The API is subject to change bas
|
||||
IAI Get Identity Outliers
|
||||
This API returns a list of outliers, containing data such as identity ID, outlier type, detection dates, identity attributes, if identity is ignored, and certification information.
|
||||
|
||||
[API Spec](https://developer.sailpoint.com/docs/api//get-identity-outliers)
|
||||
[API Spec](https://developer.sailpoint.com/docs/api/v2025/get-identity-outliers)
|
||||
|
||||
### Path Parameters
|
||||
|
||||
@@ -233,7 +233,7 @@ import (
|
||||
"context"
|
||||
"fmt"
|
||||
"os"
|
||||
""
|
||||
v2025 "github.com/sailpoint-oss/golang-sdk/v2/api_v2025"
|
||||
openapiclient "github.com/sailpoint-oss/golang-sdk/v2"
|
||||
)
|
||||
|
||||
@@ -248,7 +248,7 @@ func main() {
|
||||
|
||||
configuration := NewDefaultConfiguration()
|
||||
apiClient := NewAPIClient(configuration)
|
||||
resp, r, err := apiClient..IAIOutliersAPI.GetIdentityOutliers(context.Background()).XSailPointExperimental(xSailPointExperimental).Limit(limit).Offset(offset).Count(count).Type_(type_).Filters(filters).Sorters(sorters).Execute()
|
||||
resp, r, err := apiClient.V2025.IAIOutliersAPI.GetIdentityOutliers(context.Background()).XSailPointExperimental(xSailPointExperimental).Limit(limit).Offset(offset).Count(count).Type_(type_).Filters(filters).Sorters(sorters).Execute()
|
||||
if err != nil {
|
||||
fmt.Fprintf(os.Stderr, "Error when calling `IAIOutliersAPI.GetIdentityOutliers``: %v\n", err)
|
||||
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
|
||||
@@ -275,7 +275,7 @@ This API is currently in an experimental state. The API is subject to change bas
|
||||
IAI Identity Outliers Latest Summary
|
||||
This API returns a most recent snapshot of each outlier type, each containing the number of identities that customer has, the number of outliers, and the type of outlier.
|
||||
|
||||
[API Spec](https://developer.sailpoint.com/docs/api//get-latest-identity-outlier-snapshots)
|
||||
[API Spec](https://developer.sailpoint.com/docs/api/v2025/get-latest-identity-outlier-snapshots)
|
||||
|
||||
### Path Parameters
|
||||
|
||||
@@ -309,7 +309,7 @@ import (
|
||||
"context"
|
||||
"fmt"
|
||||
"os"
|
||||
""
|
||||
v2025 "github.com/sailpoint-oss/golang-sdk/v2/api_v2025"
|
||||
openapiclient "github.com/sailpoint-oss/golang-sdk/v2"
|
||||
)
|
||||
|
||||
@@ -319,7 +319,7 @@ func main() {
|
||||
|
||||
configuration := NewDefaultConfiguration()
|
||||
apiClient := NewAPIClient(configuration)
|
||||
resp, r, err := apiClient..IAIOutliersAPI.GetLatestIdentityOutlierSnapshots(context.Background()).XSailPointExperimental(xSailPointExperimental).Type_(type_).Execute()
|
||||
resp, r, err := apiClient.V2025.IAIOutliersAPI.GetLatestIdentityOutlierSnapshots(context.Background()).XSailPointExperimental(xSailPointExperimental).Type_(type_).Execute()
|
||||
if err != nil {
|
||||
fmt.Fprintf(os.Stderr, "Error when calling `IAIOutliersAPI.GetLatestIdentityOutlierSnapshots``: %v\n", err)
|
||||
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
|
||||
@@ -349,7 +349,7 @@ This API returns a summary of a contributing feature for an identity outlier.
|
||||
The object contains: contributing feature name (translated text or message key), identity outlier display name, feature values, feature definition and explanation (translated text or message key), peer display name and identityId, access item reference, translation messages object.
|
||||
|
||||
|
||||
[API Spec](https://developer.sailpoint.com/docs/api//get-outlier-contributing-feature-summary)
|
||||
[API Spec](https://developer.sailpoint.com/docs/api/v2025/get-outlier-contributing-feature-summary)
|
||||
|
||||
### Path Parameters
|
||||
|
||||
@@ -387,7 +387,7 @@ import (
|
||||
"context"
|
||||
"fmt"
|
||||
"os"
|
||||
""
|
||||
v2025 "github.com/sailpoint-oss/golang-sdk/v2/api_v2025"
|
||||
openapiclient "github.com/sailpoint-oss/golang-sdk/v2"
|
||||
)
|
||||
|
||||
@@ -397,7 +397,7 @@ func main() {
|
||||
|
||||
configuration := NewDefaultConfiguration()
|
||||
apiClient := NewAPIClient(configuration)
|
||||
resp, r, err := apiClient..IAIOutliersAPI.GetOutlierContributingFeatureSummary(context.Background(), outlierFeatureId).XSailPointExperimental(xSailPointExperimental).Execute()
|
||||
resp, r, err := apiClient.V2025.IAIOutliersAPI.GetOutlierContributingFeatureSummary(context.Background(), outlierFeatureId).XSailPointExperimental(xSailPointExperimental).Execute()
|
||||
if err != nil {
|
||||
fmt.Fprintf(os.Stderr, "Error when calling `IAIOutliersAPI.GetOutlierContributingFeatureSummary``: %v\n", err)
|
||||
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
|
||||
@@ -427,7 +427,7 @@ This API returns a list of contributing feature objects for a single outlier.
|
||||
The object contains: feature name, feature value type, value, importance, display name (translated text or message key), description (translated text or message key), translation messages object.
|
||||
|
||||
|
||||
[API Spec](https://developer.sailpoint.com/docs/api//get-peer-group-outliers-contributing-features)
|
||||
[API Spec](https://developer.sailpoint.com/docs/api/v2025/get-peer-group-outliers-contributing-features)
|
||||
|
||||
### Path Parameters
|
||||
|
||||
@@ -470,7 +470,7 @@ import (
|
||||
"context"
|
||||
"fmt"
|
||||
"os"
|
||||
""
|
||||
v2025 "github.com/sailpoint-oss/golang-sdk/v2/api_v2025"
|
||||
openapiclient "github.com/sailpoint-oss/golang-sdk/v2"
|
||||
)
|
||||
|
||||
@@ -485,7 +485,7 @@ func main() {
|
||||
|
||||
configuration := NewDefaultConfiguration()
|
||||
apiClient := NewAPIClient(configuration)
|
||||
resp, r, err := apiClient..IAIOutliersAPI.GetPeerGroupOutliersContributingFeatures(context.Background(), outlierId).XSailPointExperimental(xSailPointExperimental).Limit(limit).Offset(offset).Count(count).IncludeTranslationMessages(includeTranslationMessages).Sorters(sorters).Execute()
|
||||
resp, r, err := apiClient.V2025.IAIOutliersAPI.GetPeerGroupOutliersContributingFeatures(context.Background(), outlierId).XSailPointExperimental(xSailPointExperimental).Limit(limit).Offset(offset).Count(count).IncludeTranslationMessages(includeTranslationMessages).Sorters(sorters).Execute()
|
||||
if err != nil {
|
||||
fmt.Fprintf(os.Stderr, "Error when calling `IAIOutliersAPI.GetPeerGroupOutliersContributingFeatures``: %v\n", err)
|
||||
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
|
||||
@@ -512,7 +512,7 @@ This API is currently in an experimental state. The API is subject to change bas
|
||||
IAI Identity Outliers Ignore
|
||||
This API receives a list of identity IDs in the request, changes the outliers to be ignored.
|
||||
|
||||
[API Spec](https://developer.sailpoint.com/docs/api//ignore-identity-outliers)
|
||||
[API Spec](https://developer.sailpoint.com/docs/api/v2025/ignore-identity-outliers)
|
||||
|
||||
### Path Parameters
|
||||
|
||||
@@ -546,7 +546,7 @@ import (
|
||||
"context"
|
||||
"fmt"
|
||||
"os"
|
||||
""
|
||||
v2025 "github.com/sailpoint-oss/golang-sdk/v2/api_v2025"
|
||||
openapiclient "github.com/sailpoint-oss/golang-sdk/v2"
|
||||
)
|
||||
|
||||
@@ -556,7 +556,7 @@ func main() {
|
||||
|
||||
configuration := NewDefaultConfiguration()
|
||||
apiClient := NewAPIClient(configuration)
|
||||
r, err := apiClient..IAIOutliersAPI.IgnoreIdentityOutliers(context.Background()).XSailPointExperimental(xSailPointExperimental).RequestBody(requestBody).Execute()
|
||||
r, err := apiClient.V2025.IAIOutliersAPI.IgnoreIdentityOutliers(context.Background()).XSailPointExperimental(xSailPointExperimental).RequestBody(requestBody).Execute()
|
||||
if err != nil {
|
||||
fmt.Fprintf(os.Stderr, "Error when calling `IAIOutliersAPI.IgnoreIdentityOutliers``: %v\n", err)
|
||||
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
|
||||
@@ -584,7 +584,7 @@ This API returns a list of the enriched access items associated with each featur
|
||||
The object contains: accessItemId, display name (translated text or message key), description (translated text or message key), accessType, sourceName, extremelyRare.
|
||||
|
||||
|
||||
[API Spec](https://developer.sailpoint.com/docs/api//list-outliers-contributing-feature-access-items)
|
||||
[API Spec](https://developer.sailpoint.com/docs/api/v2025/list-outliers-contributing-feature-access-items)
|
||||
|
||||
### Path Parameters
|
||||
|
||||
@@ -629,7 +629,7 @@ import (
|
||||
"context"
|
||||
"fmt"
|
||||
"os"
|
||||
""
|
||||
v2025 "github.com/sailpoint-oss/golang-sdk/v2/api_v2025"
|
||||
openapiclient "github.com/sailpoint-oss/golang-sdk/v2"
|
||||
)
|
||||
|
||||
@@ -645,7 +645,7 @@ func main() {
|
||||
|
||||
configuration := NewDefaultConfiguration()
|
||||
apiClient := NewAPIClient(configuration)
|
||||
resp, r, err := apiClient..IAIOutliersAPI.ListOutliersContributingFeatureAccessItems(context.Background(), outlierId, contributingFeatureName).XSailPointExperimental(xSailPointExperimental).Limit(limit).Offset(offset).Count(count).AccessType(accessType).Sorters(sorters).Execute()
|
||||
resp, r, err := apiClient.V2025.IAIOutliersAPI.ListOutliersContributingFeatureAccessItems(context.Background(), outlierId, contributingFeatureName).XSailPointExperimental(xSailPointExperimental).Limit(limit).Offset(offset).Count(count).AccessType(accessType).Sorters(sorters).Execute()
|
||||
if err != nil {
|
||||
fmt.Fprintf(os.Stderr, "Error when calling `IAIOutliersAPI.ListOutliersContributingFeatureAccessItems``: %v\n", err)
|
||||
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
|
||||
@@ -672,7 +672,7 @@ This API is currently in an experimental state. The API is subject to change bas
|
||||
IAI Identity Outliers Unignore
|
||||
This API receives a list of identity IDs in the request, changes the outliers to be un-ignored.
|
||||
|
||||
[API Spec](https://developer.sailpoint.com/docs/api//un-ignore-identity-outliers)
|
||||
[API Spec](https://developer.sailpoint.com/docs/api/v2025/un-ignore-identity-outliers)
|
||||
|
||||
### Path Parameters
|
||||
|
||||
@@ -706,7 +706,7 @@ import (
|
||||
"context"
|
||||
"fmt"
|
||||
"os"
|
||||
""
|
||||
v2025 "github.com/sailpoint-oss/golang-sdk/v2/api_v2025"
|
||||
openapiclient "github.com/sailpoint-oss/golang-sdk/v2"
|
||||
)
|
||||
|
||||
@@ -716,7 +716,7 @@ func main() {
|
||||
|
||||
configuration := NewDefaultConfiguration()
|
||||
apiClient := NewAPIClient(configuration)
|
||||
r, err := apiClient..IAIOutliersAPI.UnIgnoreIdentityOutliers(context.Background()).XSailPointExperimental(xSailPointExperimental).RequestBody(requestBody).Execute()
|
||||
r, err := apiClient.V2025.IAIOutliersAPI.UnIgnoreIdentityOutliers(context.Background()).XSailPointExperimental(xSailPointExperimental).RequestBody(requestBody).Execute()
|
||||
if err != nil {
|
||||
fmt.Fprintf(os.Stderr, "Error when calling `IAIOutliersAPI.UnIgnoreIdentityOutliers``: %v\n", err)
|
||||
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
|
||||
|
||||
@@ -1,12 +1,12 @@
|
||||
---
|
||||
id: iai-peer-group-strategies
|
||||
id: v2025-iai-peer-group-strategies
|
||||
title: IAIPeerGroupStrategies
|
||||
pagination_label: IAIPeerGroupStrategies
|
||||
sidebar_label: IAIPeerGroupStrategies
|
||||
sidebar_class_name: gosdk
|
||||
keywords: ['go', 'Golang', 'sdk', 'IAIPeerGroupStrategies', 'IAIPeerGroupStrategies']
|
||||
slug: /tools/sdk/go//methods/iai-peer-group-strategies
|
||||
tags: ['SDK', 'Software Development Kit', 'IAIPeerGroupStrategies', 'IAIPeerGroupStrategies']
|
||||
keywords: ['go', 'Golang', 'sdk', 'IAIPeerGroupStrategies', 'V2025IAIPeerGroupStrategies']
|
||||
slug: /tools/sdk/go/v2025/methods/iai-peer-group-strategies
|
||||
tags: ['SDK', 'Software Development Kit', 'IAIPeerGroupStrategies', 'V2025IAIPeerGroupStrategies']
|
||||
---
|
||||
|
||||
# IAIPeerGroupStrategiesAPI
|
||||
@@ -36,7 +36,7 @@ This API is currently in an experimental state. The API is subject to change bas
|
||||
Identity Outliers List
|
||||
-- Deprecated : See 'IAI Outliers' This API will be used by Identity Governance systems to identify identities that are not included in an organization's peer groups. By default, 250 identities are returned. You can specify between 1 and 1000 number of identities that can be returned.
|
||||
|
||||
[API Spec](https://developer.sailpoint.com/docs/api//get-peer-group-outliers)
|
||||
[API Spec](https://developer.sailpoint.com/docs/api/v2025/get-peer-group-outliers)
|
||||
|
||||
### Path Parameters
|
||||
|
||||
@@ -77,7 +77,7 @@ import (
|
||||
"context"
|
||||
"fmt"
|
||||
"os"
|
||||
""
|
||||
v2025 "github.com/sailpoint-oss/golang-sdk/v2/api_v2025"
|
||||
openapiclient "github.com/sailpoint-oss/golang-sdk/v2"
|
||||
)
|
||||
|
||||
@@ -90,7 +90,7 @@ func main() {
|
||||
|
||||
configuration := NewDefaultConfiguration()
|
||||
apiClient := NewAPIClient(configuration)
|
||||
resp, r, err := apiClient..IAIPeerGroupStrategiesAPI.GetPeerGroupOutliers(context.Background(), strategy).XSailPointExperimental(xSailPointExperimental).Limit(limit).Offset(offset).Count(count).Execute()
|
||||
resp, r, err := apiClient.V2025.IAIPeerGroupStrategiesAPI.GetPeerGroupOutliers(context.Background(), strategy).XSailPointExperimental(xSailPointExperimental).Limit(limit).Offset(offset).Count(count).Execute()
|
||||
if err != nil {
|
||||
fmt.Fprintf(os.Stderr, "Error when calling `IAIPeerGroupStrategiesAPI.GetPeerGroupOutliers``: %v\n", err)
|
||||
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
|
||||
|
||||
@@ -1,12 +1,12 @@
|
||||
---
|
||||
id: iai-recommendations
|
||||
id: v2025-iai-recommendations
|
||||
title: IAIRecommendations
|
||||
pagination_label: IAIRecommendations
|
||||
sidebar_label: IAIRecommendations
|
||||
sidebar_class_name: gosdk
|
||||
keywords: ['go', 'Golang', 'sdk', 'IAIRecommendations', 'IAIRecommendations']
|
||||
slug: /tools/sdk/go//methods/iai-recommendations
|
||||
tags: ['SDK', 'Software Development Kit', 'IAIRecommendations', 'IAIRecommendations']
|
||||
keywords: ['go', 'Golang', 'sdk', 'IAIRecommendations', 'V2025IAIRecommendations']
|
||||
slug: /tools/sdk/go/v2025/methods/iai-recommendations
|
||||
tags: ['SDK', 'Software Development Kit', 'IAIRecommendations', 'V2025IAIRecommendations']
|
||||
---
|
||||
|
||||
# IAIRecommendationsAPI
|
||||
@@ -35,7 +35,7 @@ This API is currently in an experimental state. The API is subject to change bas
|
||||
Returns Recommendation Based on Object
|
||||
The getRecommendations API returns recommendations based on the requested object. The recommendations are invoked by IdentityIQ and IdentityNow plug-ins that retrieve recommendations based on the performed calculations.
|
||||
|
||||
[API Spec](https://developer.sailpoint.com/docs/api//get-recommendations)
|
||||
[API Spec](https://developer.sailpoint.com/docs/api/v2025/get-recommendations)
|
||||
|
||||
### Path Parameters
|
||||
|
||||
@@ -69,7 +69,7 @@ import (
|
||||
"context"
|
||||
"fmt"
|
||||
"os"
|
||||
""
|
||||
v2025 "github.com/sailpoint-oss/golang-sdk/v2/api_v2025"
|
||||
openapiclient "github.com/sailpoint-oss/golang-sdk/v2"
|
||||
)
|
||||
|
||||
@@ -97,7 +97,7 @@ func main() {
|
||||
|
||||
configuration := NewDefaultConfiguration()
|
||||
apiClient := NewAPIClient(configuration)
|
||||
resp, r, err := apiClient..IAIRecommendationsAPI.GetRecommendations(context.Background()).XSailPointExperimental(xSailPointExperimental).RecommendationRequestDto(recommendationRequestDto).Execute()
|
||||
resp, r, err := apiClient.V2025.IAIRecommendationsAPI.GetRecommendations(context.Background()).XSailPointExperimental(xSailPointExperimental).RecommendationRequestDto(recommendationRequestDto).Execute()
|
||||
if err != nil {
|
||||
fmt.Fprintf(os.Stderr, "Error when calling `IAIRecommendationsAPI.GetRecommendations``: %v\n", err)
|
||||
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
|
||||
@@ -124,7 +124,7 @@ This API is currently in an experimental state. The API is subject to change bas
|
||||
Get certification recommendation config values
|
||||
Retrieves configuration attributes used by certification recommendations.
|
||||
|
||||
[API Spec](https://developer.sailpoint.com/docs/api//get-recommendations-config)
|
||||
[API Spec](https://developer.sailpoint.com/docs/api/v2025/get-recommendations-config)
|
||||
|
||||
### Path Parameters
|
||||
|
||||
@@ -157,7 +157,7 @@ import (
|
||||
"context"
|
||||
"fmt"
|
||||
"os"
|
||||
""
|
||||
v2025 "github.com/sailpoint-oss/golang-sdk/v2/api_v2025"
|
||||
openapiclient "github.com/sailpoint-oss/golang-sdk/v2"
|
||||
)
|
||||
|
||||
@@ -166,7 +166,7 @@ func main() {
|
||||
|
||||
configuration := NewDefaultConfiguration()
|
||||
apiClient := NewAPIClient(configuration)
|
||||
resp, r, err := apiClient..IAIRecommendationsAPI.GetRecommendationsConfig(context.Background()).XSailPointExperimental(xSailPointExperimental).Execute()
|
||||
resp, r, err := apiClient.V2025.IAIRecommendationsAPI.GetRecommendationsConfig(context.Background()).XSailPointExperimental(xSailPointExperimental).Execute()
|
||||
if err != nil {
|
||||
fmt.Fprintf(os.Stderr, "Error when calling `IAIRecommendationsAPI.GetRecommendationsConfig``: %v\n", err)
|
||||
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
|
||||
@@ -193,7 +193,7 @@ This API is currently in an experimental state. The API is subject to change bas
|
||||
Update certification recommendation config values
|
||||
Updates configuration attributes used by certification recommendations.
|
||||
|
||||
[API Spec](https://developer.sailpoint.com/docs/api//update-recommendations-config)
|
||||
[API Spec](https://developer.sailpoint.com/docs/api/v2025/update-recommendations-config)
|
||||
|
||||
### Path Parameters
|
||||
|
||||
@@ -227,7 +227,7 @@ import (
|
||||
"context"
|
||||
"fmt"
|
||||
"os"
|
||||
""
|
||||
v2025 "github.com/sailpoint-oss/golang-sdk/v2/api_v2025"
|
||||
openapiclient "github.com/sailpoint-oss/golang-sdk/v2"
|
||||
)
|
||||
|
||||
@@ -242,7 +242,7 @@ func main() {
|
||||
|
||||
configuration := NewDefaultConfiguration()
|
||||
apiClient := NewAPIClient(configuration)
|
||||
resp, r, err := apiClient..IAIRecommendationsAPI.UpdateRecommendationsConfig(context.Background()).XSailPointExperimental(xSailPointExperimental).RecommendationConfigDto(recommendationConfigDto).Execute()
|
||||
resp, r, err := apiClient.V2025.IAIRecommendationsAPI.UpdateRecommendationsConfig(context.Background()).XSailPointExperimental(xSailPointExperimental).RecommendationConfigDto(recommendationConfigDto).Execute()
|
||||
if err != nil {
|
||||
fmt.Fprintf(os.Stderr, "Error when calling `IAIRecommendationsAPI.UpdateRecommendationsConfig``: %v\n", err)
|
||||
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
|
||||
|
||||
@@ -1,12 +1,12 @@
|
||||
---
|
||||
id: iai-role-mining
|
||||
id: v2025-iai-role-mining
|
||||
title: IAIRoleMining
|
||||
pagination_label: IAIRoleMining
|
||||
sidebar_label: IAIRoleMining
|
||||
sidebar_class_name: gosdk
|
||||
keywords: ['go', 'Golang', 'sdk', 'IAIRoleMining', 'IAIRoleMining']
|
||||
slug: /tools/sdk/go//methods/iai-role-mining
|
||||
tags: ['SDK', 'Software Development Kit', 'IAIRoleMining', 'IAIRoleMining']
|
||||
keywords: ['go', 'Golang', 'sdk', 'IAIRoleMining', 'V2025IAIRoleMining']
|
||||
slug: /tools/sdk/go/v2025/methods/iai-role-mining
|
||||
tags: ['SDK', 'Software Development Kit', 'IAIRoleMining', 'V2025IAIRoleMining']
|
||||
---
|
||||
|
||||
# IAIRoleMiningAPI
|
||||
@@ -57,7 +57,7 @@ This API is currently in an experimental state. The API is subject to change bas
|
||||
Create request to provision a potential role into an actual role.
|
||||
This method starts a job to provision a potential role
|
||||
|
||||
[API Spec](https://developer.sailpoint.com/docs/api//create-potential-role-provision-request)
|
||||
[API Spec](https://developer.sailpoint.com/docs/api/v2025/create-potential-role-provision-request)
|
||||
|
||||
### Path Parameters
|
||||
|
||||
@@ -100,7 +100,7 @@ import (
|
||||
"context"
|
||||
"fmt"
|
||||
"os"
|
||||
""
|
||||
v2025 "github.com/sailpoint-oss/golang-sdk/v2/api_v2025"
|
||||
openapiclient "github.com/sailpoint-oss/golang-sdk/v2"
|
||||
)
|
||||
|
||||
@@ -120,7 +120,7 @@ func main() {
|
||||
|
||||
configuration := NewDefaultConfiguration()
|
||||
apiClient := NewAPIClient(configuration)
|
||||
resp, r, err := apiClient..IAIRoleMiningAPI.CreatePotentialRoleProvisionRequest(context.Background(), sessionId, potentialRoleId).XSailPointExperimental(xSailPointExperimental).MinEntitlementPopularity(minEntitlementPopularity).IncludeCommonAccess(includeCommonAccess).RoleMiningPotentialRoleProvisionRequest(roleMiningPotentialRoleProvisionRequest).Execute()
|
||||
resp, r, err := apiClient.V2025.IAIRoleMiningAPI.CreatePotentialRoleProvisionRequest(context.Background(), sessionId, potentialRoleId).XSailPointExperimental(xSailPointExperimental).MinEntitlementPopularity(minEntitlementPopularity).IncludeCommonAccess(includeCommonAccess).RoleMiningPotentialRoleProvisionRequest(roleMiningPotentialRoleProvisionRequest).Execute()
|
||||
if err != nil {
|
||||
fmt.Fprintf(os.Stderr, "Error when calling `IAIRoleMiningAPI.CreatePotentialRoleProvisionRequest``: %v\n", err)
|
||||
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
|
||||
@@ -147,7 +147,7 @@ This API is currently in an experimental state. The API is subject to change bas
|
||||
Create a role mining session
|
||||
This submits a create role mining session request to the role mining application.
|
||||
|
||||
[API Spec](https://developer.sailpoint.com/docs/api//create-role-mining-sessions)
|
||||
[API Spec](https://developer.sailpoint.com/docs/api/v2025/create-role-mining-sessions)
|
||||
|
||||
### Path Parameters
|
||||
|
||||
@@ -181,7 +181,7 @@ import (
|
||||
"context"
|
||||
"fmt"
|
||||
"os"
|
||||
""
|
||||
v2025 "github.com/sailpoint-oss/golang-sdk/v2/api_v2025"
|
||||
openapiclient "github.com/sailpoint-oss/golang-sdk/v2"
|
||||
)
|
||||
|
||||
@@ -222,7 +222,7 @@ func main() {
|
||||
|
||||
configuration := NewDefaultConfiguration()
|
||||
apiClient := NewAPIClient(configuration)
|
||||
resp, r, err := apiClient..IAIRoleMiningAPI.CreateRoleMiningSessions(context.Background()).XSailPointExperimental(xSailPointExperimental).RoleMiningSessionDto(roleMiningSessionDto).Execute()
|
||||
resp, r, err := apiClient.V2025.IAIRoleMiningAPI.CreateRoleMiningSessions(context.Background()).XSailPointExperimental(xSailPointExperimental).RoleMiningSessionDto(roleMiningSessionDto).Execute()
|
||||
if err != nil {
|
||||
fmt.Fprintf(os.Stderr, "Error when calling `IAIRoleMiningAPI.CreateRoleMiningSessions``: %v\n", err)
|
||||
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
|
||||
@@ -249,7 +249,7 @@ This API is currently in an experimental state. The API is subject to change bas
|
||||
Export (download) details for a potential role in a role mining session
|
||||
This endpoint downloads a completed export of information for a potential role in a role mining session.
|
||||
|
||||
[API Spec](https://developer.sailpoint.com/docs/api//download-role-mining-potential-role-zip)
|
||||
[API Spec](https://developer.sailpoint.com/docs/api/v2025/download-role-mining-potential-role-zip)
|
||||
|
||||
### Path Parameters
|
||||
|
||||
@@ -291,7 +291,7 @@ import (
|
||||
"context"
|
||||
"fmt"
|
||||
"os"
|
||||
""
|
||||
v2025 "github.com/sailpoint-oss/golang-sdk/v2/api_v2025"
|
||||
openapiclient "github.com/sailpoint-oss/golang-sdk/v2"
|
||||
)
|
||||
|
||||
@@ -303,7 +303,7 @@ func main() {
|
||||
|
||||
configuration := NewDefaultConfiguration()
|
||||
apiClient := NewAPIClient(configuration)
|
||||
resp, r, err := apiClient..IAIRoleMiningAPI.DownloadRoleMiningPotentialRoleZip(context.Background(), sessionId, potentialRoleId, exportId).XSailPointExperimental(xSailPointExperimental).Execute()
|
||||
resp, r, err := apiClient.V2025.IAIRoleMiningAPI.DownloadRoleMiningPotentialRoleZip(context.Background(), sessionId, potentialRoleId, exportId).XSailPointExperimental(xSailPointExperimental).Execute()
|
||||
if err != nil {
|
||||
fmt.Fprintf(os.Stderr, "Error when calling `IAIRoleMiningAPI.DownloadRoleMiningPotentialRoleZip``: %v\n", err)
|
||||
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
|
||||
@@ -330,7 +330,7 @@ This API is currently in an experimental state. The API is subject to change bas
|
||||
Export (download) details for a potential role in a role mining session
|
||||
This endpoint downloads all the information for a potential role in a role mining session. Includes identities and entitlements in the potential role.
|
||||
|
||||
[API Spec](https://developer.sailpoint.com/docs/api//export-role-mining-potential-role)
|
||||
[API Spec](https://developer.sailpoint.com/docs/api/v2025/export-role-mining-potential-role)
|
||||
|
||||
### Path Parameters
|
||||
|
||||
@@ -370,7 +370,7 @@ import (
|
||||
"context"
|
||||
"fmt"
|
||||
"os"
|
||||
""
|
||||
v2025 "github.com/sailpoint-oss/golang-sdk/v2/api_v2025"
|
||||
openapiclient "github.com/sailpoint-oss/golang-sdk/v2"
|
||||
)
|
||||
|
||||
@@ -381,7 +381,7 @@ func main() {
|
||||
|
||||
configuration := NewDefaultConfiguration()
|
||||
apiClient := NewAPIClient(configuration)
|
||||
resp, r, err := apiClient..IAIRoleMiningAPI.ExportRoleMiningPotentialRole(context.Background(), sessionId, potentialRoleId).XSailPointExperimental(xSailPointExperimental).Execute()
|
||||
resp, r, err := apiClient.V2025.IAIRoleMiningAPI.ExportRoleMiningPotentialRole(context.Background(), sessionId, potentialRoleId).XSailPointExperimental(xSailPointExperimental).Execute()
|
||||
if err != nil {
|
||||
fmt.Fprintf(os.Stderr, "Error when calling `IAIRoleMiningAPI.ExportRoleMiningPotentialRole``: %v\n", err)
|
||||
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
|
||||
@@ -408,7 +408,7 @@ This API is currently in an experimental state. The API is subject to change bas
|
||||
Asynchronously export details for a potential role in a role mining session and upload to S3
|
||||
This endpoint uploads all the information for a potential role in a role mining session to S3 as a downloadable zip archive. Includes identities and entitlements in the potential role.
|
||||
|
||||
[API Spec](https://developer.sailpoint.com/docs/api//export-role-mining-potential-role-async)
|
||||
[API Spec](https://developer.sailpoint.com/docs/api/v2025/export-role-mining-potential-role-async)
|
||||
|
||||
### Path Parameters
|
||||
|
||||
@@ -449,7 +449,7 @@ import (
|
||||
"context"
|
||||
"fmt"
|
||||
"os"
|
||||
""
|
||||
v2025 "github.com/sailpoint-oss/golang-sdk/v2/api_v2025"
|
||||
openapiclient "github.com/sailpoint-oss/golang-sdk/v2"
|
||||
)
|
||||
|
||||
@@ -464,7 +464,7 @@ func main() {
|
||||
|
||||
configuration := NewDefaultConfiguration()
|
||||
apiClient := NewAPIClient(configuration)
|
||||
resp, r, err := apiClient..IAIRoleMiningAPI.ExportRoleMiningPotentialRoleAsync(context.Background(), sessionId, potentialRoleId).XSailPointExperimental(xSailPointExperimental).RoleMiningPotentialRoleExportRequest(roleMiningPotentialRoleExportRequest).Execute()
|
||||
resp, r, err := apiClient.V2025.IAIRoleMiningAPI.ExportRoleMiningPotentialRoleAsync(context.Background(), sessionId, potentialRoleId).XSailPointExperimental(xSailPointExperimental).RoleMiningPotentialRoleExportRequest(roleMiningPotentialRoleExportRequest).Execute()
|
||||
if err != nil {
|
||||
fmt.Fprintf(os.Stderr, "Error when calling `IAIRoleMiningAPI.ExportRoleMiningPotentialRoleAsync``: %v\n", err)
|
||||
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
|
||||
@@ -491,7 +491,7 @@ This API is currently in an experimental state. The API is subject to change bas
|
||||
Retrieve status of a potential role export job
|
||||
This endpoint retrieves information about the current status of a potential role export.
|
||||
|
||||
[API Spec](https://developer.sailpoint.com/docs/api//export-role-mining-potential-role-status)
|
||||
[API Spec](https://developer.sailpoint.com/docs/api/v2025/export-role-mining-potential-role-status)
|
||||
|
||||
### Path Parameters
|
||||
|
||||
@@ -533,7 +533,7 @@ import (
|
||||
"context"
|
||||
"fmt"
|
||||
"os"
|
||||
""
|
||||
v2025 "github.com/sailpoint-oss/golang-sdk/v2/api_v2025"
|
||||
openapiclient "github.com/sailpoint-oss/golang-sdk/v2"
|
||||
)
|
||||
|
||||
@@ -545,7 +545,7 @@ func main() {
|
||||
|
||||
configuration := NewDefaultConfiguration()
|
||||
apiClient := NewAPIClient(configuration)
|
||||
resp, r, err := apiClient..IAIRoleMiningAPI.ExportRoleMiningPotentialRoleStatus(context.Background(), sessionId, potentialRoleId, exportId).XSailPointExperimental(xSailPointExperimental).Execute()
|
||||
resp, r, err := apiClient.V2025.IAIRoleMiningAPI.ExportRoleMiningPotentialRoleStatus(context.Background(), sessionId, potentialRoleId, exportId).XSailPointExperimental(xSailPointExperimental).Execute()
|
||||
if err != nil {
|
||||
fmt.Fprintf(os.Stderr, "Error when calling `IAIRoleMiningAPI.ExportRoleMiningPotentialRoleStatus``: %v\n", err)
|
||||
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
|
||||
@@ -572,7 +572,7 @@ This API is currently in an experimental state. The API is subject to change bas
|
||||
Retrieves all potential role summaries
|
||||
Returns all potential role summaries that match the query parameters
|
||||
|
||||
[API Spec](https://developer.sailpoint.com/docs/api//get-all-potential-role-summaries)
|
||||
[API Spec](https://developer.sailpoint.com/docs/api/v2025/get-all-potential-role-summaries)
|
||||
|
||||
### Path Parameters
|
||||
|
||||
@@ -610,7 +610,7 @@ import (
|
||||
"context"
|
||||
"fmt"
|
||||
"os"
|
||||
""
|
||||
v2025 "github.com/sailpoint-oss/golang-sdk/v2/api_v2025"
|
||||
openapiclient "github.com/sailpoint-oss/golang-sdk/v2"
|
||||
)
|
||||
|
||||
@@ -624,7 +624,7 @@ func main() {
|
||||
|
||||
configuration := NewDefaultConfiguration()
|
||||
apiClient := NewAPIClient(configuration)
|
||||
resp, r, err := apiClient..IAIRoleMiningAPI.GetAllPotentialRoleSummaries(context.Background()).XSailPointExperimental(xSailPointExperimental).Sorters(sorters).Filters(filters).Offset(offset).Limit(limit).Count(count).Execute()
|
||||
resp, r, err := apiClient.V2025.IAIRoleMiningAPI.GetAllPotentialRoleSummaries(context.Background()).XSailPointExperimental(xSailPointExperimental).Sorters(sorters).Filters(filters).Offset(offset).Limit(limit).Count(count).Execute()
|
||||
if err != nil {
|
||||
fmt.Fprintf(os.Stderr, "Error when calling `IAIRoleMiningAPI.GetAllPotentialRoleSummaries``: %v\n", err)
|
||||
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
|
||||
@@ -651,7 +651,7 @@ This API is currently in an experimental state. The API is subject to change bas
|
||||
Retrieves entitlement popularity distribution for a potential role in a role mining session
|
||||
This method returns entitlement popularity distribution for a potential role in a role mining session.
|
||||
|
||||
[API Spec](https://developer.sailpoint.com/docs/api//get-entitlement-distribution-potential-role)
|
||||
[API Spec](https://developer.sailpoint.com/docs/api/v2025/get-entitlement-distribution-potential-role)
|
||||
|
||||
### Path Parameters
|
||||
|
||||
@@ -692,7 +692,7 @@ import (
|
||||
"context"
|
||||
"fmt"
|
||||
"os"
|
||||
""
|
||||
v2025 "github.com/sailpoint-oss/golang-sdk/v2/api_v2025"
|
||||
openapiclient "github.com/sailpoint-oss/golang-sdk/v2"
|
||||
)
|
||||
|
||||
@@ -704,7 +704,7 @@ func main() {
|
||||
|
||||
configuration := NewDefaultConfiguration()
|
||||
apiClient := NewAPIClient(configuration)
|
||||
resp, r, err := apiClient..IAIRoleMiningAPI.GetEntitlementDistributionPotentialRole(context.Background(), sessionId, potentialRoleId).XSailPointExperimental(xSailPointExperimental).IncludeCommonAccess(includeCommonAccess).Execute()
|
||||
resp, r, err := apiClient.V2025.IAIRoleMiningAPI.GetEntitlementDistributionPotentialRole(context.Background(), sessionId, potentialRoleId).XSailPointExperimental(xSailPointExperimental).IncludeCommonAccess(includeCommonAccess).Execute()
|
||||
if err != nil {
|
||||
fmt.Fprintf(os.Stderr, "Error when calling `IAIRoleMiningAPI.GetEntitlementDistributionPotentialRole``: %v\n", err)
|
||||
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
|
||||
@@ -731,7 +731,7 @@ This API is currently in an experimental state. The API is subject to change bas
|
||||
Retrieves entitlements for a potential role in a role mining session
|
||||
This method returns entitlements for a potential role in a role mining session.
|
||||
|
||||
[API Spec](https://developer.sailpoint.com/docs/api//get-entitlements-potential-role)
|
||||
[API Spec](https://developer.sailpoint.com/docs/api/v2025/get-entitlements-potential-role)
|
||||
|
||||
### Path Parameters
|
||||
|
||||
@@ -777,7 +777,7 @@ import (
|
||||
"context"
|
||||
"fmt"
|
||||
"os"
|
||||
""
|
||||
v2025 "github.com/sailpoint-oss/golang-sdk/v2/api_v2025"
|
||||
openapiclient "github.com/sailpoint-oss/golang-sdk/v2"
|
||||
)
|
||||
|
||||
@@ -794,7 +794,7 @@ func main() {
|
||||
|
||||
configuration := NewDefaultConfiguration()
|
||||
apiClient := NewAPIClient(configuration)
|
||||
resp, r, err := apiClient..IAIRoleMiningAPI.GetEntitlementsPotentialRole(context.Background(), sessionId, potentialRoleId).XSailPointExperimental(xSailPointExperimental).IncludeCommonAccess(includeCommonAccess).Sorters(sorters).Filters(filters).Offset(offset).Limit(limit).Count(count).Execute()
|
||||
resp, r, err := apiClient.V2025.IAIRoleMiningAPI.GetEntitlementsPotentialRole(context.Background(), sessionId, potentialRoleId).XSailPointExperimental(xSailPointExperimental).IncludeCommonAccess(includeCommonAccess).Sorters(sorters).Filters(filters).Offset(offset).Limit(limit).Count(count).Execute()
|
||||
if err != nil {
|
||||
fmt.Fprintf(os.Stderr, "Error when calling `IAIRoleMiningAPI.GetEntitlementsPotentialRole``: %v\n", err)
|
||||
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
|
||||
@@ -821,7 +821,7 @@ This API is currently in an experimental state. The API is subject to change bas
|
||||
Retrieves excluded entitlements for a potential role in a role mining session
|
||||
This method returns excluded entitlements for a potential role in a role mining session.
|
||||
|
||||
[API Spec](https://developer.sailpoint.com/docs/api//get-excluded-entitlements-potential-role)
|
||||
[API Spec](https://developer.sailpoint.com/docs/api/v2025/get-excluded-entitlements-potential-role)
|
||||
|
||||
### Path Parameters
|
||||
|
||||
@@ -866,7 +866,7 @@ import (
|
||||
"context"
|
||||
"fmt"
|
||||
"os"
|
||||
""
|
||||
v2025 "github.com/sailpoint-oss/golang-sdk/v2/api_v2025"
|
||||
openapiclient "github.com/sailpoint-oss/golang-sdk/v2"
|
||||
)
|
||||
|
||||
@@ -882,7 +882,7 @@ func main() {
|
||||
|
||||
configuration := NewDefaultConfiguration()
|
||||
apiClient := NewAPIClient(configuration)
|
||||
resp, r, err := apiClient..IAIRoleMiningAPI.GetExcludedEntitlementsPotentialRole(context.Background(), sessionId, potentialRoleId).XSailPointExperimental(xSailPointExperimental).Sorters(sorters).Filters(filters).Offset(offset).Limit(limit).Count(count).Execute()
|
||||
resp, r, err := apiClient.V2025.IAIRoleMiningAPI.GetExcludedEntitlementsPotentialRole(context.Background(), sessionId, potentialRoleId).XSailPointExperimental(xSailPointExperimental).Sorters(sorters).Filters(filters).Offset(offset).Limit(limit).Count(count).Execute()
|
||||
if err != nil {
|
||||
fmt.Fprintf(os.Stderr, "Error when calling `IAIRoleMiningAPI.GetExcludedEntitlementsPotentialRole``: %v\n", err)
|
||||
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
|
||||
@@ -909,7 +909,7 @@ This API is currently in an experimental state. The API is subject to change bas
|
||||
Retrieves identities for a potential role in a role mining session
|
||||
This method returns identities for a potential role in a role mining session.
|
||||
|
||||
[API Spec](https://developer.sailpoint.com/docs/api//get-identities-potential-role)
|
||||
[API Spec](https://developer.sailpoint.com/docs/api/v2025/get-identities-potential-role)
|
||||
|
||||
### Path Parameters
|
||||
|
||||
@@ -954,7 +954,7 @@ import (
|
||||
"context"
|
||||
"fmt"
|
||||
"os"
|
||||
""
|
||||
v2025 "github.com/sailpoint-oss/golang-sdk/v2/api_v2025"
|
||||
openapiclient "github.com/sailpoint-oss/golang-sdk/v2"
|
||||
)
|
||||
|
||||
@@ -970,7 +970,7 @@ func main() {
|
||||
|
||||
configuration := NewDefaultConfiguration()
|
||||
apiClient := NewAPIClient(configuration)
|
||||
resp, r, err := apiClient..IAIRoleMiningAPI.GetIdentitiesPotentialRole(context.Background(), sessionId, potentialRoleId).XSailPointExperimental(xSailPointExperimental).Sorters(sorters).Filters(filters).Offset(offset).Limit(limit).Count(count).Execute()
|
||||
resp, r, err := apiClient.V2025.IAIRoleMiningAPI.GetIdentitiesPotentialRole(context.Background(), sessionId, potentialRoleId).XSailPointExperimental(xSailPointExperimental).Sorters(sorters).Filters(filters).Offset(offset).Limit(limit).Count(count).Execute()
|
||||
if err != nil {
|
||||
fmt.Fprintf(os.Stderr, "Error when calling `IAIRoleMiningAPI.GetIdentitiesPotentialRole``: %v\n", err)
|
||||
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
|
||||
@@ -997,7 +997,7 @@ This API is currently in an experimental state. The API is subject to change bas
|
||||
Retrieves a specific potential role
|
||||
This method returns a specific potential role for a role mining session.
|
||||
|
||||
[API Spec](https://developer.sailpoint.com/docs/api//get-potential-role)
|
||||
[API Spec](https://developer.sailpoint.com/docs/api/v2025/get-potential-role)
|
||||
|
||||
### Path Parameters
|
||||
|
||||
@@ -1037,7 +1037,7 @@ import (
|
||||
"context"
|
||||
"fmt"
|
||||
"os"
|
||||
""
|
||||
v2025 "github.com/sailpoint-oss/golang-sdk/v2/api_v2025"
|
||||
openapiclient "github.com/sailpoint-oss/golang-sdk/v2"
|
||||
)
|
||||
|
||||
@@ -1048,7 +1048,7 @@ func main() {
|
||||
|
||||
configuration := NewDefaultConfiguration()
|
||||
apiClient := NewAPIClient(configuration)
|
||||
resp, r, err := apiClient..IAIRoleMiningAPI.GetPotentialRole(context.Background(), sessionId, potentialRoleId).XSailPointExperimental(xSailPointExperimental).Execute()
|
||||
resp, r, err := apiClient.V2025.IAIRoleMiningAPI.GetPotentialRole(context.Background(), sessionId, potentialRoleId).XSailPointExperimental(xSailPointExperimental).Execute()
|
||||
if err != nil {
|
||||
fmt.Fprintf(os.Stderr, "Error when calling `IAIRoleMiningAPI.GetPotentialRole``: %v\n", err)
|
||||
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
|
||||
@@ -1075,7 +1075,7 @@ This API is currently in an experimental state. The API is subject to change bas
|
||||
Retrieves the applications of a potential role for a role mining session
|
||||
This method returns the applications of a potential role for a role mining session.
|
||||
|
||||
[API Spec](https://developer.sailpoint.com/docs/api//get-potential-role-applications)
|
||||
[API Spec](https://developer.sailpoint.com/docs/api/v2025/get-potential-role-applications)
|
||||
|
||||
### Path Parameters
|
||||
|
||||
@@ -1119,7 +1119,7 @@ import (
|
||||
"context"
|
||||
"fmt"
|
||||
"os"
|
||||
""
|
||||
v2025 "github.com/sailpoint-oss/golang-sdk/v2/api_v2025"
|
||||
openapiclient "github.com/sailpoint-oss/golang-sdk/v2"
|
||||
)
|
||||
|
||||
@@ -1134,7 +1134,7 @@ func main() {
|
||||
|
||||
configuration := NewDefaultConfiguration()
|
||||
apiClient := NewAPIClient(configuration)
|
||||
resp, r, err := apiClient..IAIRoleMiningAPI.GetPotentialRoleApplications(context.Background(), sessionId, potentialRoleId).XSailPointExperimental(xSailPointExperimental).Filters(filters).Offset(offset).Limit(limit).Count(count).Execute()
|
||||
resp, r, err := apiClient.V2025.IAIRoleMiningAPI.GetPotentialRoleApplications(context.Background(), sessionId, potentialRoleId).XSailPointExperimental(xSailPointExperimental).Filters(filters).Offset(offset).Limit(limit).Count(count).Execute()
|
||||
if err != nil {
|
||||
fmt.Fprintf(os.Stderr, "Error when calling `IAIRoleMiningAPI.GetPotentialRoleApplications``: %v\n", err)
|
||||
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
|
||||
@@ -1161,7 +1161,7 @@ This API is currently in an experimental state. The API is subject to change bas
|
||||
Retrieves the entitlements of a potential role for a role mining session
|
||||
This method returns the entitlements of a potential role for a role mining session.
|
||||
|
||||
[API Spec](https://developer.sailpoint.com/docs/api//get-potential-role-entitlements)
|
||||
[API Spec](https://developer.sailpoint.com/docs/api/v2025/get-potential-role-entitlements)
|
||||
|
||||
### Path Parameters
|
||||
|
||||
@@ -1205,7 +1205,7 @@ import (
|
||||
"context"
|
||||
"fmt"
|
||||
"os"
|
||||
""
|
||||
v2025 "github.com/sailpoint-oss/golang-sdk/v2/api_v2025"
|
||||
openapiclient "github.com/sailpoint-oss/golang-sdk/v2"
|
||||
)
|
||||
|
||||
@@ -1220,7 +1220,7 @@ func main() {
|
||||
|
||||
configuration := NewDefaultConfiguration()
|
||||
apiClient := NewAPIClient(configuration)
|
||||
resp, r, err := apiClient..IAIRoleMiningAPI.GetPotentialRoleEntitlements(context.Background(), sessionId, potentialRoleId).XSailPointExperimental(xSailPointExperimental).Filters(filters).Offset(offset).Limit(limit).Count(count).Execute()
|
||||
resp, r, err := apiClient.V2025.IAIRoleMiningAPI.GetPotentialRoleEntitlements(context.Background(), sessionId, potentialRoleId).XSailPointExperimental(xSailPointExperimental).Filters(filters).Offset(offset).Limit(limit).Count(count).Execute()
|
||||
if err != nil {
|
||||
fmt.Fprintf(os.Stderr, "Error when calling `IAIRoleMiningAPI.GetPotentialRoleEntitlements``: %v\n", err)
|
||||
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
|
||||
@@ -1247,7 +1247,7 @@ This API is currently in an experimental state. The API is subject to change bas
|
||||
Retrieves potential role source usage
|
||||
This method returns source usageCount (as number of days in the last 90 days) for each identity in a potential role.
|
||||
|
||||
[API Spec](https://developer.sailpoint.com/docs/api//get-potential-role-source-identity-usage)
|
||||
[API Spec](https://developer.sailpoint.com/docs/api/v2025/get-potential-role-source-identity-usage)
|
||||
|
||||
### Path Parameters
|
||||
|
||||
@@ -1291,7 +1291,7 @@ import (
|
||||
"context"
|
||||
"fmt"
|
||||
"os"
|
||||
""
|
||||
v2025 "github.com/sailpoint-oss/golang-sdk/v2/api_v2025"
|
||||
openapiclient "github.com/sailpoint-oss/golang-sdk/v2"
|
||||
)
|
||||
|
||||
@@ -1306,7 +1306,7 @@ func main() {
|
||||
|
||||
configuration := NewDefaultConfiguration()
|
||||
apiClient := NewAPIClient(configuration)
|
||||
resp, r, err := apiClient..IAIRoleMiningAPI.GetPotentialRoleSourceIdentityUsage(context.Background(), potentialRoleId, sourceId).XSailPointExperimental(xSailPointExperimental).Sorters(sorters).Offset(offset).Limit(limit).Count(count).Execute()
|
||||
resp, r, err := apiClient.V2025.IAIRoleMiningAPI.GetPotentialRoleSourceIdentityUsage(context.Background(), potentialRoleId, sourceId).XSailPointExperimental(xSailPointExperimental).Sorters(sorters).Offset(offset).Limit(limit).Count(count).Execute()
|
||||
if err != nil {
|
||||
fmt.Fprintf(os.Stderr, "Error when calling `IAIRoleMiningAPI.GetPotentialRoleSourceIdentityUsage``: %v\n", err)
|
||||
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
|
||||
@@ -1333,7 +1333,7 @@ This API is currently in an experimental state. The API is subject to change bas
|
||||
Retrieves all potential role summaries
|
||||
This method returns the potential role summaries for a role mining session.
|
||||
|
||||
[API Spec](https://developer.sailpoint.com/docs/api//get-potential-role-summaries)
|
||||
[API Spec](https://developer.sailpoint.com/docs/api/v2025/get-potential-role-summaries)
|
||||
|
||||
### Path Parameters
|
||||
|
||||
@@ -1376,7 +1376,7 @@ import (
|
||||
"context"
|
||||
"fmt"
|
||||
"os"
|
||||
""
|
||||
v2025 "github.com/sailpoint-oss/golang-sdk/v2/api_v2025"
|
||||
openapiclient "github.com/sailpoint-oss/golang-sdk/v2"
|
||||
)
|
||||
|
||||
@@ -1391,7 +1391,7 @@ func main() {
|
||||
|
||||
configuration := NewDefaultConfiguration()
|
||||
apiClient := NewAPIClient(configuration)
|
||||
resp, r, err := apiClient..IAIRoleMiningAPI.GetPotentialRoleSummaries(context.Background(), sessionId).XSailPointExperimental(xSailPointExperimental).Sorters(sorters).Filters(filters).Offset(offset).Limit(limit).Count(count).Execute()
|
||||
resp, r, err := apiClient.V2025.IAIRoleMiningAPI.GetPotentialRoleSummaries(context.Background(), sessionId).XSailPointExperimental(xSailPointExperimental).Sorters(sorters).Filters(filters).Offset(offset).Limit(limit).Count(count).Execute()
|
||||
if err != nil {
|
||||
fmt.Fprintf(os.Stderr, "Error when calling `IAIRoleMiningAPI.GetPotentialRoleSummaries``: %v\n", err)
|
||||
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
|
||||
@@ -1418,7 +1418,7 @@ This API is currently in an experimental state. The API is subject to change bas
|
||||
Retrieves a specific potential role
|
||||
This method returns a specific potential role.
|
||||
|
||||
[API Spec](https://developer.sailpoint.com/docs/api//get-role-mining-potential-role)
|
||||
[API Spec](https://developer.sailpoint.com/docs/api/v2025/get-role-mining-potential-role)
|
||||
|
||||
### Path Parameters
|
||||
|
||||
@@ -1456,7 +1456,7 @@ import (
|
||||
"context"
|
||||
"fmt"
|
||||
"os"
|
||||
""
|
||||
v2025 "github.com/sailpoint-oss/golang-sdk/v2/api_v2025"
|
||||
openapiclient "github.com/sailpoint-oss/golang-sdk/v2"
|
||||
)
|
||||
|
||||
@@ -1466,7 +1466,7 @@ func main() {
|
||||
|
||||
configuration := NewDefaultConfiguration()
|
||||
apiClient := NewAPIClient(configuration)
|
||||
resp, r, err := apiClient..IAIRoleMiningAPI.GetRoleMiningPotentialRole(context.Background(), potentialRoleId).XSailPointExperimental(xSailPointExperimental).Execute()
|
||||
resp, r, err := apiClient.V2025.IAIRoleMiningAPI.GetRoleMiningPotentialRole(context.Background(), potentialRoleId).XSailPointExperimental(xSailPointExperimental).Execute()
|
||||
if err != nil {
|
||||
fmt.Fprintf(os.Stderr, "Error when calling `IAIRoleMiningAPI.GetRoleMiningPotentialRole``: %v\n", err)
|
||||
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
|
||||
@@ -1493,7 +1493,7 @@ This API is currently in an experimental state. The API is subject to change bas
|
||||
Get a role mining session
|
||||
The method retrieves a role mining session.
|
||||
|
||||
[API Spec](https://developer.sailpoint.com/docs/api//get-role-mining-session)
|
||||
[API Spec](https://developer.sailpoint.com/docs/api/v2025/get-role-mining-session)
|
||||
|
||||
### Path Parameters
|
||||
|
||||
@@ -1531,7 +1531,7 @@ import (
|
||||
"context"
|
||||
"fmt"
|
||||
"os"
|
||||
""
|
||||
v2025 "github.com/sailpoint-oss/golang-sdk/v2/api_v2025"
|
||||
openapiclient "github.com/sailpoint-oss/golang-sdk/v2"
|
||||
)
|
||||
|
||||
@@ -1541,7 +1541,7 @@ func main() {
|
||||
|
||||
configuration := NewDefaultConfiguration()
|
||||
apiClient := NewAPIClient(configuration)
|
||||
resp, r, err := apiClient..IAIRoleMiningAPI.GetRoleMiningSession(context.Background(), sessionId).XSailPointExperimental(xSailPointExperimental).Execute()
|
||||
resp, r, err := apiClient.V2025.IAIRoleMiningAPI.GetRoleMiningSession(context.Background(), sessionId).XSailPointExperimental(xSailPointExperimental).Execute()
|
||||
if err != nil {
|
||||
fmt.Fprintf(os.Stderr, "Error when calling `IAIRoleMiningAPI.GetRoleMiningSession``: %v\n", err)
|
||||
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
|
||||
@@ -1568,7 +1568,7 @@ This API is currently in an experimental state. The API is subject to change bas
|
||||
Get role mining session status state
|
||||
This method returns a role mining session status for a customer.
|
||||
|
||||
[API Spec](https://developer.sailpoint.com/docs/api//get-role-mining-session-status)
|
||||
[API Spec](https://developer.sailpoint.com/docs/api/v2025/get-role-mining-session-status)
|
||||
|
||||
### Path Parameters
|
||||
|
||||
@@ -1606,7 +1606,7 @@ import (
|
||||
"context"
|
||||
"fmt"
|
||||
"os"
|
||||
""
|
||||
v2025 "github.com/sailpoint-oss/golang-sdk/v2/api_v2025"
|
||||
openapiclient "github.com/sailpoint-oss/golang-sdk/v2"
|
||||
)
|
||||
|
||||
@@ -1616,7 +1616,7 @@ func main() {
|
||||
|
||||
configuration := NewDefaultConfiguration()
|
||||
apiClient := NewAPIClient(configuration)
|
||||
resp, r, err := apiClient..IAIRoleMiningAPI.GetRoleMiningSessionStatus(context.Background(), sessionId).XSailPointExperimental(xSailPointExperimental).Execute()
|
||||
resp, r, err := apiClient.V2025.IAIRoleMiningAPI.GetRoleMiningSessionStatus(context.Background(), sessionId).XSailPointExperimental(xSailPointExperimental).Execute()
|
||||
if err != nil {
|
||||
fmt.Fprintf(os.Stderr, "Error when calling `IAIRoleMiningAPI.GetRoleMiningSessionStatus``: %v\n", err)
|
||||
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
|
||||
@@ -1643,7 +1643,7 @@ This API is currently in an experimental state. The API is subject to change bas
|
||||
Retrieves all role mining sessions
|
||||
Returns all role mining sessions that match the query parameters
|
||||
|
||||
[API Spec](https://developer.sailpoint.com/docs/api//get-role-mining-sessions)
|
||||
[API Spec](https://developer.sailpoint.com/docs/api/v2025/get-role-mining-sessions)
|
||||
|
||||
### Path Parameters
|
||||
|
||||
@@ -1681,7 +1681,7 @@ import (
|
||||
"context"
|
||||
"fmt"
|
||||
"os"
|
||||
""
|
||||
v2025 "github.com/sailpoint-oss/golang-sdk/v2/api_v2025"
|
||||
openapiclient "github.com/sailpoint-oss/golang-sdk/v2"
|
||||
)
|
||||
|
||||
@@ -1695,7 +1695,7 @@ func main() {
|
||||
|
||||
configuration := NewDefaultConfiguration()
|
||||
apiClient := NewAPIClient(configuration)
|
||||
resp, r, err := apiClient..IAIRoleMiningAPI.GetRoleMiningSessions(context.Background()).XSailPointExperimental(xSailPointExperimental).Filters(filters).Sorters(sorters).Offset(offset).Limit(limit).Count(count).Execute()
|
||||
resp, r, err := apiClient.V2025.IAIRoleMiningAPI.GetRoleMiningSessions(context.Background()).XSailPointExperimental(xSailPointExperimental).Filters(filters).Sorters(sorters).Offset(offset).Limit(limit).Count(count).Execute()
|
||||
if err != nil {
|
||||
fmt.Fprintf(os.Stderr, "Error when calling `IAIRoleMiningAPI.GetRoleMiningSessions``: %v\n", err)
|
||||
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
|
||||
@@ -1722,7 +1722,7 @@ This API is currently in an experimental state. The API is subject to change bas
|
||||
Retrieves all saved potential roles
|
||||
This method returns all saved potential roles (draft roles).
|
||||
|
||||
[API Spec](https://developer.sailpoint.com/docs/api//get-saved-potential-roles)
|
||||
[API Spec](https://developer.sailpoint.com/docs/api/v2025/get-saved-potential-roles)
|
||||
|
||||
### Path Parameters
|
||||
|
||||
@@ -1759,7 +1759,7 @@ import (
|
||||
"context"
|
||||
"fmt"
|
||||
"os"
|
||||
""
|
||||
v2025 "github.com/sailpoint-oss/golang-sdk/v2/api_v2025"
|
||||
openapiclient "github.com/sailpoint-oss/golang-sdk/v2"
|
||||
)
|
||||
|
||||
@@ -1772,7 +1772,7 @@ func main() {
|
||||
|
||||
configuration := NewDefaultConfiguration()
|
||||
apiClient := NewAPIClient(configuration)
|
||||
resp, r, err := apiClient..IAIRoleMiningAPI.GetSavedPotentialRoles(context.Background()).XSailPointExperimental(xSailPointExperimental).Sorters(sorters).Offset(offset).Limit(limit).Count(count).Execute()
|
||||
resp, r, err := apiClient.V2025.IAIRoleMiningAPI.GetSavedPotentialRoles(context.Background()).XSailPointExperimental(xSailPointExperimental).Sorters(sorters).Offset(offset).Limit(limit).Count(count).Execute()
|
||||
if err != nil {
|
||||
fmt.Fprintf(os.Stderr, "Error when calling `IAIRoleMiningAPI.GetSavedPotentialRoles``: %v\n", err)
|
||||
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
|
||||
@@ -1811,7 +1811,7 @@ The following fields can be modified:
|
||||
>**NOTE: All other fields cannot be modified.**
|
||||
|
||||
|
||||
[API Spec](https://developer.sailpoint.com/docs/api//patch-potential-role)
|
||||
[API Spec](https://developer.sailpoint.com/docs/api/v2025/patch-potential-role)
|
||||
|
||||
### Path Parameters
|
||||
|
||||
@@ -1852,7 +1852,7 @@ import (
|
||||
"context"
|
||||
"fmt"
|
||||
"os"
|
||||
""
|
||||
v2025 "github.com/sailpoint-oss/golang-sdk/v2/api_v2025"
|
||||
openapiclient "github.com/sailpoint-oss/golang-sdk/v2"
|
||||
)
|
||||
|
||||
@@ -1864,7 +1864,7 @@ func main() {
|
||||
|
||||
configuration := NewDefaultConfiguration()
|
||||
apiClient := NewAPIClient(configuration)
|
||||
resp, r, err := apiClient..IAIRoleMiningAPI.PatchPotentialRole(context.Background(), sessionId, potentialRoleId).XSailPointExperimental(xSailPointExperimental).PatchPotentialRoleRequestInner(patchPotentialRoleRequestInner).Execute()
|
||||
resp, r, err := apiClient.V2025.IAIRoleMiningAPI.PatchPotentialRole(context.Background(), sessionId, potentialRoleId).XSailPointExperimental(xSailPointExperimental).PatchPotentialRoleRequestInner(patchPotentialRoleRequestInner).Execute()
|
||||
if err != nil {
|
||||
fmt.Fprintf(os.Stderr, "Error when calling `IAIRoleMiningAPI.PatchPotentialRole``: %v\n", err)
|
||||
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
|
||||
@@ -1903,7 +1903,7 @@ The following fields can be modified:
|
||||
>**NOTE: All other fields cannot be modified.**
|
||||
|
||||
|
||||
[API Spec](https://developer.sailpoint.com/docs/api//patch-potential-role-0)
|
||||
[API Spec](https://developer.sailpoint.com/docs/api/v2025/patch-potential-role-0)
|
||||
|
||||
### Path Parameters
|
||||
|
||||
@@ -1944,7 +1944,7 @@ import (
|
||||
"context"
|
||||
"fmt"
|
||||
"os"
|
||||
""
|
||||
v2025 "github.com/sailpoint-oss/golang-sdk/v2/api_v2025"
|
||||
openapiclient "github.com/sailpoint-oss/golang-sdk/v2"
|
||||
)
|
||||
|
||||
@@ -1956,7 +1956,7 @@ func main() {
|
||||
|
||||
configuration := NewDefaultConfiguration()
|
||||
apiClient := NewAPIClient(configuration)
|
||||
resp, r, err := apiClient..IAIRoleMiningAPI.PatchPotentialRole_0(context.Background(), sessionId, potentialRoleId).XSailPointExperimental(xSailPointExperimental).PatchPotentialRoleRequestInner(patchPotentialRoleRequestInner).Execute()
|
||||
resp, r, err := apiClient.V2025.IAIRoleMiningAPI.PatchPotentialRole_0(context.Background(), sessionId, potentialRoleId).XSailPointExperimental(xSailPointExperimental).PatchPotentialRoleRequestInner(patchPotentialRoleRequestInner).Execute()
|
||||
if err != nil {
|
||||
fmt.Fprintf(os.Stderr, "Error when calling `IAIRoleMiningAPI.PatchPotentialRole_0``: %v\n", err)
|
||||
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
|
||||
@@ -1983,7 +1983,7 @@ This API is currently in an experimental state. The API is subject to change bas
|
||||
Patch a role mining session
|
||||
The method updates an existing role mining session using PATCH. Supports op in {"replace"} and changes to pruneThreshold and/or minNumIdentitiesInPotentialRole. The potential roles in this role mining session is then re-calculated.
|
||||
|
||||
[API Spec](https://developer.sailpoint.com/docs/api//patch-role-mining-session)
|
||||
[API Spec](https://developer.sailpoint.com/docs/api/v2025/patch-role-mining-session)
|
||||
|
||||
### Path Parameters
|
||||
|
||||
@@ -2022,7 +2022,7 @@ import (
|
||||
"context"
|
||||
"fmt"
|
||||
"os"
|
||||
""
|
||||
v2025 "github.com/sailpoint-oss/golang-sdk/v2/api_v2025"
|
||||
openapiclient "github.com/sailpoint-oss/golang-sdk/v2"
|
||||
)
|
||||
|
||||
@@ -2033,7 +2033,7 @@ func main() {
|
||||
|
||||
configuration := NewDefaultConfiguration()
|
||||
apiClient := NewAPIClient(configuration)
|
||||
resp, r, err := apiClient..IAIRoleMiningAPI.PatchRoleMiningSession(context.Background(), sessionId).XSailPointExperimental(xSailPointExperimental).JsonPatchOperation(jsonPatchOperation).Execute()
|
||||
resp, r, err := apiClient.V2025.IAIRoleMiningAPI.PatchRoleMiningSession(context.Background(), sessionId).XSailPointExperimental(xSailPointExperimental).JsonPatchOperation(jsonPatchOperation).Execute()
|
||||
if err != nil {
|
||||
fmt.Fprintf(os.Stderr, "Error when calling `IAIRoleMiningAPI.PatchRoleMiningSession``: %v\n", err)
|
||||
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
|
||||
@@ -2060,7 +2060,7 @@ This API is currently in an experimental state. The API is subject to change bas
|
||||
Edit entitlements for a potential role to exclude some entitlements
|
||||
This endpoint adds or removes entitlements from an exclusion list for a potential role.
|
||||
|
||||
[API Spec](https://developer.sailpoint.com/docs/api//update-entitlements-potential-role)
|
||||
[API Spec](https://developer.sailpoint.com/docs/api/v2025/update-entitlements-potential-role)
|
||||
|
||||
### Path Parameters
|
||||
|
||||
@@ -2101,7 +2101,7 @@ import (
|
||||
"context"
|
||||
"fmt"
|
||||
"os"
|
||||
""
|
||||
v2025 "github.com/sailpoint-oss/golang-sdk/v2/api_v2025"
|
||||
openapiclient "github.com/sailpoint-oss/golang-sdk/v2"
|
||||
)
|
||||
|
||||
@@ -2116,7 +2116,7 @@ func main() {
|
||||
|
||||
configuration := NewDefaultConfiguration()
|
||||
apiClient := NewAPIClient(configuration)
|
||||
resp, r, err := apiClient..IAIRoleMiningAPI.UpdateEntitlementsPotentialRole(context.Background(), sessionId, potentialRoleId).XSailPointExperimental(xSailPointExperimental).RoleMiningPotentialRoleEditEntitlements(roleMiningPotentialRoleEditEntitlements).Execute()
|
||||
resp, r, err := apiClient.V2025.IAIRoleMiningAPI.UpdateEntitlementsPotentialRole(context.Background(), sessionId, potentialRoleId).XSailPointExperimental(xSailPointExperimental).RoleMiningPotentialRoleEditEntitlements(roleMiningPotentialRoleEditEntitlements).Execute()
|
||||
if err != nil {
|
||||
fmt.Fprintf(os.Stderr, "Error when calling `IAIRoleMiningAPI.UpdateEntitlementsPotentialRole``: %v\n", err)
|
||||
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
|
||||
|
||||
@@ -1,12 +1,12 @@
|
||||
---
|
||||
id: icons
|
||||
id: v2025-icons
|
||||
title: Icons
|
||||
pagination_label: Icons
|
||||
sidebar_label: Icons
|
||||
sidebar_class_name: gosdk
|
||||
keywords: ['go', 'Golang', 'sdk', 'Icons', 'Icons']
|
||||
slug: /tools/sdk/go//methods/icons
|
||||
tags: ['SDK', 'Software Development Kit', 'Icons', 'Icons']
|
||||
keywords: ['go', 'Golang', 'sdk', 'Icons', 'V2025Icons']
|
||||
slug: /tools/sdk/go/v2025/methods/icons
|
||||
tags: ['SDK', 'Software Development Kit', 'Icons', 'V2025Icons']
|
||||
---
|
||||
|
||||
# IconsAPI
|
||||
@@ -36,7 +36,7 @@ This API is currently in an experimental state. The API is subject to change bas
|
||||
Delete an icon
|
||||
This API endpoint delete an icon by object type and object id. A token with ORG_ADMIN authority is required to call this API.
|
||||
|
||||
[API Spec](https://developer.sailpoint.com/docs/api//delete-icon)
|
||||
[API Spec](https://developer.sailpoint.com/docs/api/v2025/delete-icon)
|
||||
|
||||
### Path Parameters
|
||||
|
||||
@@ -76,7 +76,7 @@ import (
|
||||
"context"
|
||||
"fmt"
|
||||
"os"
|
||||
""
|
||||
v2025 "github.com/sailpoint-oss/golang-sdk/v2/api_v2025"
|
||||
openapiclient "github.com/sailpoint-oss/golang-sdk/v2"
|
||||
)
|
||||
|
||||
@@ -87,7 +87,7 @@ func main() {
|
||||
|
||||
configuration := NewDefaultConfiguration()
|
||||
apiClient := NewAPIClient(configuration)
|
||||
r, err := apiClient..IconsAPI.DeleteIcon(context.Background(), objectType, objectId).XSailPointExperimental(xSailPointExperimental).Execute()
|
||||
r, err := apiClient.V2025.IconsAPI.DeleteIcon(context.Background(), objectType, objectId).XSailPointExperimental(xSailPointExperimental).Execute()
|
||||
if err != nil {
|
||||
fmt.Fprintf(os.Stderr, "Error when calling `IconsAPI.DeleteIcon``: %v\n", err)
|
||||
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
|
||||
@@ -112,7 +112,7 @@ This API is currently in an experimental state. The API is subject to change bas
|
||||
Update an icon
|
||||
This API endpoint updates an icon by object type and object id. A token with ORG_ADMIN authority is required to call this API.
|
||||
|
||||
[API Spec](https://developer.sailpoint.com/docs/api//set-icon)
|
||||
[API Spec](https://developer.sailpoint.com/docs/api/v2025/set-icon)
|
||||
|
||||
### Path Parameters
|
||||
|
||||
@@ -153,7 +153,7 @@ import (
|
||||
"context"
|
||||
"fmt"
|
||||
"os"
|
||||
""
|
||||
v2025 "github.com/sailpoint-oss/golang-sdk/v2/api_v2025"
|
||||
openapiclient "github.com/sailpoint-oss/golang-sdk/v2"
|
||||
)
|
||||
|
||||
@@ -165,7 +165,7 @@ func main() {
|
||||
|
||||
configuration := NewDefaultConfiguration()
|
||||
apiClient := NewAPIClient(configuration)
|
||||
resp, r, err := apiClient..IconsAPI.SetIcon(context.Background(), objectType, objectId).XSailPointExperimental(xSailPointExperimental).Image(image).Execute()
|
||||
resp, r, err := apiClient.V2025.IconsAPI.SetIcon(context.Background(), objectType, objectId).XSailPointExperimental(xSailPointExperimental).Image(image).Execute()
|
||||
if err != nil {
|
||||
fmt.Fprintf(os.Stderr, "Error when calling `IconsAPI.SetIcon``: %v\n", err)
|
||||
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
|
||||
|
||||
@@ -1,12 +1,12 @@
|
||||
---
|
||||
id: identities
|
||||
id: v2025-identities
|
||||
title: Identities
|
||||
pagination_label: Identities
|
||||
sidebar_label: Identities
|
||||
sidebar_class_name: gosdk
|
||||
keywords: ['go', 'Golang', 'sdk', 'Identities', 'Identities']
|
||||
slug: /tools/sdk/go//methods/identities
|
||||
tags: ['SDK', 'Software Development Kit', 'Identities', 'Identities']
|
||||
keywords: ['go', 'Golang', 'sdk', 'Identities', 'V2025Identities']
|
||||
slug: /tools/sdk/go/v2025/methods/identities
|
||||
tags: ['SDK', 'Software Development Kit', 'Identities', 'V2025Identities']
|
||||
---
|
||||
|
||||
# IdentitiesAPI
|
||||
@@ -58,7 +58,7 @@ This API is currently in an experimental state. The API is subject to change bas
|
||||
Delete identity
|
||||
The API returns successful response if the requested identity was deleted.
|
||||
|
||||
[API Spec](https://developer.sailpoint.com/docs/api//delete-identity)
|
||||
[API Spec](https://developer.sailpoint.com/docs/api/v2025/delete-identity)
|
||||
|
||||
### Path Parameters
|
||||
|
||||
@@ -96,7 +96,7 @@ import (
|
||||
"context"
|
||||
"fmt"
|
||||
"os"
|
||||
""
|
||||
v2025 "github.com/sailpoint-oss/golang-sdk/v2/api_v2025"
|
||||
openapiclient "github.com/sailpoint-oss/golang-sdk/v2"
|
||||
)
|
||||
|
||||
@@ -106,7 +106,7 @@ func main() {
|
||||
|
||||
configuration := NewDefaultConfiguration()
|
||||
apiClient := NewAPIClient(configuration)
|
||||
r, err := apiClient..IdentitiesAPI.DeleteIdentity(context.Background(), id).XSailPointExperimental(xSailPointExperimental).Execute()
|
||||
r, err := apiClient.V2025.IdentitiesAPI.DeleteIdentity(context.Background(), id).XSailPointExperimental(xSailPointExperimental).Execute()
|
||||
if err != nil {
|
||||
fmt.Fprintf(os.Stderr, "Error when calling `IdentitiesAPI.DeleteIdentity``: %v\n", err)
|
||||
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
|
||||
@@ -131,7 +131,7 @@ This API is currently in an experimental state. The API is subject to change bas
|
||||
Identity Details
|
||||
This API returns a single identity using the Identity ID.
|
||||
|
||||
[API Spec](https://developer.sailpoint.com/docs/api//get-identity)
|
||||
[API Spec](https://developer.sailpoint.com/docs/api/v2025/get-identity)
|
||||
|
||||
### Path Parameters
|
||||
|
||||
@@ -169,7 +169,7 @@ import (
|
||||
"context"
|
||||
"fmt"
|
||||
"os"
|
||||
""
|
||||
v2025 "github.com/sailpoint-oss/golang-sdk/v2/api_v2025"
|
||||
openapiclient "github.com/sailpoint-oss/golang-sdk/v2"
|
||||
)
|
||||
|
||||
@@ -179,7 +179,7 @@ func main() {
|
||||
|
||||
configuration := NewDefaultConfiguration()
|
||||
apiClient := NewAPIClient(configuration)
|
||||
resp, r, err := apiClient..IdentitiesAPI.GetIdentity(context.Background(), id).XSailPointExperimental(xSailPointExperimental).Execute()
|
||||
resp, r, err := apiClient.V2025.IdentitiesAPI.GetIdentity(context.Background(), id).XSailPointExperimental(xSailPointExperimental).Execute()
|
||||
if err != nil {
|
||||
fmt.Fprintf(os.Stderr, "Error when calling `IdentitiesAPI.GetIdentity``: %v\n", err)
|
||||
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
|
||||
@@ -208,7 +208,7 @@ Use this API to return an identity's owned objects that will cause problems for
|
||||
Use this API as a checklist of objects that you need to reassign to a different identity before you can delete the identity.
|
||||
For a full list of objects owned by an identity, use the [Search API](https://developer.sailpoint.com/docs/api/v3/search-post/). When you search for identities, the returned identities have a property, `owns`, that contains a more comprehensive list of identity's owned objects.
|
||||
|
||||
[API Spec](https://developer.sailpoint.com/docs/api//get-identity-ownership-details)
|
||||
[API Spec](https://developer.sailpoint.com/docs/api/v2025/get-identity-ownership-details)
|
||||
|
||||
### Path Parameters
|
||||
|
||||
@@ -246,7 +246,7 @@ import (
|
||||
"context"
|
||||
"fmt"
|
||||
"os"
|
||||
""
|
||||
v2025 "github.com/sailpoint-oss/golang-sdk/v2/api_v2025"
|
||||
openapiclient "github.com/sailpoint-oss/golang-sdk/v2"
|
||||
)
|
||||
|
||||
@@ -256,7 +256,7 @@ func main() {
|
||||
|
||||
configuration := NewDefaultConfiguration()
|
||||
apiClient := NewAPIClient(configuration)
|
||||
resp, r, err := apiClient..IdentitiesAPI.GetIdentityOwnershipDetails(context.Background(), identityId).XSailPointExperimental(xSailPointExperimental).Execute()
|
||||
resp, r, err := apiClient.V2025.IdentitiesAPI.GetIdentityOwnershipDetails(context.Background(), identityId).XSailPointExperimental(xSailPointExperimental).Execute()
|
||||
if err != nil {
|
||||
fmt.Fprintf(os.Stderr, "Error when calling `IdentitiesAPI.GetIdentityOwnershipDetails``: %v\n", err)
|
||||
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
|
||||
@@ -283,7 +283,7 @@ This API is currently in an experimental state. The API is subject to change bas
|
||||
Role assignment details
|
||||
|
||||
|
||||
[API Spec](https://developer.sailpoint.com/docs/api//get-role-assignment)
|
||||
[API Spec](https://developer.sailpoint.com/docs/api/v2025/get-role-assignment)
|
||||
|
||||
### Path Parameters
|
||||
|
||||
@@ -323,7 +323,7 @@ import (
|
||||
"context"
|
||||
"fmt"
|
||||
"os"
|
||||
""
|
||||
v2025 "github.com/sailpoint-oss/golang-sdk/v2/api_v2025"
|
||||
openapiclient "github.com/sailpoint-oss/golang-sdk/v2"
|
||||
)
|
||||
|
||||
@@ -334,7 +334,7 @@ func main() {
|
||||
|
||||
configuration := NewDefaultConfiguration()
|
||||
apiClient := NewAPIClient(configuration)
|
||||
resp, r, err := apiClient..IdentitiesAPI.GetRoleAssignment(context.Background(), identityId, assignmentId).XSailPointExperimental(xSailPointExperimental).Execute()
|
||||
resp, r, err := apiClient.V2025.IdentitiesAPI.GetRoleAssignment(context.Background(), identityId, assignmentId).XSailPointExperimental(xSailPointExperimental).Execute()
|
||||
if err != nil {
|
||||
fmt.Fprintf(os.Stderr, "Error when calling `IdentitiesAPI.GetRoleAssignment``: %v\n", err)
|
||||
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
|
||||
@@ -361,7 +361,7 @@ This API is currently in an experimental state. The API is subject to change bas
|
||||
List role assignments
|
||||
This returns either a list of Role Assignments when querying with either a Role Id or Role Name, or a list of Role Assignment References if querying with only identity Id.
|
||||
|
||||
[API Spec](https://developer.sailpoint.com/docs/api//get-role-assignments)
|
||||
[API Spec](https://developer.sailpoint.com/docs/api/v2025/get-role-assignments)
|
||||
|
||||
### Path Parameters
|
||||
|
||||
@@ -401,7 +401,7 @@ import (
|
||||
"context"
|
||||
"fmt"
|
||||
"os"
|
||||
""
|
||||
v2025 "github.com/sailpoint-oss/golang-sdk/v2/api_v2025"
|
||||
openapiclient "github.com/sailpoint-oss/golang-sdk/v2"
|
||||
)
|
||||
|
||||
@@ -413,7 +413,7 @@ func main() {
|
||||
|
||||
configuration := NewDefaultConfiguration()
|
||||
apiClient := NewAPIClient(configuration)
|
||||
resp, r, err := apiClient..IdentitiesAPI.GetRoleAssignments(context.Background(), identityId).XSailPointExperimental(xSailPointExperimental).RoleId(roleId).RoleName(roleName).Execute()
|
||||
resp, r, err := apiClient.V2025.IdentitiesAPI.GetRoleAssignments(context.Background(), identityId).XSailPointExperimental(xSailPointExperimental).RoleId(roleId).RoleName(roleName).Execute()
|
||||
if err != nil {
|
||||
fmt.Fprintf(os.Stderr, "Error when calling `IdentitiesAPI.GetRoleAssignments``: %v\n", err)
|
||||
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
|
||||
@@ -440,7 +440,7 @@ This API is currently in an experimental state. The API is subject to change bas
|
||||
List Identities
|
||||
This API returns a list of identities.
|
||||
|
||||
[API Spec](https://developer.sailpoint.com/docs/api//list-identities)
|
||||
[API Spec](https://developer.sailpoint.com/docs/api/v2025/list-identities)
|
||||
|
||||
### Path Parameters
|
||||
|
||||
@@ -479,7 +479,7 @@ import (
|
||||
"context"
|
||||
"fmt"
|
||||
"os"
|
||||
""
|
||||
v2025 "github.com/sailpoint-oss/golang-sdk/v2/api_v2025"
|
||||
openapiclient "github.com/sailpoint-oss/golang-sdk/v2"
|
||||
)
|
||||
|
||||
@@ -494,7 +494,7 @@ func main() {
|
||||
|
||||
configuration := NewDefaultConfiguration()
|
||||
apiClient := NewAPIClient(configuration)
|
||||
resp, r, err := apiClient..IdentitiesAPI.ListIdentities(context.Background()).XSailPointExperimental(xSailPointExperimental).Filters(filters).Sorters(sorters).DefaultFilter(defaultFilter).Count(count).Limit(limit).Offset(offset).Execute()
|
||||
resp, r, err := apiClient.V2025.IdentitiesAPI.ListIdentities(context.Background()).XSailPointExperimental(xSailPointExperimental).Filters(filters).Sorters(sorters).DefaultFilter(defaultFilter).Count(count).Limit(limit).Offset(offset).Execute()
|
||||
if err != nil {
|
||||
fmt.Fprintf(os.Stderr, "Error when calling `IdentitiesAPI.ListIdentities``: %v\n", err)
|
||||
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
|
||||
@@ -521,7 +521,7 @@ This API is currently in an experimental state. The API is subject to change bas
|
||||
Reset an identity
|
||||
Use this endpoint to reset a user's identity if they have forgotten their authentication information like their answers to knowledge-based questions. Resetting an identity de-registers the user and removes any elevated user levels they have.
|
||||
|
||||
[API Spec](https://developer.sailpoint.com/docs/api//reset-identity)
|
||||
[API Spec](https://developer.sailpoint.com/docs/api/v2025/reset-identity)
|
||||
|
||||
### Path Parameters
|
||||
|
||||
@@ -559,7 +559,7 @@ import (
|
||||
"context"
|
||||
"fmt"
|
||||
"os"
|
||||
""
|
||||
v2025 "github.com/sailpoint-oss/golang-sdk/v2/api_v2025"
|
||||
openapiclient "github.com/sailpoint-oss/golang-sdk/v2"
|
||||
)
|
||||
|
||||
@@ -569,7 +569,7 @@ func main() {
|
||||
|
||||
configuration := NewDefaultConfiguration()
|
||||
apiClient := NewAPIClient(configuration)
|
||||
r, err := apiClient..IdentitiesAPI.ResetIdentity(context.Background(), identityId).XSailPointExperimental(xSailPointExperimental).Execute()
|
||||
r, err := apiClient.V2025.IdentitiesAPI.ResetIdentity(context.Background(), identityId).XSailPointExperimental(xSailPointExperimental).Execute()
|
||||
if err != nil {
|
||||
fmt.Fprintf(os.Stderr, "Error when calling `IdentitiesAPI.ResetIdentity``: %v\n", err)
|
||||
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
|
||||
@@ -595,7 +595,7 @@ Send password reset email
|
||||
This API sends an email with the link to start Password Reset. After selecting the link an identity will be able to set up a new password. Emails expire after 2 hours.
|
||||
|
||||
|
||||
[API Spec](https://developer.sailpoint.com/docs/api//send-identity-verification-account-token)
|
||||
[API Spec](https://developer.sailpoint.com/docs/api/v2025/send-identity-verification-account-token)
|
||||
|
||||
### Path Parameters
|
||||
|
||||
@@ -634,7 +634,7 @@ import (
|
||||
"context"
|
||||
"fmt"
|
||||
"os"
|
||||
""
|
||||
v2025 "github.com/sailpoint-oss/golang-sdk/v2/api_v2025"
|
||||
openapiclient "github.com/sailpoint-oss/golang-sdk/v2"
|
||||
)
|
||||
|
||||
@@ -648,7 +648,7 @@ func main() {
|
||||
|
||||
configuration := NewDefaultConfiguration()
|
||||
apiClient := NewAPIClient(configuration)
|
||||
r, err := apiClient..IdentitiesAPI.SendIdentityVerificationAccountToken(context.Background(), id).XSailPointExperimental(xSailPointExperimental).SendAccountVerificationRequest(sendAccountVerificationRequest).Execute()
|
||||
r, err := apiClient.V2025.IdentitiesAPI.SendIdentityVerificationAccountToken(context.Background(), id).XSailPointExperimental(xSailPointExperimental).SendAccountVerificationRequest(sendAccountVerificationRequest).Execute()
|
||||
if err != nil {
|
||||
fmt.Fprintf(os.Stderr, "Error when calling `IdentitiesAPI.SendIdentityVerificationAccountToken``: %v\n", err)
|
||||
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
|
||||
@@ -678,7 +678,7 @@ This task will send an invitation email only for unregistered identities.
|
||||
The executed task status can be checked by Task Management > [Get task status by ID](https://developer.sailpoint.com/docs/api/beta/get-task-status).
|
||||
|
||||
|
||||
[API Spec](https://developer.sailpoint.com/docs/api//start-identities-invite)
|
||||
[API Spec](https://developer.sailpoint.com/docs/api/v2025/start-identities-invite)
|
||||
|
||||
### Path Parameters
|
||||
|
||||
@@ -712,7 +712,7 @@ import (
|
||||
"context"
|
||||
"fmt"
|
||||
"os"
|
||||
""
|
||||
v2025 "github.com/sailpoint-oss/golang-sdk/v2/api_v2025"
|
||||
openapiclient "github.com/sailpoint-oss/golang-sdk/v2"
|
||||
)
|
||||
|
||||
@@ -725,7 +725,7 @@ func main() {
|
||||
|
||||
configuration := NewDefaultConfiguration()
|
||||
apiClient := NewAPIClient(configuration)
|
||||
resp, r, err := apiClient..IdentitiesAPI.StartIdentitiesInvite(context.Background()).XSailPointExperimental(xSailPointExperimental).InviteIdentitiesRequest(inviteIdentitiesRequest).Execute()
|
||||
resp, r, err := apiClient.V2025.IdentitiesAPI.StartIdentitiesInvite(context.Background()).XSailPointExperimental(xSailPointExperimental).InviteIdentitiesRequest(inviteIdentitiesRequest).Execute()
|
||||
if err != nil {
|
||||
fmt.Fprintf(os.Stderr, "Error when calling `IdentitiesAPI.StartIdentitiesInvite``: %v\n", err)
|
||||
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
|
||||
@@ -759,7 +759,7 @@ This endpoint will perform the following tasks:
|
||||
4. Recalculate manager relationships.
|
||||
5. Potentially clean-up identity processing errors, assuming the error has been resolved.
|
||||
|
||||
[API Spec](https://developer.sailpoint.com/docs/api//start-identity-processing)
|
||||
[API Spec](https://developer.sailpoint.com/docs/api/v2025/start-identity-processing)
|
||||
|
||||
### Path Parameters
|
||||
|
||||
@@ -793,7 +793,7 @@ import (
|
||||
"context"
|
||||
"fmt"
|
||||
"os"
|
||||
""
|
||||
v2025 "github.com/sailpoint-oss/golang-sdk/v2/api_v2025"
|
||||
openapiclient "github.com/sailpoint-oss/golang-sdk/v2"
|
||||
)
|
||||
|
||||
@@ -805,7 +805,7 @@ func main() {
|
||||
|
||||
configuration := NewDefaultConfiguration()
|
||||
apiClient := NewAPIClient(configuration)
|
||||
resp, r, err := apiClient..IdentitiesAPI.StartIdentityProcessing(context.Background()).XSailPointExperimental(xSailPointExperimental).ProcessIdentitiesRequest(processIdentitiesRequest).Execute()
|
||||
resp, r, err := apiClient.V2025.IdentitiesAPI.StartIdentityProcessing(context.Background()).XSailPointExperimental(xSailPointExperimental).ProcessIdentitiesRequest(processIdentitiesRequest).Execute()
|
||||
if err != nil {
|
||||
fmt.Fprintf(os.Stderr, "Error when calling `IdentitiesAPI.StartIdentityProcessing``: %v\n", err)
|
||||
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
|
||||
@@ -832,7 +832,7 @@ This API is currently in an experimental state. The API is subject to change bas
|
||||
Attribute synchronization for single identity.
|
||||
This end-point performs attribute synchronization for a selected identity. The endpoint can be called once in 10 seconds per identity.
|
||||
|
||||
[API Spec](https://developer.sailpoint.com/docs/api//synchronize-attributes-for-identity)
|
||||
[API Spec](https://developer.sailpoint.com/docs/api/v2025/synchronize-attributes-for-identity)
|
||||
|
||||
### Path Parameters
|
||||
|
||||
@@ -870,7 +870,7 @@ import (
|
||||
"context"
|
||||
"fmt"
|
||||
"os"
|
||||
""
|
||||
v2025 "github.com/sailpoint-oss/golang-sdk/v2/api_v2025"
|
||||
openapiclient "github.com/sailpoint-oss/golang-sdk/v2"
|
||||
)
|
||||
|
||||
@@ -880,7 +880,7 @@ func main() {
|
||||
|
||||
configuration := NewDefaultConfiguration()
|
||||
apiClient := NewAPIClient(configuration)
|
||||
resp, r, err := apiClient..IdentitiesAPI.SynchronizeAttributesForIdentity(context.Background(), identityId).XSailPointExperimental(xSailPointExperimental).Execute()
|
||||
resp, r, err := apiClient.V2025.IdentitiesAPI.SynchronizeAttributesForIdentity(context.Background(), identityId).XSailPointExperimental(xSailPointExperimental).Execute()
|
||||
if err != nil {
|
||||
fmt.Fprintf(os.Stderr, "Error when calling `IdentitiesAPI.SynchronizeAttributesForIdentity``: %v\n", err)
|
||||
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
|
||||
|
||||
@@ -1,12 +1,12 @@
|
||||
---
|
||||
id: identity-attributes
|
||||
id: v2025-identity-attributes
|
||||
title: IdentityAttributes
|
||||
pagination_label: IdentityAttributes
|
||||
sidebar_label: IdentityAttributes
|
||||
sidebar_class_name: gosdk
|
||||
keywords: ['go', 'Golang', 'sdk', 'IdentityAttributes', 'IdentityAttributes']
|
||||
slug: /tools/sdk/go//methods/identity-attributes
|
||||
tags: ['SDK', 'Software Development Kit', 'IdentityAttributes', 'IdentityAttributes']
|
||||
keywords: ['go', 'Golang', 'sdk', 'IdentityAttributes', 'V2025IdentityAttributes']
|
||||
slug: /tools/sdk/go/v2025/methods/identity-attributes
|
||||
tags: ['SDK', 'Software Development Kit', 'IdentityAttributes', 'V2025IdentityAttributes']
|
||||
---
|
||||
|
||||
# IdentityAttributesAPI
|
||||
@@ -38,7 +38,7 @@ This API is currently in an experimental state. The API is subject to change bas
|
||||
Create Identity Attribute
|
||||
Use this API to create a new identity attribute.
|
||||
|
||||
[API Spec](https://developer.sailpoint.com/docs/api//create-identity-attribute)
|
||||
[API Spec](https://developer.sailpoint.com/docs/api/v2025/create-identity-attribute)
|
||||
|
||||
### Path Parameters
|
||||
|
||||
@@ -72,7 +72,7 @@ import (
|
||||
"context"
|
||||
"fmt"
|
||||
"os"
|
||||
""
|
||||
v2025 "github.com/sailpoint-oss/golang-sdk/v2/api_v2025"
|
||||
openapiclient "github.com/sailpoint-oss/golang-sdk/v2"
|
||||
)
|
||||
|
||||
@@ -103,7 +103,7 @@ func main() {
|
||||
|
||||
configuration := NewDefaultConfiguration()
|
||||
apiClient := NewAPIClient(configuration)
|
||||
resp, r, err := apiClient..IdentityAttributesAPI.CreateIdentityAttribute(context.Background()).XSailPointExperimental(xSailPointExperimental).IdentityAttribute(identityAttribute).Execute()
|
||||
resp, r, err := apiClient.V2025.IdentityAttributesAPI.CreateIdentityAttribute(context.Background()).XSailPointExperimental(xSailPointExperimental).IdentityAttribute(identityAttribute).Execute()
|
||||
if err != nil {
|
||||
fmt.Fprintf(os.Stderr, "Error when calling `IdentityAttributesAPI.CreateIdentityAttribute``: %v\n", err)
|
||||
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
|
||||
@@ -130,7 +130,7 @@ This API is currently in an experimental state. The API is subject to change bas
|
||||
Delete Identity Attribute
|
||||
This deletes an identity attribute with the given name. The `system` and `standard` properties must be set to false before you can delete an identity attribute.
|
||||
|
||||
[API Spec](https://developer.sailpoint.com/docs/api//delete-identity-attribute)
|
||||
[API Spec](https://developer.sailpoint.com/docs/api/v2025/delete-identity-attribute)
|
||||
|
||||
### Path Parameters
|
||||
|
||||
@@ -168,7 +168,7 @@ import (
|
||||
"context"
|
||||
"fmt"
|
||||
"os"
|
||||
""
|
||||
v2025 "github.com/sailpoint-oss/golang-sdk/v2/api_v2025"
|
||||
openapiclient "github.com/sailpoint-oss/golang-sdk/v2"
|
||||
)
|
||||
|
||||
@@ -178,7 +178,7 @@ func main() {
|
||||
|
||||
configuration := NewDefaultConfiguration()
|
||||
apiClient := NewAPIClient(configuration)
|
||||
r, err := apiClient..IdentityAttributesAPI.DeleteIdentityAttribute(context.Background(), name).XSailPointExperimental(xSailPointExperimental).Execute()
|
||||
r, err := apiClient.V2025.IdentityAttributesAPI.DeleteIdentityAttribute(context.Background(), name).XSailPointExperimental(xSailPointExperimental).Execute()
|
||||
if err != nil {
|
||||
fmt.Fprintf(os.Stderr, "Error when calling `IdentityAttributesAPI.DeleteIdentityAttribute``: %v\n", err)
|
||||
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
|
||||
@@ -203,7 +203,7 @@ This API is currently in an experimental state. The API is subject to change bas
|
||||
Bulk delete Identity Attributes
|
||||
Use this API to bulk delete identity attributes for a given set of names. Attributes that are currently mapped in an identity profile cannot be deleted. The `system` and `standard` properties must be set to 'false' before you can delete an identity attribute.
|
||||
|
||||
[API Spec](https://developer.sailpoint.com/docs/api//delete-identity-attributes-in-bulk)
|
||||
[API Spec](https://developer.sailpoint.com/docs/api/v2025/delete-identity-attributes-in-bulk)
|
||||
|
||||
### Path Parameters
|
||||
|
||||
@@ -237,7 +237,7 @@ import (
|
||||
"context"
|
||||
"fmt"
|
||||
"os"
|
||||
""
|
||||
v2025 "github.com/sailpoint-oss/golang-sdk/v2/api_v2025"
|
||||
openapiclient "github.com/sailpoint-oss/golang-sdk/v2"
|
||||
)
|
||||
|
||||
@@ -249,7 +249,7 @@ func main() {
|
||||
|
||||
configuration := NewDefaultConfiguration()
|
||||
apiClient := NewAPIClient(configuration)
|
||||
r, err := apiClient..IdentityAttributesAPI.DeleteIdentityAttributesInBulk(context.Background()).XSailPointExperimental(xSailPointExperimental).IdentityAttributeNames(identityAttributeNames).Execute()
|
||||
r, err := apiClient.V2025.IdentityAttributesAPI.DeleteIdentityAttributesInBulk(context.Background()).XSailPointExperimental(xSailPointExperimental).IdentityAttributeNames(identityAttributeNames).Execute()
|
||||
if err != nil {
|
||||
fmt.Fprintf(os.Stderr, "Error when calling `IdentityAttributesAPI.DeleteIdentityAttributesInBulk``: %v\n", err)
|
||||
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
|
||||
@@ -274,7 +274,7 @@ This API is currently in an experimental state. The API is subject to change bas
|
||||
Get Identity Attribute
|
||||
This gets an identity attribute for a given technical name.
|
||||
|
||||
[API Spec](https://developer.sailpoint.com/docs/api//get-identity-attribute)
|
||||
[API Spec](https://developer.sailpoint.com/docs/api/v2025/get-identity-attribute)
|
||||
|
||||
### Path Parameters
|
||||
|
||||
@@ -312,7 +312,7 @@ import (
|
||||
"context"
|
||||
"fmt"
|
||||
"os"
|
||||
""
|
||||
v2025 "github.com/sailpoint-oss/golang-sdk/v2/api_v2025"
|
||||
openapiclient "github.com/sailpoint-oss/golang-sdk/v2"
|
||||
)
|
||||
|
||||
@@ -322,7 +322,7 @@ func main() {
|
||||
|
||||
configuration := NewDefaultConfiguration()
|
||||
apiClient := NewAPIClient(configuration)
|
||||
resp, r, err := apiClient..IdentityAttributesAPI.GetIdentityAttribute(context.Background(), name).XSailPointExperimental(xSailPointExperimental).Execute()
|
||||
resp, r, err := apiClient.V2025.IdentityAttributesAPI.GetIdentityAttribute(context.Background(), name).XSailPointExperimental(xSailPointExperimental).Execute()
|
||||
if err != nil {
|
||||
fmt.Fprintf(os.Stderr, "Error when calling `IdentityAttributesAPI.GetIdentityAttribute``: %v\n", err)
|
||||
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
|
||||
@@ -349,7 +349,7 @@ This API is currently in an experimental state. The API is subject to change bas
|
||||
List Identity Attributes
|
||||
Use this API to get a collection of identity attributes.
|
||||
|
||||
[API Spec](https://developer.sailpoint.com/docs/api//list-identity-attributes)
|
||||
[API Spec](https://developer.sailpoint.com/docs/api/v2025/list-identity-attributes)
|
||||
|
||||
### Path Parameters
|
||||
|
||||
@@ -386,7 +386,7 @@ import (
|
||||
"context"
|
||||
"fmt"
|
||||
"os"
|
||||
""
|
||||
v2025 "github.com/sailpoint-oss/golang-sdk/v2/api_v2025"
|
||||
openapiclient "github.com/sailpoint-oss/golang-sdk/v2"
|
||||
)
|
||||
|
||||
@@ -399,7 +399,7 @@ func main() {
|
||||
|
||||
configuration := NewDefaultConfiguration()
|
||||
apiClient := NewAPIClient(configuration)
|
||||
resp, r, err := apiClient..IdentityAttributesAPI.ListIdentityAttributes(context.Background()).XSailPointExperimental(xSailPointExperimental).IncludeSystem(includeSystem).IncludeSilent(includeSilent).SearchableOnly(searchableOnly).Count(count).Execute()
|
||||
resp, r, err := apiClient.V2025.IdentityAttributesAPI.ListIdentityAttributes(context.Background()).XSailPointExperimental(xSailPointExperimental).IncludeSystem(includeSystem).IncludeSilent(includeSilent).SearchableOnly(searchableOnly).Count(count).Execute()
|
||||
if err != nil {
|
||||
fmt.Fprintf(os.Stderr, "Error when calling `IdentityAttributesAPI.ListIdentityAttributes``: %v\n", err)
|
||||
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
|
||||
@@ -426,7 +426,7 @@ This API is currently in an experimental state. The API is subject to change bas
|
||||
Update Identity Attribute
|
||||
This updates an existing identity attribute. Making an attribute searchable requires that the `system`, `standard`, and `multi` properties be set to false.
|
||||
|
||||
[API Spec](https://developer.sailpoint.com/docs/api//put-identity-attribute)
|
||||
[API Spec](https://developer.sailpoint.com/docs/api/v2025/put-identity-attribute)
|
||||
|
||||
### Path Parameters
|
||||
|
||||
@@ -465,7 +465,7 @@ import (
|
||||
"context"
|
||||
"fmt"
|
||||
"os"
|
||||
""
|
||||
v2025 "github.com/sailpoint-oss/golang-sdk/v2/api_v2025"
|
||||
openapiclient "github.com/sailpoint-oss/golang-sdk/v2"
|
||||
)
|
||||
|
||||
@@ -497,7 +497,7 @@ func main() {
|
||||
|
||||
configuration := NewDefaultConfiguration()
|
||||
apiClient := NewAPIClient(configuration)
|
||||
resp, r, err := apiClient..IdentityAttributesAPI.PutIdentityAttribute(context.Background(), name).XSailPointExperimental(xSailPointExperimental).IdentityAttribute(identityAttribute).Execute()
|
||||
resp, r, err := apiClient.V2025.IdentityAttributesAPI.PutIdentityAttribute(context.Background(), name).XSailPointExperimental(xSailPointExperimental).IdentityAttribute(identityAttribute).Execute()
|
||||
if err != nil {
|
||||
fmt.Fprintf(os.Stderr, "Error when calling `IdentityAttributesAPI.PutIdentityAttribute``: %v\n", err)
|
||||
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
|
||||
|
||||
@@ -1,12 +1,12 @@
|
||||
---
|
||||
id: identity-history
|
||||
id: v2025-identity-history
|
||||
title: IdentityHistory
|
||||
pagination_label: IdentityHistory
|
||||
sidebar_label: IdentityHistory
|
||||
sidebar_class_name: gosdk
|
||||
keywords: ['go', 'Golang', 'sdk', 'IdentityHistory', 'IdentityHistory']
|
||||
slug: /tools/sdk/go//methods/identity-history
|
||||
tags: ['SDK', 'Software Development Kit', 'IdentityHistory', 'IdentityHistory']
|
||||
keywords: ['go', 'Golang', 'sdk', 'IdentityHistory', 'V2025IdentityHistory']
|
||||
slug: /tools/sdk/go/v2025/methods/identity-history
|
||||
tags: ['SDK', 'Software Development Kit', 'IdentityHistory', 'V2025IdentityHistory']
|
||||
---
|
||||
|
||||
# IdentityHistoryAPI
|
||||
@@ -43,7 +43,7 @@ This API is currently in an experimental state. The API is subject to change bas
|
||||
Gets a difference of count for each access item types for the given identity between 2 snapshots
|
||||
This method gets a difference of count for each access item types for the given identity between 2 snapshots Requires authorization scope of 'idn:identity-history:read'
|
||||
|
||||
[API Spec](https://developer.sailpoint.com/docs/api//compare-identity-snapshots)
|
||||
[API Spec](https://developer.sailpoint.com/docs/api/v2025/compare-identity-snapshots)
|
||||
|
||||
### Path Parameters
|
||||
|
||||
@@ -87,7 +87,7 @@ import (
|
||||
"context"
|
||||
"fmt"
|
||||
"os"
|
||||
""
|
||||
v2025 "github.com/sailpoint-oss/golang-sdk/v2/api_v2025"
|
||||
openapiclient "github.com/sailpoint-oss/golang-sdk/v2"
|
||||
)
|
||||
|
||||
@@ -103,7 +103,7 @@ func main() {
|
||||
|
||||
configuration := NewDefaultConfiguration()
|
||||
apiClient := NewAPIClient(configuration)
|
||||
resp, r, err := apiClient..IdentityHistoryAPI.CompareIdentitySnapshots(context.Background(), id).XSailPointExperimental(xSailPointExperimental).Snapshot1(snapshot1).Snapshot2(snapshot2).AccessItemTypes(accessItemTypes).Limit(limit).Offset(offset).Count(count).Execute()
|
||||
resp, r, err := apiClient.V2025.IdentityHistoryAPI.CompareIdentitySnapshots(context.Background(), id).XSailPointExperimental(xSailPointExperimental).Snapshot1(snapshot1).Snapshot2(snapshot2).AccessItemTypes(accessItemTypes).Limit(limit).Offset(offset).Count(count).Execute()
|
||||
if err != nil {
|
||||
fmt.Fprintf(os.Stderr, "Error when calling `IdentityHistoryAPI.CompareIdentitySnapshots``: %v\n", err)
|
||||
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
|
||||
@@ -130,7 +130,7 @@ This API is currently in an experimental state. The API is subject to change bas
|
||||
Gets a list of differences of specific accessType for the given identity between 2 snapshots
|
||||
This method gets a list of differences of specific accessType for the given identity between 2 snapshots Requires authorization scope of 'idn:identity-history:read'
|
||||
|
||||
[API Spec](https://developer.sailpoint.com/docs/api//compare-identity-snapshots-access-type)
|
||||
[API Spec](https://developer.sailpoint.com/docs/api/v2025/compare-identity-snapshots-access-type)
|
||||
|
||||
### Path Parameters
|
||||
|
||||
@@ -176,7 +176,7 @@ import (
|
||||
"context"
|
||||
"fmt"
|
||||
"os"
|
||||
""
|
||||
v2025 "github.com/sailpoint-oss/golang-sdk/v2/api_v2025"
|
||||
openapiclient "github.com/sailpoint-oss/golang-sdk/v2"
|
||||
)
|
||||
|
||||
@@ -193,7 +193,7 @@ func main() {
|
||||
|
||||
configuration := NewDefaultConfiguration()
|
||||
apiClient := NewAPIClient(configuration)
|
||||
resp, r, err := apiClient..IdentityHistoryAPI.CompareIdentitySnapshotsAccessType(context.Background(), id, accessType).XSailPointExperimental(xSailPointExperimental).AccessAssociated(accessAssociated).Snapshot1(snapshot1).Snapshot2(snapshot2).Limit(limit).Offset(offset).Count(count).Execute()
|
||||
resp, r, err := apiClient.V2025.IdentityHistoryAPI.CompareIdentitySnapshotsAccessType(context.Background(), id, accessType).XSailPointExperimental(xSailPointExperimental).AccessAssociated(accessAssociated).Snapshot1(snapshot1).Snapshot2(snapshot2).Limit(limit).Offset(offset).Count(count).Execute()
|
||||
if err != nil {
|
||||
fmt.Fprintf(os.Stderr, "Error when calling `IdentityHistoryAPI.CompareIdentitySnapshotsAccessType``: %v\n", err)
|
||||
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
|
||||
@@ -220,7 +220,7 @@ This API is currently in an experimental state. The API is subject to change bas
|
||||
Get latest snapshot of identity
|
||||
This method retrieves a specified identity Requires authorization scope of 'idn:identity-history:read'
|
||||
|
||||
[API Spec](https://developer.sailpoint.com/docs/api//get-historical-identity)
|
||||
[API Spec](https://developer.sailpoint.com/docs/api/v2025/get-historical-identity)
|
||||
|
||||
### Path Parameters
|
||||
|
||||
@@ -258,7 +258,7 @@ import (
|
||||
"context"
|
||||
"fmt"
|
||||
"os"
|
||||
""
|
||||
v2025 "github.com/sailpoint-oss/golang-sdk/v2/api_v2025"
|
||||
openapiclient "github.com/sailpoint-oss/golang-sdk/v2"
|
||||
)
|
||||
|
||||
@@ -268,7 +268,7 @@ func main() {
|
||||
|
||||
configuration := NewDefaultConfiguration()
|
||||
apiClient := NewAPIClient(configuration)
|
||||
resp, r, err := apiClient..IdentityHistoryAPI.GetHistoricalIdentity(context.Background(), id).XSailPointExperimental(xSailPointExperimental).Execute()
|
||||
resp, r, err := apiClient.V2025.IdentityHistoryAPI.GetHistoricalIdentity(context.Background(), id).XSailPointExperimental(xSailPointExperimental).Execute()
|
||||
if err != nil {
|
||||
fmt.Fprintf(os.Stderr, "Error when calling `IdentityHistoryAPI.GetHistoricalIdentity``: %v\n", err)
|
||||
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
|
||||
@@ -295,7 +295,7 @@ This API is currently in an experimental state. The API is subject to change bas
|
||||
Lists all events for the given identity
|
||||
This method retrieves all access events for the identity Requires authorization scope of 'idn:identity-history:read'
|
||||
|
||||
[API Spec](https://developer.sailpoint.com/docs/api//get-historical-identity-events)
|
||||
[API Spec](https://developer.sailpoint.com/docs/api/v2025/get-historical-identity-events)
|
||||
|
||||
### Path Parameters
|
||||
|
||||
@@ -339,7 +339,7 @@ import (
|
||||
"context"
|
||||
"fmt"
|
||||
"os"
|
||||
""
|
||||
v2025 "github.com/sailpoint-oss/golang-sdk/v2/api_v2025"
|
||||
openapiclient "github.com/sailpoint-oss/golang-sdk/v2"
|
||||
)
|
||||
|
||||
@@ -355,7 +355,7 @@ func main() {
|
||||
|
||||
configuration := NewDefaultConfiguration()
|
||||
apiClient := NewAPIClient(configuration)
|
||||
resp, r, err := apiClient..IdentityHistoryAPI.GetHistoricalIdentityEvents(context.Background(), id).XSailPointExperimental(xSailPointExperimental).From(from).EventTypes(eventTypes).AccessItemTypes(accessItemTypes).Limit(limit).Offset(offset).Count(count).Execute()
|
||||
resp, r, err := apiClient.V2025.IdentityHistoryAPI.GetHistoricalIdentityEvents(context.Background(), id).XSailPointExperimental(xSailPointExperimental).From(from).EventTypes(eventTypes).AccessItemTypes(accessItemTypes).Limit(limit).Offset(offset).Count(count).Execute()
|
||||
if err != nil {
|
||||
fmt.Fprintf(os.Stderr, "Error when calling `IdentityHistoryAPI.GetHistoricalIdentityEvents``: %v\n", err)
|
||||
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
|
||||
@@ -382,7 +382,7 @@ This API is currently in an experimental state. The API is subject to change bas
|
||||
Gets an identity snapshot at a given date
|
||||
This method retrieves a specified identity snapshot at a given date Requires authorization scope of 'idn:identity-history:read'
|
||||
|
||||
[API Spec](https://developer.sailpoint.com/docs/api//get-identity-snapshot)
|
||||
[API Spec](https://developer.sailpoint.com/docs/api/v2025/get-identity-snapshot)
|
||||
|
||||
### Path Parameters
|
||||
|
||||
@@ -422,7 +422,7 @@ import (
|
||||
"context"
|
||||
"fmt"
|
||||
"os"
|
||||
""
|
||||
v2025 "github.com/sailpoint-oss/golang-sdk/v2/api_v2025"
|
||||
openapiclient "github.com/sailpoint-oss/golang-sdk/v2"
|
||||
)
|
||||
|
||||
@@ -433,7 +433,7 @@ func main() {
|
||||
|
||||
configuration := NewDefaultConfiguration()
|
||||
apiClient := NewAPIClient(configuration)
|
||||
resp, r, err := apiClient..IdentityHistoryAPI.GetIdentitySnapshot(context.Background(), id, date).XSailPointExperimental(xSailPointExperimental).Execute()
|
||||
resp, r, err := apiClient.V2025.IdentityHistoryAPI.GetIdentitySnapshot(context.Background(), id, date).XSailPointExperimental(xSailPointExperimental).Execute()
|
||||
if err != nil {
|
||||
fmt.Fprintf(os.Stderr, "Error when calling `IdentityHistoryAPI.GetIdentitySnapshot``: %v\n", err)
|
||||
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
|
||||
@@ -460,7 +460,7 @@ This API is currently in an experimental state. The API is subject to change bas
|
||||
Gets the summary for the event count for a specific identity
|
||||
This method gets the summary for the event count for a specific identity by month/day Requires authorization scope of 'idn:identity-history:read'
|
||||
|
||||
[API Spec](https://developer.sailpoint.com/docs/api//get-identity-snapshot-summary)
|
||||
[API Spec](https://developer.sailpoint.com/docs/api/v2025/get-identity-snapshot-summary)
|
||||
|
||||
### Path Parameters
|
||||
|
||||
@@ -504,7 +504,7 @@ import (
|
||||
"context"
|
||||
"fmt"
|
||||
"os"
|
||||
""
|
||||
v2025 "github.com/sailpoint-oss/golang-sdk/v2/api_v2025"
|
||||
openapiclient "github.com/sailpoint-oss/golang-sdk/v2"
|
||||
)
|
||||
|
||||
@@ -520,7 +520,7 @@ func main() {
|
||||
|
||||
configuration := NewDefaultConfiguration()
|
||||
apiClient := NewAPIClient(configuration)
|
||||
resp, r, err := apiClient..IdentityHistoryAPI.GetIdentitySnapshotSummary(context.Background(), id).XSailPointExperimental(xSailPointExperimental).Before(before).Interval(interval).TimeZone(timeZone).Limit(limit).Offset(offset).Count(count).Execute()
|
||||
resp, r, err := apiClient.V2025.IdentityHistoryAPI.GetIdentitySnapshotSummary(context.Background(), id).XSailPointExperimental(xSailPointExperimental).Before(before).Interval(interval).TimeZone(timeZone).Limit(limit).Offset(offset).Count(count).Execute()
|
||||
if err != nil {
|
||||
fmt.Fprintf(os.Stderr, "Error when calling `IdentityHistoryAPI.GetIdentitySnapshotSummary``: %v\n", err)
|
||||
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
|
||||
@@ -547,7 +547,7 @@ This API is currently in an experimental state. The API is subject to change bas
|
||||
Gets the start date of the identity
|
||||
This method retrieves start date of the identity Requires authorization scope of 'idn:identity-history:read'
|
||||
|
||||
[API Spec](https://developer.sailpoint.com/docs/api//get-identity-start-date)
|
||||
[API Spec](https://developer.sailpoint.com/docs/api/v2025/get-identity-start-date)
|
||||
|
||||
### Path Parameters
|
||||
|
||||
@@ -585,7 +585,7 @@ import (
|
||||
"context"
|
||||
"fmt"
|
||||
"os"
|
||||
""
|
||||
v2025 "github.com/sailpoint-oss/golang-sdk/v2/api_v2025"
|
||||
openapiclient "github.com/sailpoint-oss/golang-sdk/v2"
|
||||
)
|
||||
|
||||
@@ -595,7 +595,7 @@ func main() {
|
||||
|
||||
configuration := NewDefaultConfiguration()
|
||||
apiClient := NewAPIClient(configuration)
|
||||
resp, r, err := apiClient..IdentityHistoryAPI.GetIdentityStartDate(context.Background(), id).XSailPointExperimental(xSailPointExperimental).Execute()
|
||||
resp, r, err := apiClient.V2025.IdentityHistoryAPI.GetIdentityStartDate(context.Background(), id).XSailPointExperimental(xSailPointExperimental).Execute()
|
||||
if err != nil {
|
||||
fmt.Fprintf(os.Stderr, "Error when calling `IdentityHistoryAPI.GetIdentityStartDate``: %v\n", err)
|
||||
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
|
||||
@@ -622,7 +622,7 @@ This API is currently in an experimental state. The API is subject to change bas
|
||||
Lists all the identities
|
||||
This gets the list of identities for the customer. This list end point does not support count=true request param. The total count of identities would never be returned even if the count param is specified in the request Requires authorization scope of 'idn:identity-history:read'
|
||||
|
||||
[API Spec](https://developer.sailpoint.com/docs/api//list-historical-identities)
|
||||
[API Spec](https://developer.sailpoint.com/docs/api/v2025/list-historical-identities)
|
||||
|
||||
### Path Parameters
|
||||
|
||||
@@ -660,7 +660,7 @@ import (
|
||||
"context"
|
||||
"fmt"
|
||||
"os"
|
||||
""
|
||||
v2025 "github.com/sailpoint-oss/golang-sdk/v2/api_v2025"
|
||||
openapiclient "github.com/sailpoint-oss/golang-sdk/v2"
|
||||
)
|
||||
|
||||
@@ -674,7 +674,7 @@ func main() {
|
||||
|
||||
configuration := NewDefaultConfiguration()
|
||||
apiClient := NewAPIClient(configuration)
|
||||
resp, r, err := apiClient..IdentityHistoryAPI.ListHistoricalIdentities(context.Background()).XSailPointExperimental(xSailPointExperimental).StartsWithQuery(startsWithQuery).IsDeleted(isDeleted).IsActive(isActive).Limit(limit).Offset(offset).Execute()
|
||||
resp, r, err := apiClient.V2025.IdentityHistoryAPI.ListHistoricalIdentities(context.Background()).XSailPointExperimental(xSailPointExperimental).StartsWithQuery(startsWithQuery).IsDeleted(isDeleted).IsActive(isActive).Limit(limit).Offset(offset).Execute()
|
||||
if err != nil {
|
||||
fmt.Fprintf(os.Stderr, "Error when calling `IdentityHistoryAPI.ListHistoricalIdentities``: %v\n", err)
|
||||
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
|
||||
@@ -702,7 +702,7 @@ List Access Items by Identity
|
||||
This method retrieves a list of access item for the identity filtered by the access item type
|
||||
|
||||
|
||||
[API Spec](https://developer.sailpoint.com/docs/api//list-identity-access-items)
|
||||
[API Spec](https://developer.sailpoint.com/docs/api/v2025/list-identity-access-items)
|
||||
|
||||
### Path Parameters
|
||||
|
||||
@@ -744,7 +744,7 @@ import (
|
||||
"context"
|
||||
"fmt"
|
||||
"os"
|
||||
""
|
||||
v2025 "github.com/sailpoint-oss/golang-sdk/v2/api_v2025"
|
||||
openapiclient "github.com/sailpoint-oss/golang-sdk/v2"
|
||||
)
|
||||
|
||||
@@ -758,7 +758,7 @@ func main() {
|
||||
|
||||
configuration := NewDefaultConfiguration()
|
||||
apiClient := NewAPIClient(configuration)
|
||||
resp, r, err := apiClient..IdentityHistoryAPI.ListIdentityAccessItems(context.Background(), id).XSailPointExperimental(xSailPointExperimental).Type_(type_).Limit(limit).Count(count).Offset(offset).Execute()
|
||||
resp, r, err := apiClient.V2025.IdentityHistoryAPI.ListIdentityAccessItems(context.Background(), id).XSailPointExperimental(xSailPointExperimental).Type_(type_).Limit(limit).Count(count).Offset(offset).Execute()
|
||||
if err != nil {
|
||||
fmt.Fprintf(os.Stderr, "Error when calling `IdentityHistoryAPI.ListIdentityAccessItems``: %v\n", err)
|
||||
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
|
||||
@@ -785,7 +785,7 @@ This API is currently in an experimental state. The API is subject to change bas
|
||||
Gets the list of identity access items at a given date filterd by item type
|
||||
This method retrieves the list of identity access items at a given date filterd by item type Requires authorization scope of 'idn:identity-history:read'
|
||||
|
||||
[API Spec](https://developer.sailpoint.com/docs/api//list-identity-snapshot-access-items)
|
||||
[API Spec](https://developer.sailpoint.com/docs/api/v2025/list-identity-snapshot-access-items)
|
||||
|
||||
### Path Parameters
|
||||
|
||||
@@ -826,7 +826,7 @@ import (
|
||||
"context"
|
||||
"fmt"
|
||||
"os"
|
||||
""
|
||||
v2025 "github.com/sailpoint-oss/golang-sdk/v2/api_v2025"
|
||||
openapiclient "github.com/sailpoint-oss/golang-sdk/v2"
|
||||
)
|
||||
|
||||
@@ -838,7 +838,7 @@ func main() {
|
||||
|
||||
configuration := NewDefaultConfiguration()
|
||||
apiClient := NewAPIClient(configuration)
|
||||
resp, r, err := apiClient..IdentityHistoryAPI.ListIdentitySnapshotAccessItems(context.Background(), id, date).XSailPointExperimental(xSailPointExperimental).Type_(type_).Execute()
|
||||
resp, r, err := apiClient.V2025.IdentityHistoryAPI.ListIdentitySnapshotAccessItems(context.Background(), id, date).XSailPointExperimental(xSailPointExperimental).Type_(type_).Execute()
|
||||
if err != nil {
|
||||
fmt.Fprintf(os.Stderr, "Error when calling `IdentityHistoryAPI.ListIdentitySnapshotAccessItems``: %v\n", err)
|
||||
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
|
||||
@@ -865,7 +865,7 @@ This API is currently in an experimental state. The API is subject to change bas
|
||||
Lists all the snapshots for the identity
|
||||
This method retrieves all the snapshots for the identity Requires authorization scope of 'idn:identity-history:read'
|
||||
|
||||
[API Spec](https://developer.sailpoint.com/docs/api//list-identity-snapshots)
|
||||
[API Spec](https://developer.sailpoint.com/docs/api/v2025/list-identity-snapshots)
|
||||
|
||||
### Path Parameters
|
||||
|
||||
@@ -908,7 +908,7 @@ import (
|
||||
"context"
|
||||
"fmt"
|
||||
"os"
|
||||
""
|
||||
v2025 "github.com/sailpoint-oss/golang-sdk/v2/api_v2025"
|
||||
openapiclient "github.com/sailpoint-oss/golang-sdk/v2"
|
||||
)
|
||||
|
||||
@@ -923,7 +923,7 @@ func main() {
|
||||
|
||||
configuration := NewDefaultConfiguration()
|
||||
apiClient := NewAPIClient(configuration)
|
||||
resp, r, err := apiClient..IdentityHistoryAPI.ListIdentitySnapshots(context.Background(), id).XSailPointExperimental(xSailPointExperimental).Start(start).Interval(interval).Limit(limit).Offset(offset).Count(count).Execute()
|
||||
resp, r, err := apiClient.V2025.IdentityHistoryAPI.ListIdentitySnapshots(context.Background(), id).XSailPointExperimental(xSailPointExperimental).Start(start).Interval(interval).Limit(limit).Offset(offset).Count(count).Execute()
|
||||
if err != nil {
|
||||
fmt.Fprintf(os.Stderr, "Error when calling `IdentityHistoryAPI.ListIdentitySnapshots``: %v\n", err)
|
||||
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
|
||||
|
||||
@@ -1,12 +1,12 @@
|
||||
---
|
||||
id: identity-profiles
|
||||
id: v2025-identity-profiles
|
||||
title: IdentityProfiles
|
||||
pagination_label: IdentityProfiles
|
||||
sidebar_label: IdentityProfiles
|
||||
sidebar_class_name: gosdk
|
||||
keywords: ['go', 'Golang', 'sdk', 'IdentityProfiles', 'IdentityProfiles']
|
||||
slug: /tools/sdk/go//methods/identity-profiles
|
||||
tags: ['SDK', 'Software Development Kit', 'IdentityProfiles', 'IdentityProfiles']
|
||||
keywords: ['go', 'Golang', 'sdk', 'IdentityProfiles', 'V2025IdentityProfiles']
|
||||
slug: /tools/sdk/go/v2025/methods/identity-profiles
|
||||
tags: ['SDK', 'Software Development Kit', 'IdentityProfiles', 'V2025IdentityProfiles']
|
||||
---
|
||||
|
||||
# IdentityProfilesAPI
|
||||
@@ -42,7 +42,7 @@ Method | HTTP request | Description
|
||||
Create Identity Profile
|
||||
Creates an identity profile.
|
||||
|
||||
[API Spec](https://developer.sailpoint.com/docs/api//create-identity-profile)
|
||||
[API Spec](https://developer.sailpoint.com/docs/api/v2025/create-identity-profile)
|
||||
|
||||
### Path Parameters
|
||||
|
||||
@@ -75,7 +75,7 @@ import (
|
||||
"context"
|
||||
"fmt"
|
||||
"os"
|
||||
""
|
||||
v2025 "github.com/sailpoint-oss/golang-sdk/v2/api_v2025"
|
||||
openapiclient "github.com/sailpoint-oss/golang-sdk/v2"
|
||||
)
|
||||
|
||||
@@ -132,7 +132,7 @@ func main() {
|
||||
|
||||
configuration := NewDefaultConfiguration()
|
||||
apiClient := NewAPIClient(configuration)
|
||||
resp, r, err := apiClient..IdentityProfilesAPI.CreateIdentityProfile(context.Background()).IdentityProfile(identityProfile).Execute()
|
||||
resp, r, err := apiClient.V2025.IdentityProfilesAPI.CreateIdentityProfile(context.Background()).IdentityProfile(identityProfile).Execute()
|
||||
if err != nil {
|
||||
fmt.Fprintf(os.Stderr, "Error when calling `IdentityProfilesAPI.CreateIdentityProfile``: %v\n", err)
|
||||
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
|
||||
@@ -149,7 +149,7 @@ Delete Identity Profile
|
||||
Delete an identity profile by ID.
|
||||
On success, this endpoint will return a reference to the bulk delete task result.
|
||||
|
||||
[API Spec](https://developer.sailpoint.com/docs/api//delete-identity-profile)
|
||||
[API Spec](https://developer.sailpoint.com/docs/api/v2025/delete-identity-profile)
|
||||
|
||||
### Path Parameters
|
||||
|
||||
@@ -186,7 +186,7 @@ import (
|
||||
"context"
|
||||
"fmt"
|
||||
"os"
|
||||
""
|
||||
v2025 "github.com/sailpoint-oss/golang-sdk/v2/api_v2025"
|
||||
openapiclient "github.com/sailpoint-oss/golang-sdk/v2"
|
||||
)
|
||||
|
||||
@@ -195,7 +195,7 @@ func main() {
|
||||
|
||||
configuration := NewDefaultConfiguration()
|
||||
apiClient := NewAPIClient(configuration)
|
||||
resp, r, err := apiClient..IdentityProfilesAPI.DeleteIdentityProfile(context.Background(), identityProfileId).Execute()
|
||||
resp, r, err := apiClient.V2025.IdentityProfilesAPI.DeleteIdentityProfile(context.Background(), identityProfileId).Execute()
|
||||
if err != nil {
|
||||
fmt.Fprintf(os.Stderr, "Error when calling `IdentityProfilesAPI.DeleteIdentityProfile``: %v\n", err)
|
||||
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
|
||||
@@ -215,7 +215,7 @@ On success, this endpoint will return a reference to the bulk delete task result
|
||||
|
||||
The following rights are required to access this endpoint: idn:identity-profile:delete
|
||||
|
||||
[API Spec](https://developer.sailpoint.com/docs/api//delete-identity-profiles)
|
||||
[API Spec](https://developer.sailpoint.com/docs/api/v2025/delete-identity-profiles)
|
||||
|
||||
### Path Parameters
|
||||
|
||||
@@ -248,7 +248,7 @@ import (
|
||||
"context"
|
||||
"fmt"
|
||||
"os"
|
||||
""
|
||||
v2025 "github.com/sailpoint-oss/golang-sdk/v2/api_v2025"
|
||||
openapiclient "github.com/sailpoint-oss/golang-sdk/v2"
|
||||
)
|
||||
|
||||
@@ -257,7 +257,7 @@ func main() {
|
||||
|
||||
configuration := NewDefaultConfiguration()
|
||||
apiClient := NewAPIClient(configuration)
|
||||
resp, r, err := apiClient..IdentityProfilesAPI.DeleteIdentityProfiles(context.Background()).RequestBody(requestBody).Execute()
|
||||
resp, r, err := apiClient.V2025.IdentityProfilesAPI.DeleteIdentityProfiles(context.Background()).RequestBody(requestBody).Execute()
|
||||
if err != nil {
|
||||
fmt.Fprintf(os.Stderr, "Error when calling `IdentityProfilesAPI.DeleteIdentityProfiles``: %v\n", err)
|
||||
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
|
||||
@@ -273,7 +273,7 @@ func main() {
|
||||
Export Identity Profiles
|
||||
This exports existing identity profiles in the format specified by the sp-config service.
|
||||
|
||||
[API Spec](https://developer.sailpoint.com/docs/api//export-identity-profiles)
|
||||
[API Spec](https://developer.sailpoint.com/docs/api/v2025/export-identity-profiles)
|
||||
|
||||
### Path Parameters
|
||||
|
||||
@@ -310,7 +310,7 @@ import (
|
||||
"context"
|
||||
"fmt"
|
||||
"os"
|
||||
""
|
||||
v2025 "github.com/sailpoint-oss/golang-sdk/v2/api_v2025"
|
||||
openapiclient "github.com/sailpoint-oss/golang-sdk/v2"
|
||||
)
|
||||
|
||||
@@ -323,7 +323,7 @@ func main() {
|
||||
|
||||
configuration := NewDefaultConfiguration()
|
||||
apiClient := NewAPIClient(configuration)
|
||||
resp, r, err := apiClient..IdentityProfilesAPI.ExportIdentityProfiles(context.Background()).Limit(limit).Offset(offset).Count(count).Filters(filters).Sorters(sorters).Execute()
|
||||
resp, r, err := apiClient.V2025.IdentityProfilesAPI.ExportIdentityProfiles(context.Background()).Limit(limit).Offset(offset).Count(count).Filters(filters).Sorters(sorters).Execute()
|
||||
if err != nil {
|
||||
fmt.Fprintf(os.Stderr, "Error when calling `IdentityProfilesAPI.ExportIdentityProfiles``: %v\n", err)
|
||||
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
|
||||
@@ -350,7 +350,7 @@ This API is currently in an experimental state. The API is subject to change bas
|
||||
Generate Identity Profile Preview
|
||||
This generates a non-persisted IdentityDetails object that will represent as the preview of the identities attribute when the given policy''s attribute config is applied.
|
||||
|
||||
[API Spec](https://developer.sailpoint.com/docs/api//generate-identity-preview)
|
||||
[API Spec](https://developer.sailpoint.com/docs/api/v2025/generate-identity-preview)
|
||||
|
||||
### Path Parameters
|
||||
|
||||
@@ -384,7 +384,7 @@ import (
|
||||
"context"
|
||||
"fmt"
|
||||
"os"
|
||||
""
|
||||
v2025 "github.com/sailpoint-oss/golang-sdk/v2/api_v2025"
|
||||
openapiclient "github.com/sailpoint-oss/golang-sdk/v2"
|
||||
)
|
||||
|
||||
@@ -420,7 +420,7 @@ func main() {
|
||||
|
||||
configuration := NewDefaultConfiguration()
|
||||
apiClient := NewAPIClient(configuration)
|
||||
resp, r, err := apiClient..IdentityProfilesAPI.GenerateIdentityPreview(context.Background()).XSailPointExperimental(xSailPointExperimental).IdentityPreviewRequest(identityPreviewRequest).Execute()
|
||||
resp, r, err := apiClient.V2025.IdentityProfilesAPI.GenerateIdentityPreview(context.Background()).XSailPointExperimental(xSailPointExperimental).IdentityPreviewRequest(identityPreviewRequest).Execute()
|
||||
if err != nil {
|
||||
fmt.Fprintf(os.Stderr, "Error when calling `IdentityProfilesAPI.GenerateIdentityPreview``: %v\n", err)
|
||||
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
|
||||
@@ -436,7 +436,7 @@ func main() {
|
||||
Get default Identity Attribute Config
|
||||
This returns the default identity attribute config.
|
||||
|
||||
[API Spec](https://developer.sailpoint.com/docs/api//get-default-identity-attribute-config)
|
||||
[API Spec](https://developer.sailpoint.com/docs/api/v2025/get-default-identity-attribute-config)
|
||||
|
||||
### Path Parameters
|
||||
|
||||
@@ -473,7 +473,7 @@ import (
|
||||
"context"
|
||||
"fmt"
|
||||
"os"
|
||||
""
|
||||
v2025 "github.com/sailpoint-oss/golang-sdk/v2/api_v2025"
|
||||
openapiclient "github.com/sailpoint-oss/golang-sdk/v2"
|
||||
)
|
||||
|
||||
@@ -482,7 +482,7 @@ func main() {
|
||||
|
||||
configuration := NewDefaultConfiguration()
|
||||
apiClient := NewAPIClient(configuration)
|
||||
resp, r, err := apiClient..IdentityProfilesAPI.GetDefaultIdentityAttributeConfig(context.Background(), identityProfileId).Execute()
|
||||
resp, r, err := apiClient.V2025.IdentityProfilesAPI.GetDefaultIdentityAttributeConfig(context.Background(), identityProfileId).Execute()
|
||||
if err != nil {
|
||||
fmt.Fprintf(os.Stderr, "Error when calling `IdentityProfilesAPI.GetDefaultIdentityAttributeConfig``: %v\n", err)
|
||||
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
|
||||
@@ -498,7 +498,7 @@ func main() {
|
||||
Get Identity Profile
|
||||
Get a single identity profile by ID.
|
||||
|
||||
[API Spec](https://developer.sailpoint.com/docs/api//get-identity-profile)
|
||||
[API Spec](https://developer.sailpoint.com/docs/api/v2025/get-identity-profile)
|
||||
|
||||
### Path Parameters
|
||||
|
||||
@@ -535,7 +535,7 @@ import (
|
||||
"context"
|
||||
"fmt"
|
||||
"os"
|
||||
""
|
||||
v2025 "github.com/sailpoint-oss/golang-sdk/v2/api_v2025"
|
||||
openapiclient "github.com/sailpoint-oss/golang-sdk/v2"
|
||||
)
|
||||
|
||||
@@ -544,7 +544,7 @@ func main() {
|
||||
|
||||
configuration := NewDefaultConfiguration()
|
||||
apiClient := NewAPIClient(configuration)
|
||||
resp, r, err := apiClient..IdentityProfilesAPI.GetIdentityProfile(context.Background(), identityProfileId).Execute()
|
||||
resp, r, err := apiClient.V2025.IdentityProfilesAPI.GetIdentityProfile(context.Background(), identityProfileId).Execute()
|
||||
if err != nil {
|
||||
fmt.Fprintf(os.Stderr, "Error when calling `IdentityProfilesAPI.GetIdentityProfile``: %v\n", err)
|
||||
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
|
||||
@@ -560,7 +560,7 @@ func main() {
|
||||
Import Identity Profiles
|
||||
This imports previously exported identity profiles.
|
||||
|
||||
[API Spec](https://developer.sailpoint.com/docs/api//import-identity-profiles)
|
||||
[API Spec](https://developer.sailpoint.com/docs/api/v2025/import-identity-profiles)
|
||||
|
||||
### Path Parameters
|
||||
|
||||
@@ -593,7 +593,7 @@ import (
|
||||
"context"
|
||||
"fmt"
|
||||
"os"
|
||||
""
|
||||
v2025 "github.com/sailpoint-oss/golang-sdk/v2/api_v2025"
|
||||
openapiclient "github.com/sailpoint-oss/golang-sdk/v2"
|
||||
)
|
||||
|
||||
@@ -602,7 +602,7 @@ func main() {
|
||||
|
||||
configuration := NewDefaultConfiguration()
|
||||
apiClient := NewAPIClient(configuration)
|
||||
resp, r, err := apiClient..IdentityProfilesAPI.ImportIdentityProfiles(context.Background()).IdentityProfileExportedObject(identityProfileExportedObject).Execute()
|
||||
resp, r, err := apiClient.V2025.IdentityProfilesAPI.ImportIdentityProfiles(context.Background()).IdentityProfileExportedObject(identityProfileExportedObject).Execute()
|
||||
if err != nil {
|
||||
fmt.Fprintf(os.Stderr, "Error when calling `IdentityProfilesAPI.ImportIdentityProfiles``: %v\n", err)
|
||||
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
|
||||
@@ -618,7 +618,7 @@ func main() {
|
||||
List Identity Profiles
|
||||
Get a list of identity profiles, based on the specified query parameters.
|
||||
|
||||
[API Spec](https://developer.sailpoint.com/docs/api//list-identity-profiles)
|
||||
[API Spec](https://developer.sailpoint.com/docs/api/v2025/list-identity-profiles)
|
||||
|
||||
### Path Parameters
|
||||
|
||||
@@ -655,7 +655,7 @@ import (
|
||||
"context"
|
||||
"fmt"
|
||||
"os"
|
||||
""
|
||||
v2025 "github.com/sailpoint-oss/golang-sdk/v2/api_v2025"
|
||||
openapiclient "github.com/sailpoint-oss/golang-sdk/v2"
|
||||
)
|
||||
|
||||
@@ -668,7 +668,7 @@ func main() {
|
||||
|
||||
configuration := NewDefaultConfiguration()
|
||||
apiClient := NewAPIClient(configuration)
|
||||
resp, r, err := apiClient..IdentityProfilesAPI.ListIdentityProfiles(context.Background()).Limit(limit).Offset(offset).Count(count).Filters(filters).Sorters(sorters).Execute()
|
||||
resp, r, err := apiClient.V2025.IdentityProfilesAPI.ListIdentityProfiles(context.Background()).Limit(limit).Offset(offset).Count(count).Filters(filters).Sorters(sorters).Execute()
|
||||
if err != nil {
|
||||
fmt.Fprintf(os.Stderr, "Error when calling `IdentityProfilesAPI.ListIdentityProfiles``: %v\n", err)
|
||||
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
|
||||
@@ -688,7 +688,7 @@ This should only be run on identity profiles that have the `identityRefreshRequi
|
||||
This operation will perform the following activities on all identities under the identity profile.
|
||||
1. Updates identity attribute according to the identity profile mappings. 2. Determines the identity's correct manager through manager correlation. 3. Updates the identity's access according to their assigned lifecycle state. 4. Updates the identity's access based on role assignment criteria.
|
||||
|
||||
[API Spec](https://developer.sailpoint.com/docs/api//sync-identity-profile)
|
||||
[API Spec](https://developer.sailpoint.com/docs/api/v2025/sync-identity-profile)
|
||||
|
||||
### Path Parameters
|
||||
|
||||
@@ -725,7 +725,7 @@ import (
|
||||
"context"
|
||||
"fmt"
|
||||
"os"
|
||||
""
|
||||
v2025 "github.com/sailpoint-oss/golang-sdk/v2/api_v2025"
|
||||
openapiclient "github.com/sailpoint-oss/golang-sdk/v2"
|
||||
)
|
||||
|
||||
@@ -734,7 +734,7 @@ func main() {
|
||||
|
||||
configuration := NewDefaultConfiguration()
|
||||
apiClient := NewAPIClient(configuration)
|
||||
resp, r, err := apiClient..IdentityProfilesAPI.SyncIdentityProfile(context.Background(), identityProfileId).Execute()
|
||||
resp, r, err := apiClient.V2025.IdentityProfilesAPI.SyncIdentityProfile(context.Background(), identityProfileId).Execute()
|
||||
if err != nil {
|
||||
fmt.Fprintf(os.Stderr, "Error when calling `IdentityProfilesAPI.SyncIdentityProfile``: %v\n", err)
|
||||
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
|
||||
@@ -758,7 +758,7 @@ You cannot update these fields:
|
||||
* identityRefreshRequired
|
||||
* Authoritative Source and Identity Attribute Configuration cannot be modified at the same time.
|
||||
|
||||
[API Spec](https://developer.sailpoint.com/docs/api//update-identity-profile)
|
||||
[API Spec](https://developer.sailpoint.com/docs/api/v2025/update-identity-profile)
|
||||
|
||||
### Path Parameters
|
||||
|
||||
@@ -796,7 +796,7 @@ import (
|
||||
"context"
|
||||
"fmt"
|
||||
"os"
|
||||
""
|
||||
v2025 "github.com/sailpoint-oss/golang-sdk/v2/api_v2025"
|
||||
openapiclient "github.com/sailpoint-oss/golang-sdk/v2"
|
||||
)
|
||||
|
||||
@@ -806,7 +806,7 @@ func main() {
|
||||
|
||||
configuration := NewDefaultConfiguration()
|
||||
apiClient := NewAPIClient(configuration)
|
||||
resp, r, err := apiClient..IdentityProfilesAPI.UpdateIdentityProfile(context.Background(), identityProfileId).JsonPatchOperation(jsonPatchOperation).Execute()
|
||||
resp, r, err := apiClient.V2025.IdentityProfilesAPI.UpdateIdentityProfile(context.Background(), identityProfileId).JsonPatchOperation(jsonPatchOperation).Execute()
|
||||
if err != nil {
|
||||
fmt.Fprintf(os.Stderr, "Error when calling `IdentityProfilesAPI.UpdateIdentityProfile``: %v\n", err)
|
||||
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
|
||||
|
||||
29
docs/tools/sdk/go/Reference/V2025/Methods/Index.md
Normal file
29
docs/tools/sdk/go/Reference/V2025/Methods/Index.md
Normal file
@@ -0,0 +1,29 @@
|
||||
---
|
||||
id: methods
|
||||
title: Methods
|
||||
pagination_label: Methods
|
||||
sidebar_label: Methods
|
||||
sidebar_position: 3
|
||||
sidebar_class_name: methods
|
||||
keywords: ['go', 'Golang', 'sdk', 'methods']
|
||||
slug: /tools/sdk/go/v2025/methods
|
||||
tags: ['SDK', 'Software Development Kit', 'v2025', 'methods']
|
||||
---
|
||||
|
||||
Method documents provide detailed information about each API operation (or method). They describe what the method does and details its input parameters, expected return values, and any considerations to be aware of when using it.
|
||||
## Key Features
|
||||
- Purpose & Overview: Explains the purpose of the method and its role in the API.
|
||||
- Parameters: Describe the required input parameters, including their data types.
|
||||
- Response Format: Details the expected return format or structure.
|
||||
- Error Scenarios: Outline potential errors or issues that may arise during method execution.
|
||||
- Example: Provides a sample of how the API uses the method.
|
||||
|
||||
## Available Methods
|
||||
This is a list of the core methods available in the Python SDK for **V2025** endpoints:
|
||||
|
||||
```mdx-code-block
|
||||
import DocCardList from '@theme/DocCardList';
|
||||
import {useCurrentSidebarCategory} from '@docusaurus/theme-common';
|
||||
|
||||
<DocCardList items={useCurrentSidebarCategory().items}/>
|
||||
```
|
||||
@@ -1,12 +1,12 @@
|
||||
---
|
||||
id: lifecycle-states
|
||||
id: v2025-lifecycle-states
|
||||
title: LifecycleStates
|
||||
pagination_label: LifecycleStates
|
||||
sidebar_label: LifecycleStates
|
||||
sidebar_class_name: gosdk
|
||||
keywords: ['go', 'Golang', 'sdk', 'LifecycleStates', 'LifecycleStates']
|
||||
slug: /tools/sdk/go//methods/lifecycle-states
|
||||
tags: ['SDK', 'Software Development Kit', 'LifecycleStates', 'LifecycleStates']
|
||||
keywords: ['go', 'Golang', 'sdk', 'LifecycleStates', 'V2025LifecycleStates']
|
||||
slug: /tools/sdk/go/v2025/methods/lifecycle-states
|
||||
tags: ['SDK', 'Software Development Kit', 'LifecycleStates', 'V2025LifecycleStates']
|
||||
---
|
||||
|
||||
# LifecycleStatesAPI
|
||||
@@ -65,7 +65,7 @@ Method | HTTP request | Description
|
||||
Create Lifecycle State
|
||||
Use this endpoint to create a lifecycle state.
|
||||
|
||||
[API Spec](https://developer.sailpoint.com/docs/api//create-lifecycle-state)
|
||||
[API Spec](https://developer.sailpoint.com/docs/api/v2025/create-lifecycle-state)
|
||||
|
||||
### Path Parameters
|
||||
|
||||
@@ -103,7 +103,7 @@ import (
|
||||
"context"
|
||||
"fmt"
|
||||
"os"
|
||||
""
|
||||
v2025 "github.com/sailpoint-oss/golang-sdk/v2/api_v2025"
|
||||
openapiclient "github.com/sailpoint-oss/golang-sdk/v2"
|
||||
)
|
||||
|
||||
@@ -137,7 +137,7 @@ func main() {
|
||||
|
||||
configuration := NewDefaultConfiguration()
|
||||
apiClient := NewAPIClient(configuration)
|
||||
resp, r, err := apiClient..LifecycleStatesAPI.CreateLifecycleState(context.Background(), identityProfileId).LifecycleState(lifecycleState).Execute()
|
||||
resp, r, err := apiClient.V2025.LifecycleStatesAPI.CreateLifecycleState(context.Background(), identityProfileId).LifecycleState(lifecycleState).Execute()
|
||||
if err != nil {
|
||||
fmt.Fprintf(os.Stderr, "Error when calling `LifecycleStatesAPI.CreateLifecycleState``: %v\n", err)
|
||||
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
|
||||
@@ -153,7 +153,7 @@ func main() {
|
||||
Delete Lifecycle State
|
||||
Use this endpoint to delete the lifecycle state by its ID.
|
||||
|
||||
[API Spec](https://developer.sailpoint.com/docs/api//delete-lifecycle-state)
|
||||
[API Spec](https://developer.sailpoint.com/docs/api/v2025/delete-lifecycle-state)
|
||||
|
||||
### Path Parameters
|
||||
|
||||
@@ -192,7 +192,7 @@ import (
|
||||
"context"
|
||||
"fmt"
|
||||
"os"
|
||||
""
|
||||
v2025 "github.com/sailpoint-oss/golang-sdk/v2/api_v2025"
|
||||
openapiclient "github.com/sailpoint-oss/golang-sdk/v2"
|
||||
)
|
||||
|
||||
@@ -202,7 +202,7 @@ func main() {
|
||||
|
||||
configuration := NewDefaultConfiguration()
|
||||
apiClient := NewAPIClient(configuration)
|
||||
resp, r, err := apiClient..LifecycleStatesAPI.DeleteLifecycleState(context.Background(), identityProfileId, lifecycleStateId).Execute()
|
||||
resp, r, err := apiClient.V2025.LifecycleStatesAPI.DeleteLifecycleState(context.Background(), identityProfileId, lifecycleStateId).Execute()
|
||||
if err != nil {
|
||||
fmt.Fprintf(os.Stderr, "Error when calling `LifecycleStatesAPI.DeleteLifecycleState``: %v\n", err)
|
||||
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
|
||||
@@ -218,7 +218,7 @@ func main() {
|
||||
Get Lifecycle State
|
||||
Use this endpoint to get a lifecycle state by its ID and its associated identity profile ID.
|
||||
|
||||
[API Spec](https://developer.sailpoint.com/docs/api//get-lifecycle-state)
|
||||
[API Spec](https://developer.sailpoint.com/docs/api/v2025/get-lifecycle-state)
|
||||
|
||||
### Path Parameters
|
||||
|
||||
@@ -257,7 +257,7 @@ import (
|
||||
"context"
|
||||
"fmt"
|
||||
"os"
|
||||
""
|
||||
v2025 "github.com/sailpoint-oss/golang-sdk/v2/api_v2025"
|
||||
openapiclient "github.com/sailpoint-oss/golang-sdk/v2"
|
||||
)
|
||||
|
||||
@@ -267,7 +267,7 @@ func main() {
|
||||
|
||||
configuration := NewDefaultConfiguration()
|
||||
apiClient := NewAPIClient(configuration)
|
||||
resp, r, err := apiClient..LifecycleStatesAPI.GetLifecycleState(context.Background(), identityProfileId, lifecycleStateId).Execute()
|
||||
resp, r, err := apiClient.V2025.LifecycleStatesAPI.GetLifecycleState(context.Background(), identityProfileId, lifecycleStateId).Execute()
|
||||
if err != nil {
|
||||
fmt.Fprintf(os.Stderr, "Error when calling `LifecycleStatesAPI.GetLifecycleState``: %v\n", err)
|
||||
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
|
||||
@@ -283,7 +283,7 @@ func main() {
|
||||
Lists LifecycleStates
|
||||
Use this endpoint to list all lifecycle states by their associated identity profiles.
|
||||
|
||||
[API Spec](https://developer.sailpoint.com/docs/api//get-lifecycle-states)
|
||||
[API Spec](https://developer.sailpoint.com/docs/api/v2025/get-lifecycle-states)
|
||||
|
||||
### Path Parameters
|
||||
|
||||
@@ -324,7 +324,7 @@ import (
|
||||
"context"
|
||||
"fmt"
|
||||
"os"
|
||||
""
|
||||
v2025 "github.com/sailpoint-oss/golang-sdk/v2/api_v2025"
|
||||
openapiclient "github.com/sailpoint-oss/golang-sdk/v2"
|
||||
)
|
||||
|
||||
@@ -337,7 +337,7 @@ func main() {
|
||||
|
||||
configuration := NewDefaultConfiguration()
|
||||
apiClient := NewAPIClient(configuration)
|
||||
resp, r, err := apiClient..LifecycleStatesAPI.GetLifecycleStates(context.Background(), identityProfileId).Limit(limit).Offset(offset).Count(count).Sorters(sorters).Execute()
|
||||
resp, r, err := apiClient.V2025.LifecycleStatesAPI.GetLifecycleStates(context.Background(), identityProfileId).Limit(limit).Offset(offset).Count(count).Sorters(sorters).Execute()
|
||||
if err != nil {
|
||||
fmt.Fprintf(os.Stderr, "Error when calling `LifecycleStatesAPI.GetLifecycleStates``: %v\n", err)
|
||||
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
|
||||
@@ -353,7 +353,7 @@ func main() {
|
||||
Set Lifecycle State
|
||||
Use this API to set/update an identity's lifecycle state to the one provided and update the corresponding identity profile.
|
||||
|
||||
[API Spec](https://developer.sailpoint.com/docs/api//set-lifecycle-state)
|
||||
[API Spec](https://developer.sailpoint.com/docs/api/v2025/set-lifecycle-state)
|
||||
|
||||
### Path Parameters
|
||||
|
||||
@@ -391,7 +391,7 @@ import (
|
||||
"context"
|
||||
"fmt"
|
||||
"os"
|
||||
""
|
||||
v2025 "github.com/sailpoint-oss/golang-sdk/v2/api_v2025"
|
||||
openapiclient "github.com/sailpoint-oss/golang-sdk/v2"
|
||||
)
|
||||
|
||||
@@ -401,7 +401,7 @@ func main() {
|
||||
|
||||
configuration := NewDefaultConfiguration()
|
||||
apiClient := NewAPIClient(configuration)
|
||||
resp, r, err := apiClient..LifecycleStatesAPI.SetLifecycleState(context.Background(), identityId).SetLifecycleStateRequest(setLifecycleStateRequest).Execute()
|
||||
resp, r, err := apiClient.V2025.LifecycleStatesAPI.SetLifecycleState(context.Background(), identityId).SetLifecycleStateRequest(setLifecycleStateRequest).Execute()
|
||||
if err != nil {
|
||||
fmt.Fprintf(os.Stderr, "Error when calling `LifecycleStatesAPI.SetLifecycleState``: %v\n", err)
|
||||
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
|
||||
@@ -417,7 +417,7 @@ func main() {
|
||||
Update Lifecycle State
|
||||
Use this endpoint to update individual lifecycle state fields, using the [JSON Patch](https://tools.ietf.org/html/rfc6902) standard.
|
||||
|
||||
[API Spec](https://developer.sailpoint.com/docs/api//update-lifecycle-states)
|
||||
[API Spec](https://developer.sailpoint.com/docs/api/v2025/update-lifecycle-states)
|
||||
|
||||
### Path Parameters
|
||||
|
||||
@@ -457,7 +457,7 @@ import (
|
||||
"context"
|
||||
"fmt"
|
||||
"os"
|
||||
""
|
||||
v2025 "github.com/sailpoint-oss/golang-sdk/v2/api_v2025"
|
||||
openapiclient "github.com/sailpoint-oss/golang-sdk/v2"
|
||||
)
|
||||
|
||||
@@ -468,7 +468,7 @@ func main() {
|
||||
|
||||
configuration := NewDefaultConfiguration()
|
||||
apiClient := NewAPIClient(configuration)
|
||||
resp, r, err := apiClient..LifecycleStatesAPI.UpdateLifecycleStates(context.Background(), identityProfileId, lifecycleStateId).JsonPatchOperation(jsonPatchOperation).Execute()
|
||||
resp, r, err := apiClient.V2025.LifecycleStatesAPI.UpdateLifecycleStates(context.Background(), identityProfileId, lifecycleStateId).JsonPatchOperation(jsonPatchOperation).Execute()
|
||||
if err != nil {
|
||||
fmt.Fprintf(os.Stderr, "Error when calling `LifecycleStatesAPI.UpdateLifecycleStates``: %v\n", err)
|
||||
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
|
||||
|
||||
@@ -1,12 +1,12 @@
|
||||
---
|
||||
id: mfa-configuration
|
||||
id: v2025-mfa-configuration
|
||||
title: MFAConfiguration
|
||||
pagination_label: MFAConfiguration
|
||||
sidebar_label: MFAConfiguration
|
||||
sidebar_class_name: gosdk
|
||||
keywords: ['go', 'Golang', 'sdk', 'MFAConfiguration', 'MFAConfiguration']
|
||||
slug: /tools/sdk/go//methods/mfa-configuration
|
||||
tags: ['SDK', 'Software Development Kit', 'MFAConfiguration', 'MFAConfiguration']
|
||||
keywords: ['go', 'Golang', 'sdk', 'MFAConfiguration', 'V2025MFAConfiguration']
|
||||
slug: /tools/sdk/go/v2025/methods/mfa-configuration
|
||||
tags: ['SDK', 'Software Development Kit', 'MFAConfiguration', 'V2025MFAConfiguration']
|
||||
---
|
||||
|
||||
# MFAConfigurationAPI
|
||||
@@ -28,7 +28,7 @@ Method | HTTP request | Description
|
||||
Configuration of Duo MFA method
|
||||
This API returns the configuration of an Duo MFA method.
|
||||
|
||||
[API Spec](https://developer.sailpoint.com/docs/api//get-mfa-duo-config)
|
||||
[API Spec](https://developer.sailpoint.com/docs/api/v2025/get-mfa-duo-config)
|
||||
|
||||
### Path Parameters
|
||||
|
||||
@@ -57,7 +57,7 @@ import (
|
||||
"context"
|
||||
"fmt"
|
||||
"os"
|
||||
""
|
||||
v2025 "github.com/sailpoint-oss/golang-sdk/v2/api_v2025"
|
||||
openapiclient "github.com/sailpoint-oss/golang-sdk/v2"
|
||||
)
|
||||
|
||||
@@ -65,7 +65,7 @@ func main() {
|
||||
|
||||
configuration := NewDefaultConfiguration()
|
||||
apiClient := NewAPIClient(configuration)
|
||||
resp, r, err := apiClient..MFAConfigurationAPI.GetMFADuoConfig(context.Background()).Execute()
|
||||
resp, r, err := apiClient.V2025.MFAConfigurationAPI.GetMFADuoConfig(context.Background()).Execute()
|
||||
if err != nil {
|
||||
fmt.Fprintf(os.Stderr, "Error when calling `MFAConfigurationAPI.GetMFADuoConfig``: %v\n", err)
|
||||
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
|
||||
@@ -81,7 +81,7 @@ func main() {
|
||||
Configuration of KBA MFA method
|
||||
This API returns the KBA configuration for MFA.
|
||||
|
||||
[API Spec](https://developer.sailpoint.com/docs/api//get-mfa-kba-config)
|
||||
[API Spec](https://developer.sailpoint.com/docs/api/v2025/get-mfa-kba-config)
|
||||
|
||||
### Path Parameters
|
||||
|
||||
@@ -114,7 +114,7 @@ import (
|
||||
"context"
|
||||
"fmt"
|
||||
"os"
|
||||
""
|
||||
v2025 "github.com/sailpoint-oss/golang-sdk/v2/api_v2025"
|
||||
openapiclient "github.com/sailpoint-oss/golang-sdk/v2"
|
||||
)
|
||||
|
||||
@@ -123,7 +123,7 @@ func main() {
|
||||
|
||||
configuration := NewDefaultConfiguration()
|
||||
apiClient := NewAPIClient(configuration)
|
||||
resp, r, err := apiClient..MFAConfigurationAPI.GetMFAKbaConfig(context.Background()).AllLanguages(allLanguages).Execute()
|
||||
resp, r, err := apiClient.V2025.MFAConfigurationAPI.GetMFAKbaConfig(context.Background()).AllLanguages(allLanguages).Execute()
|
||||
if err != nil {
|
||||
fmt.Fprintf(os.Stderr, "Error when calling `MFAConfigurationAPI.GetMFAKbaConfig``: %v\n", err)
|
||||
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
|
||||
@@ -139,7 +139,7 @@ func main() {
|
||||
Configuration of Okta MFA method
|
||||
This API returns the configuration of an Okta MFA method.
|
||||
|
||||
[API Spec](https://developer.sailpoint.com/docs/api//get-mfa-okta-config)
|
||||
[API Spec](https://developer.sailpoint.com/docs/api/v2025/get-mfa-okta-config)
|
||||
|
||||
### Path Parameters
|
||||
|
||||
@@ -168,7 +168,7 @@ import (
|
||||
"context"
|
||||
"fmt"
|
||||
"os"
|
||||
""
|
||||
v2025 "github.com/sailpoint-oss/golang-sdk/v2/api_v2025"
|
||||
openapiclient "github.com/sailpoint-oss/golang-sdk/v2"
|
||||
)
|
||||
|
||||
@@ -176,7 +176,7 @@ func main() {
|
||||
|
||||
configuration := NewDefaultConfiguration()
|
||||
apiClient := NewAPIClient(configuration)
|
||||
resp, r, err := apiClient..MFAConfigurationAPI.GetMFAOktaConfig(context.Background()).Execute()
|
||||
resp, r, err := apiClient.V2025.MFAConfigurationAPI.GetMFAOktaConfig(context.Background()).Execute()
|
||||
if err != nil {
|
||||
fmt.Fprintf(os.Stderr, "Error when calling `MFAConfigurationAPI.GetMFAOktaConfig``: %v\n", err)
|
||||
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
|
||||
@@ -192,7 +192,7 @@ func main() {
|
||||
Set Duo MFA configuration
|
||||
This API sets the configuration of an Duo MFA method.
|
||||
|
||||
[API Spec](https://developer.sailpoint.com/docs/api//set-mfa-duo-config)
|
||||
[API Spec](https://developer.sailpoint.com/docs/api/v2025/set-mfa-duo-config)
|
||||
|
||||
### Path Parameters
|
||||
|
||||
@@ -225,7 +225,7 @@ import (
|
||||
"context"
|
||||
"fmt"
|
||||
"os"
|
||||
""
|
||||
v2025 "github.com/sailpoint-oss/golang-sdk/v2/api_v2025"
|
||||
openapiclient "github.com/sailpoint-oss/golang-sdk/v2"
|
||||
)
|
||||
|
||||
@@ -244,7 +244,7 @@ func main() {
|
||||
|
||||
configuration := NewDefaultConfiguration()
|
||||
apiClient := NewAPIClient(configuration)
|
||||
resp, r, err := apiClient..MFAConfigurationAPI.SetMFADuoConfig(context.Background()).MfaDuoConfig(mfaDuoConfig).Execute()
|
||||
resp, r, err := apiClient.V2025.MFAConfigurationAPI.SetMFADuoConfig(context.Background()).MfaDuoConfig(mfaDuoConfig).Execute()
|
||||
if err != nil {
|
||||
fmt.Fprintf(os.Stderr, "Error when calling `MFAConfigurationAPI.SetMFADuoConfig``: %v\n", err)
|
||||
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
|
||||
@@ -260,7 +260,7 @@ func main() {
|
||||
Set MFA KBA configuration
|
||||
This API sets answers to challenge questions. Any configured questions omitted from the request are removed from user KBA configuration.
|
||||
|
||||
[API Spec](https://developer.sailpoint.com/docs/api//set-mfakba-config)
|
||||
[API Spec](https://developer.sailpoint.com/docs/api/v2025/set-mfakba-config)
|
||||
|
||||
### Path Parameters
|
||||
|
||||
@@ -293,7 +293,7 @@ import (
|
||||
"context"
|
||||
"fmt"
|
||||
"os"
|
||||
""
|
||||
v2025 "github.com/sailpoint-oss/golang-sdk/v2/api_v2025"
|
||||
openapiclient "github.com/sailpoint-oss/golang-sdk/v2"
|
||||
)
|
||||
|
||||
@@ -302,7 +302,7 @@ func main() {
|
||||
|
||||
configuration := NewDefaultConfiguration()
|
||||
apiClient := NewAPIClient(configuration)
|
||||
resp, r, err := apiClient..MFAConfigurationAPI.SetMFAKBAConfig(context.Background()).KbaAnswerRequestItem(kbaAnswerRequestItem).Execute()
|
||||
resp, r, err := apiClient.V2025.MFAConfigurationAPI.SetMFAKBAConfig(context.Background()).KbaAnswerRequestItem(kbaAnswerRequestItem).Execute()
|
||||
if err != nil {
|
||||
fmt.Fprintf(os.Stderr, "Error when calling `MFAConfigurationAPI.SetMFAKBAConfig``: %v\n", err)
|
||||
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
|
||||
@@ -318,7 +318,7 @@ func main() {
|
||||
Set Okta MFA configuration
|
||||
This API sets the configuration of an Okta MFA method.
|
||||
|
||||
[API Spec](https://developer.sailpoint.com/docs/api//set-mfa-okta-config)
|
||||
[API Spec](https://developer.sailpoint.com/docs/api/v2025/set-mfa-okta-config)
|
||||
|
||||
### Path Parameters
|
||||
|
||||
@@ -351,7 +351,7 @@ import (
|
||||
"context"
|
||||
"fmt"
|
||||
"os"
|
||||
""
|
||||
v2025 "github.com/sailpoint-oss/golang-sdk/v2/api_v2025"
|
||||
openapiclient "github.com/sailpoint-oss/golang-sdk/v2"
|
||||
)
|
||||
|
||||
@@ -366,7 +366,7 @@ func main() {
|
||||
|
||||
configuration := NewDefaultConfiguration()
|
||||
apiClient := NewAPIClient(configuration)
|
||||
resp, r, err := apiClient..MFAConfigurationAPI.SetMFAOktaConfig(context.Background()).MfaOktaConfig(mfaOktaConfig).Execute()
|
||||
resp, r, err := apiClient.V2025.MFAConfigurationAPI.SetMFAOktaConfig(context.Background()).MfaOktaConfig(mfaOktaConfig).Execute()
|
||||
if err != nil {
|
||||
fmt.Fprintf(os.Stderr, "Error when calling `MFAConfigurationAPI.SetMFAOktaConfig``: %v\n", err)
|
||||
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
|
||||
@@ -382,7 +382,7 @@ func main() {
|
||||
MFA method's test configuration
|
||||
This API validates that the configuration is valid and will properly authenticate with the MFA provider identified by the method path parameter.
|
||||
|
||||
[API Spec](https://developer.sailpoint.com/docs/api//test-mfa-config)
|
||||
[API Spec](https://developer.sailpoint.com/docs/api/v2025/test-mfa-config)
|
||||
|
||||
### Path Parameters
|
||||
|
||||
@@ -419,7 +419,7 @@ import (
|
||||
"context"
|
||||
"fmt"
|
||||
"os"
|
||||
""
|
||||
v2025 "github.com/sailpoint-oss/golang-sdk/v2/api_v2025"
|
||||
openapiclient "github.com/sailpoint-oss/golang-sdk/v2"
|
||||
)
|
||||
|
||||
@@ -428,7 +428,7 @@ func main() {
|
||||
|
||||
configuration := NewDefaultConfiguration()
|
||||
apiClient := NewAPIClient(configuration)
|
||||
resp, r, err := apiClient..MFAConfigurationAPI.TestMFAConfig(context.Background(), method).Execute()
|
||||
resp, r, err := apiClient.V2025.MFAConfigurationAPI.TestMFAConfig(context.Background(), method).Execute()
|
||||
if err != nil {
|
||||
fmt.Fprintf(os.Stderr, "Error when calling `MFAConfigurationAPI.TestMFAConfig``: %v\n", err)
|
||||
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
|
||||
|
||||
@@ -1,12 +1,12 @@
|
||||
---
|
||||
id: machine-accounts
|
||||
id: v2025-machine-accounts
|
||||
title: MachineAccounts
|
||||
pagination_label: MachineAccounts
|
||||
sidebar_label: MachineAccounts
|
||||
sidebar_class_name: gosdk
|
||||
keywords: ['go', 'Golang', 'sdk', 'MachineAccounts', 'MachineAccounts']
|
||||
slug: /tools/sdk/go//methods/machine-accounts
|
||||
tags: ['SDK', 'Software Development Kit', 'MachineAccounts', 'MachineAccounts']
|
||||
keywords: ['go', 'Golang', 'sdk', 'MachineAccounts', 'V2025MachineAccounts']
|
||||
slug: /tools/sdk/go/v2025/methods/machine-accounts
|
||||
tags: ['SDK', 'Software Development Kit', 'MachineAccounts', 'V2025MachineAccounts']
|
||||
---
|
||||
|
||||
# MachineAccountsAPI
|
||||
@@ -35,7 +35,7 @@ This API is currently in an experimental state. The API is subject to change bas
|
||||
Machine Account Details
|
||||
Use this API to return the details for a single machine account by its ID.
|
||||
|
||||
[API Spec](https://developer.sailpoint.com/docs/api//get-machine-account)
|
||||
[API Spec](https://developer.sailpoint.com/docs/api/v2025/get-machine-account)
|
||||
|
||||
### Path Parameters
|
||||
|
||||
@@ -73,7 +73,7 @@ import (
|
||||
"context"
|
||||
"fmt"
|
||||
"os"
|
||||
""
|
||||
v2025 "github.com/sailpoint-oss/golang-sdk/v2/api_v2025"
|
||||
openapiclient "github.com/sailpoint-oss/golang-sdk/v2"
|
||||
)
|
||||
|
||||
@@ -83,7 +83,7 @@ func main() {
|
||||
|
||||
configuration := NewDefaultConfiguration()
|
||||
apiClient := NewAPIClient(configuration)
|
||||
resp, r, err := apiClient..MachineAccountsAPI.GetMachineAccount(context.Background(), id).XSailPointExperimental(xSailPointExperimental).Execute()
|
||||
resp, r, err := apiClient.V2025.MachineAccountsAPI.GetMachineAccount(context.Background(), id).XSailPointExperimental(xSailPointExperimental).Execute()
|
||||
if err != nil {
|
||||
fmt.Fprintf(os.Stderr, "Error when calling `MachineAccountsAPI.GetMachineAccount``: %v\n", err)
|
||||
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
|
||||
@@ -110,7 +110,7 @@ This API is currently in an experimental state. The API is subject to change bas
|
||||
Machine Accounts List
|
||||
This returns a list of machine accounts.
|
||||
|
||||
[API Spec](https://developer.sailpoint.com/docs/api//list-machine-accounts)
|
||||
[API Spec](https://developer.sailpoint.com/docs/api/v2025/list-machine-accounts)
|
||||
|
||||
### Path Parameters
|
||||
|
||||
@@ -148,7 +148,7 @@ import (
|
||||
"context"
|
||||
"fmt"
|
||||
"os"
|
||||
""
|
||||
v2025 "github.com/sailpoint-oss/golang-sdk/v2/api_v2025"
|
||||
openapiclient "github.com/sailpoint-oss/golang-sdk/v2"
|
||||
)
|
||||
|
||||
@@ -162,7 +162,7 @@ func main() {
|
||||
|
||||
configuration := NewDefaultConfiguration()
|
||||
apiClient := NewAPIClient(configuration)
|
||||
resp, r, err := apiClient..MachineAccountsAPI.ListMachineAccounts(context.Background()).XSailPointExperimental(xSailPointExperimental).Limit(limit).Offset(offset).Count(count).Filters(filters).Sorters(sorters).Execute()
|
||||
resp, r, err := apiClient.V2025.MachineAccountsAPI.ListMachineAccounts(context.Background()).XSailPointExperimental(xSailPointExperimental).Limit(limit).Offset(offset).Count(count).Filters(filters).Sorters(sorters).Execute()
|
||||
if err != nil {
|
||||
fmt.Fprintf(os.Stderr, "Error when calling `MachineAccountsAPI.ListMachineAccounts``: %v\n", err)
|
||||
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
|
||||
@@ -190,7 +190,7 @@ Update a Machine Account
|
||||
Use this API to update machine accounts details.
|
||||
|
||||
|
||||
[API Spec](https://developer.sailpoint.com/docs/api//update-machine-account)
|
||||
[API Spec](https://developer.sailpoint.com/docs/api/v2025/update-machine-account)
|
||||
|
||||
### Path Parameters
|
||||
|
||||
@@ -229,7 +229,7 @@ import (
|
||||
"context"
|
||||
"fmt"
|
||||
"os"
|
||||
""
|
||||
v2025 "github.com/sailpoint-oss/golang-sdk/v2/api_v2025"
|
||||
openapiclient "github.com/sailpoint-oss/golang-sdk/v2"
|
||||
)
|
||||
|
||||
@@ -240,7 +240,7 @@ func main() {
|
||||
|
||||
configuration := NewDefaultConfiguration()
|
||||
apiClient := NewAPIClient(configuration)
|
||||
resp, r, err := apiClient..MachineAccountsAPI.UpdateMachineAccount(context.Background(), id).XSailPointExperimental(xSailPointExperimental).RequestBody(requestBody).Execute()
|
||||
resp, r, err := apiClient.V2025.MachineAccountsAPI.UpdateMachineAccount(context.Background(), id).XSailPointExperimental(xSailPointExperimental).RequestBody(requestBody).Execute()
|
||||
if err != nil {
|
||||
fmt.Fprintf(os.Stderr, "Error when calling `MachineAccountsAPI.UpdateMachineAccount``: %v\n", err)
|
||||
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
|
||||
|
||||
@@ -1,12 +1,12 @@
|
||||
---
|
||||
id: machine-identities
|
||||
id: v2025-machine-identities
|
||||
title: MachineIdentities
|
||||
pagination_label: MachineIdentities
|
||||
sidebar_label: MachineIdentities
|
||||
sidebar_class_name: gosdk
|
||||
keywords: ['go', 'Golang', 'sdk', 'MachineIdentities', 'MachineIdentities']
|
||||
slug: /tools/sdk/go//methods/machine-identities
|
||||
tags: ['SDK', 'Software Development Kit', 'MachineIdentities', 'MachineIdentities']
|
||||
keywords: ['go', 'Golang', 'sdk', 'MachineIdentities', 'V2025MachineIdentities']
|
||||
slug: /tools/sdk/go/v2025/methods/machine-identities
|
||||
tags: ['SDK', 'Software Development Kit', 'MachineIdentities', 'V2025MachineIdentities']
|
||||
---
|
||||
|
||||
# MachineIdentitiesAPI
|
||||
@@ -38,7 +38,7 @@ Create Machine Identities
|
||||
Use this API to create a machine identity.
|
||||
The maximum supported length for the description field is 2000 characters.
|
||||
|
||||
[API Spec](https://developer.sailpoint.com/docs/api//create-machine-identity)
|
||||
[API Spec](https://developer.sailpoint.com/docs/api/v2025/create-machine-identity)
|
||||
|
||||
### Path Parameters
|
||||
|
||||
@@ -72,7 +72,7 @@ import (
|
||||
"context"
|
||||
"fmt"
|
||||
"os"
|
||||
""
|
||||
v2025 "github.com/sailpoint-oss/golang-sdk/v2/api_v2025"
|
||||
openapiclient "github.com/sailpoint-oss/golang-sdk/v2"
|
||||
)
|
||||
|
||||
@@ -91,7 +91,7 @@ func main() {
|
||||
|
||||
configuration := NewDefaultConfiguration()
|
||||
apiClient := NewAPIClient(configuration)
|
||||
resp, r, err := apiClient..MachineIdentitiesAPI.CreateMachineIdentity(context.Background()).XSailPointExperimental(xSailPointExperimental).MachineIdentity(machineIdentity).Execute()
|
||||
resp, r, err := apiClient.V2025.MachineIdentitiesAPI.CreateMachineIdentity(context.Background()).XSailPointExperimental(xSailPointExperimental).MachineIdentity(machineIdentity).Execute()
|
||||
if err != nil {
|
||||
fmt.Fprintf(os.Stderr, "Error when calling `MachineIdentitiesAPI.CreateMachineIdentity``: %v\n", err)
|
||||
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
|
||||
@@ -118,7 +118,7 @@ This API is currently in an experimental state. The API is subject to change bas
|
||||
Delete machine identity
|
||||
The API returns successful response if the requested machine identity was deleted.
|
||||
|
||||
[API Spec](https://developer.sailpoint.com/docs/api//delete-machine-identity)
|
||||
[API Spec](https://developer.sailpoint.com/docs/api/v2025/delete-machine-identity)
|
||||
|
||||
### Path Parameters
|
||||
|
||||
@@ -156,7 +156,7 @@ import (
|
||||
"context"
|
||||
"fmt"
|
||||
"os"
|
||||
""
|
||||
v2025 "github.com/sailpoint-oss/golang-sdk/v2/api_v2025"
|
||||
openapiclient "github.com/sailpoint-oss/golang-sdk/v2"
|
||||
)
|
||||
|
||||
@@ -166,7 +166,7 @@ func main() {
|
||||
|
||||
configuration := NewDefaultConfiguration()
|
||||
apiClient := NewAPIClient(configuration)
|
||||
r, err := apiClient..MachineIdentitiesAPI.DeleteMachineIdentity(context.Background(), id).XSailPointExperimental(xSailPointExperimental).Execute()
|
||||
r, err := apiClient.V2025.MachineIdentitiesAPI.DeleteMachineIdentity(context.Background(), id).XSailPointExperimental(xSailPointExperimental).Execute()
|
||||
if err != nil {
|
||||
fmt.Fprintf(os.Stderr, "Error when calling `MachineIdentitiesAPI.DeleteMachineIdentity``: %v\n", err)
|
||||
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
|
||||
@@ -191,7 +191,7 @@ This API is currently in an experimental state. The API is subject to change bas
|
||||
Machine Identity Details
|
||||
This API returns a single machine identity using the Machine Identity ID.
|
||||
|
||||
[API Spec](https://developer.sailpoint.com/docs/api//get-machine-identity)
|
||||
[API Spec](https://developer.sailpoint.com/docs/api/v2025/get-machine-identity)
|
||||
|
||||
### Path Parameters
|
||||
|
||||
@@ -229,7 +229,7 @@ import (
|
||||
"context"
|
||||
"fmt"
|
||||
"os"
|
||||
""
|
||||
v2025 "github.com/sailpoint-oss/golang-sdk/v2/api_v2025"
|
||||
openapiclient "github.com/sailpoint-oss/golang-sdk/v2"
|
||||
)
|
||||
|
||||
@@ -239,7 +239,7 @@ func main() {
|
||||
|
||||
configuration := NewDefaultConfiguration()
|
||||
apiClient := NewAPIClient(configuration)
|
||||
resp, r, err := apiClient..MachineIdentitiesAPI.GetMachineIdentity(context.Background(), id).XSailPointExperimental(xSailPointExperimental).Execute()
|
||||
resp, r, err := apiClient.V2025.MachineIdentitiesAPI.GetMachineIdentity(context.Background(), id).XSailPointExperimental(xSailPointExperimental).Execute()
|
||||
if err != nil {
|
||||
fmt.Fprintf(os.Stderr, "Error when calling `MachineIdentitiesAPI.GetMachineIdentity``: %v\n", err)
|
||||
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
|
||||
@@ -266,7 +266,7 @@ This API is currently in an experimental state. The API is subject to change bas
|
||||
List Machine Identities
|
||||
This API returns a list of machine identities.
|
||||
|
||||
[API Spec](https://developer.sailpoint.com/docs/api//list-machine-identities)
|
||||
[API Spec](https://developer.sailpoint.com/docs/api/v2025/list-machine-identities)
|
||||
|
||||
### Path Parameters
|
||||
|
||||
@@ -304,7 +304,7 @@ import (
|
||||
"context"
|
||||
"fmt"
|
||||
"os"
|
||||
""
|
||||
v2025 "github.com/sailpoint-oss/golang-sdk/v2/api_v2025"
|
||||
openapiclient "github.com/sailpoint-oss/golang-sdk/v2"
|
||||
)
|
||||
|
||||
@@ -318,7 +318,7 @@ func main() {
|
||||
|
||||
configuration := NewDefaultConfiguration()
|
||||
apiClient := NewAPIClient(configuration)
|
||||
resp, r, err := apiClient..MachineIdentitiesAPI.ListMachineIdentities(context.Background()).XSailPointExperimental(xSailPointExperimental).Filters(filters).Sorters(sorters).Count(count).Limit(limit).Offset(offset).Execute()
|
||||
resp, r, err := apiClient.V2025.MachineIdentitiesAPI.ListMachineIdentities(context.Background()).XSailPointExperimental(xSailPointExperimental).Filters(filters).Sorters(sorters).Count(count).Limit(limit).Offset(offset).Execute()
|
||||
if err != nil {
|
||||
fmt.Fprintf(os.Stderr, "Error when calling `MachineIdentitiesAPI.ListMachineIdentities``: %v\n", err)
|
||||
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
|
||||
@@ -346,7 +346,7 @@ Update a Machine Identity
|
||||
Use this API to update machine identity details.
|
||||
|
||||
|
||||
[API Spec](https://developer.sailpoint.com/docs/api//update-machine-identity)
|
||||
[API Spec](https://developer.sailpoint.com/docs/api/v2025/update-machine-identity)
|
||||
|
||||
### Path Parameters
|
||||
|
||||
@@ -385,7 +385,7 @@ import (
|
||||
"context"
|
||||
"fmt"
|
||||
"os"
|
||||
""
|
||||
v2025 "github.com/sailpoint-oss/golang-sdk/v2/api_v2025"
|
||||
openapiclient "github.com/sailpoint-oss/golang-sdk/v2"
|
||||
)
|
||||
|
||||
@@ -396,7 +396,7 @@ func main() {
|
||||
|
||||
configuration := NewDefaultConfiguration()
|
||||
apiClient := NewAPIClient(configuration)
|
||||
resp, r, err := apiClient..MachineIdentitiesAPI.UpdateMachineIdentity(context.Background(), id).XSailPointExperimental(xSailPointExperimental).RequestBody(requestBody).Execute()
|
||||
resp, r, err := apiClient.V2025.MachineIdentitiesAPI.UpdateMachineIdentity(context.Background(), id).XSailPointExperimental(xSailPointExperimental).RequestBody(requestBody).Execute()
|
||||
if err != nil {
|
||||
fmt.Fprintf(os.Stderr, "Error when calling `MachineIdentitiesAPI.UpdateMachineIdentity``: %v\n", err)
|
||||
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
|
||||
|
||||
@@ -1,12 +1,12 @@
|
||||
---
|
||||
id: managed-clients
|
||||
id: v2025-managed-clients
|
||||
title: ManagedClients
|
||||
pagination_label: ManagedClients
|
||||
sidebar_label: ManagedClients
|
||||
sidebar_class_name: gosdk
|
||||
keywords: ['go', 'Golang', 'sdk', 'ManagedClients', 'ManagedClients']
|
||||
slug: /tools/sdk/go//methods/managed-clients
|
||||
tags: ['SDK', 'Software Development Kit', 'ManagedClients', 'ManagedClients']
|
||||
keywords: ['go', 'Golang', 'sdk', 'ManagedClients', 'V2025ManagedClients']
|
||||
slug: /tools/sdk/go/v2025/methods/managed-clients
|
||||
tags: ['SDK', 'Software Development Kit', 'ManagedClients', 'V2025ManagedClients']
|
||||
---
|
||||
|
||||
# ManagedClientsAPI
|
||||
@@ -30,7 +30,7 @@ Create Managed Client
|
||||
Create a new managed client.
|
||||
The API returns a result that includes the managed client ID.
|
||||
|
||||
[API Spec](https://developer.sailpoint.com/docs/api//create-managed-client)
|
||||
[API Spec](https://developer.sailpoint.com/docs/api/v2025/create-managed-client)
|
||||
|
||||
### Path Parameters
|
||||
|
||||
@@ -63,7 +63,7 @@ import (
|
||||
"context"
|
||||
"fmt"
|
||||
"os"
|
||||
""
|
||||
v2025 "github.com/sailpoint-oss/golang-sdk/v2/api_v2025"
|
||||
openapiclient "github.com/sailpoint-oss/golang-sdk/v2"
|
||||
)
|
||||
|
||||
@@ -77,7 +77,7 @@ func main() {
|
||||
|
||||
configuration := NewDefaultConfiguration()
|
||||
apiClient := NewAPIClient(configuration)
|
||||
resp, r, err := apiClient..ManagedClientsAPI.CreateManagedClient(context.Background()).ManagedClientRequest(managedClientRequest).Execute()
|
||||
resp, r, err := apiClient.V2025.ManagedClientsAPI.CreateManagedClient(context.Background()).ManagedClientRequest(managedClientRequest).Execute()
|
||||
if err != nil {
|
||||
fmt.Fprintf(os.Stderr, "Error when calling `ManagedClientsAPI.CreateManagedClient``: %v\n", err)
|
||||
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
|
||||
@@ -93,7 +93,7 @@ func main() {
|
||||
Delete Managed Client
|
||||
Delete an existing managed client.
|
||||
|
||||
[API Spec](https://developer.sailpoint.com/docs/api//delete-managed-client)
|
||||
[API Spec](https://developer.sailpoint.com/docs/api/v2025/delete-managed-client)
|
||||
|
||||
### Path Parameters
|
||||
|
||||
@@ -130,7 +130,7 @@ import (
|
||||
"context"
|
||||
"fmt"
|
||||
"os"
|
||||
""
|
||||
v2025 "github.com/sailpoint-oss/golang-sdk/v2/api_v2025"
|
||||
openapiclient "github.com/sailpoint-oss/golang-sdk/v2"
|
||||
)
|
||||
|
||||
@@ -139,7 +139,7 @@ func main() {
|
||||
|
||||
configuration := NewDefaultConfiguration()
|
||||
apiClient := NewAPIClient(configuration)
|
||||
r, err := apiClient..ManagedClientsAPI.DeleteManagedClient(context.Background(), id).Execute()
|
||||
r, err := apiClient.V2025.ManagedClientsAPI.DeleteManagedClient(context.Background(), id).Execute()
|
||||
if err != nil {
|
||||
fmt.Fprintf(os.Stderr, "Error when calling `ManagedClientsAPI.DeleteManagedClient``: %v\n", err)
|
||||
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
|
||||
@@ -153,7 +153,7 @@ func main() {
|
||||
Get Managed Client
|
||||
Get managed client by ID.
|
||||
|
||||
[API Spec](https://developer.sailpoint.com/docs/api//get-managed-client)
|
||||
[API Spec](https://developer.sailpoint.com/docs/api/v2025/get-managed-client)
|
||||
|
||||
### Path Parameters
|
||||
|
||||
@@ -190,7 +190,7 @@ import (
|
||||
"context"
|
||||
"fmt"
|
||||
"os"
|
||||
""
|
||||
v2025 "github.com/sailpoint-oss/golang-sdk/v2/api_v2025"
|
||||
openapiclient "github.com/sailpoint-oss/golang-sdk/v2"
|
||||
)
|
||||
|
||||
@@ -199,7 +199,7 @@ func main() {
|
||||
|
||||
configuration := NewDefaultConfiguration()
|
||||
apiClient := NewAPIClient(configuration)
|
||||
resp, r, err := apiClient..ManagedClientsAPI.GetManagedClient(context.Background(), id).Execute()
|
||||
resp, r, err := apiClient.V2025.ManagedClientsAPI.GetManagedClient(context.Background(), id).Execute()
|
||||
if err != nil {
|
||||
fmt.Fprintf(os.Stderr, "Error when calling `ManagedClientsAPI.GetManagedClient``: %v\n", err)
|
||||
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
|
||||
@@ -215,7 +215,7 @@ func main() {
|
||||
Get Managed Client Status
|
||||
Get a managed client's status, using its ID.
|
||||
|
||||
[API Spec](https://developer.sailpoint.com/docs/api//get-managed-client-status)
|
||||
[API Spec](https://developer.sailpoint.com/docs/api/v2025/get-managed-client-status)
|
||||
|
||||
### Path Parameters
|
||||
|
||||
@@ -253,7 +253,7 @@ import (
|
||||
"context"
|
||||
"fmt"
|
||||
"os"
|
||||
""
|
||||
v2025 "github.com/sailpoint-oss/golang-sdk/v2/api_v2025"
|
||||
openapiclient "github.com/sailpoint-oss/golang-sdk/v2"
|
||||
)
|
||||
|
||||
@@ -263,7 +263,7 @@ func main() {
|
||||
|
||||
configuration := NewDefaultConfiguration()
|
||||
apiClient := NewAPIClient(configuration)
|
||||
resp, r, err := apiClient..ManagedClientsAPI.GetManagedClientStatus(context.Background(), id).Type_(type_).Execute()
|
||||
resp, r, err := apiClient.V2025.ManagedClientsAPI.GetManagedClientStatus(context.Background(), id).Type_(type_).Execute()
|
||||
if err != nil {
|
||||
fmt.Fprintf(os.Stderr, "Error when calling `ManagedClientsAPI.GetManagedClientStatus``: %v\n", err)
|
||||
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
|
||||
@@ -279,7 +279,7 @@ func main() {
|
||||
Get Managed Clients
|
||||
List managed clients.
|
||||
|
||||
[API Spec](https://developer.sailpoint.com/docs/api//get-managed-clients)
|
||||
[API Spec](https://developer.sailpoint.com/docs/api/v2025/get-managed-clients)
|
||||
|
||||
### Path Parameters
|
||||
|
||||
@@ -315,7 +315,7 @@ import (
|
||||
"context"
|
||||
"fmt"
|
||||
"os"
|
||||
""
|
||||
v2025 "github.com/sailpoint-oss/golang-sdk/v2/api_v2025"
|
||||
openapiclient "github.com/sailpoint-oss/golang-sdk/v2"
|
||||
)
|
||||
|
||||
@@ -327,7 +327,7 @@ func main() {
|
||||
|
||||
configuration := NewDefaultConfiguration()
|
||||
apiClient := NewAPIClient(configuration)
|
||||
resp, r, err := apiClient..ManagedClientsAPI.GetManagedClients(context.Background()).Offset(offset).Limit(limit).Count(count).Filters(filters).Execute()
|
||||
resp, r, err := apiClient.V2025.ManagedClientsAPI.GetManagedClients(context.Background()).Offset(offset).Limit(limit).Count(count).Filters(filters).Execute()
|
||||
if err != nil {
|
||||
fmt.Fprintf(os.Stderr, "Error when calling `ManagedClientsAPI.GetManagedClients``: %v\n", err)
|
||||
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
|
||||
@@ -343,7 +343,7 @@ func main() {
|
||||
Update Managed Client
|
||||
Update an existing managed client.
|
||||
|
||||
[API Spec](https://developer.sailpoint.com/docs/api//update-managed-client)
|
||||
[API Spec](https://developer.sailpoint.com/docs/api/v2025/update-managed-client)
|
||||
|
||||
### Path Parameters
|
||||
|
||||
@@ -381,7 +381,7 @@ import (
|
||||
"context"
|
||||
"fmt"
|
||||
"os"
|
||||
""
|
||||
v2025 "github.com/sailpoint-oss/golang-sdk/v2/api_v2025"
|
||||
openapiclient "github.com/sailpoint-oss/golang-sdk/v2"
|
||||
)
|
||||
|
||||
@@ -391,7 +391,7 @@ func main() {
|
||||
|
||||
configuration := NewDefaultConfiguration()
|
||||
apiClient := NewAPIClient(configuration)
|
||||
resp, r, err := apiClient..ManagedClientsAPI.UpdateManagedClient(context.Background(), id).JsonPatchOperation(jsonPatchOperation).Execute()
|
||||
resp, r, err := apiClient.V2025.ManagedClientsAPI.UpdateManagedClient(context.Background(), id).JsonPatchOperation(jsonPatchOperation).Execute()
|
||||
if err != nil {
|
||||
fmt.Fprintf(os.Stderr, "Error when calling `ManagedClientsAPI.UpdateManagedClient``: %v\n", err)
|
||||
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
|
||||
|
||||
@@ -1,12 +1,12 @@
|
||||
---
|
||||
id: managed-cluster-types
|
||||
id: v2025-managed-cluster-types
|
||||
title: ManagedClusterTypes
|
||||
pagination_label: ManagedClusterTypes
|
||||
sidebar_label: ManagedClusterTypes
|
||||
sidebar_class_name: gosdk
|
||||
keywords: ['go', 'Golang', 'sdk', 'ManagedClusterTypes', 'ManagedClusterTypes']
|
||||
slug: /tools/sdk/go//methods/managed-cluster-types
|
||||
tags: ['SDK', 'Software Development Kit', 'ManagedClusterTypes', 'ManagedClusterTypes']
|
||||
keywords: ['go', 'Golang', 'sdk', 'ManagedClusterTypes', 'V2025ManagedClusterTypes']
|
||||
slug: /tools/sdk/go/v2025/methods/managed-cluster-types
|
||||
tags: ['SDK', 'Software Development Kit', 'ManagedClusterTypes', 'V2025ManagedClusterTypes']
|
||||
---
|
||||
|
||||
# ManagedClusterTypesAPI
|
||||
@@ -30,7 +30,7 @@ Create a new Managed Cluster Type.
|
||||
|
||||
The API returns a result that includes the Managed Cluster Type ID
|
||||
|
||||
[API Spec](https://developer.sailpoint.com/docs/api//create-managed-cluster-type)
|
||||
[API Spec](https://developer.sailpoint.com/docs/api/v2025/create-managed-cluster-type)
|
||||
|
||||
### Path Parameters
|
||||
|
||||
@@ -63,7 +63,7 @@ import (
|
||||
"context"
|
||||
"fmt"
|
||||
"os"
|
||||
""
|
||||
v2025 "github.com/sailpoint-oss/golang-sdk/v2/api_v2025"
|
||||
openapiclient "github.com/sailpoint-oss/golang-sdk/v2"
|
||||
)
|
||||
|
||||
@@ -78,7 +78,7 @@ func main() {
|
||||
|
||||
configuration := NewDefaultConfiguration()
|
||||
apiClient := NewAPIClient(configuration)
|
||||
resp, r, err := apiClient..ManagedClusterTypesAPI.CreateManagedClusterType(context.Background()).ManagedClusterType(managedClusterType).Execute()
|
||||
resp, r, err := apiClient.V2025.ManagedClusterTypesAPI.CreateManagedClusterType(context.Background()).ManagedClusterType(managedClusterType).Execute()
|
||||
if err != nil {
|
||||
fmt.Fprintf(os.Stderr, "Error when calling `ManagedClusterTypesAPI.CreateManagedClusterType``: %v\n", err)
|
||||
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
|
||||
@@ -94,7 +94,7 @@ func main() {
|
||||
Delete a Managed Cluster Type
|
||||
Delete an existing Managed Cluster Type.
|
||||
|
||||
[API Spec](https://developer.sailpoint.com/docs/api//delete-managed-cluster-type)
|
||||
[API Spec](https://developer.sailpoint.com/docs/api/v2025/delete-managed-cluster-type)
|
||||
|
||||
### Path Parameters
|
||||
|
||||
@@ -131,7 +131,7 @@ import (
|
||||
"context"
|
||||
"fmt"
|
||||
"os"
|
||||
""
|
||||
v2025 "github.com/sailpoint-oss/golang-sdk/v2/api_v2025"
|
||||
openapiclient "github.com/sailpoint-oss/golang-sdk/v2"
|
||||
)
|
||||
|
||||
@@ -140,7 +140,7 @@ func main() {
|
||||
|
||||
configuration := NewDefaultConfiguration()
|
||||
apiClient := NewAPIClient(configuration)
|
||||
r, err := apiClient..ManagedClusterTypesAPI.DeleteManagedClusterType(context.Background(), id).Execute()
|
||||
r, err := apiClient.V2025.ManagedClusterTypesAPI.DeleteManagedClusterType(context.Background(), id).Execute()
|
||||
if err != nil {
|
||||
fmt.Fprintf(os.Stderr, "Error when calling `ManagedClusterTypesAPI.DeleteManagedClusterType``: %v\n", err)
|
||||
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
|
||||
@@ -154,7 +154,7 @@ func main() {
|
||||
Get a Managed Cluster Type
|
||||
Get a Managed Cluster Type.
|
||||
|
||||
[API Spec](https://developer.sailpoint.com/docs/api//get-managed-cluster-type)
|
||||
[API Spec](https://developer.sailpoint.com/docs/api/v2025/get-managed-cluster-type)
|
||||
|
||||
### Path Parameters
|
||||
|
||||
@@ -191,7 +191,7 @@ import (
|
||||
"context"
|
||||
"fmt"
|
||||
"os"
|
||||
""
|
||||
v2025 "github.com/sailpoint-oss/golang-sdk/v2/api_v2025"
|
||||
openapiclient "github.com/sailpoint-oss/golang-sdk/v2"
|
||||
)
|
||||
|
||||
@@ -200,7 +200,7 @@ func main() {
|
||||
|
||||
configuration := NewDefaultConfiguration()
|
||||
apiClient := NewAPIClient(configuration)
|
||||
resp, r, err := apiClient..ManagedClusterTypesAPI.GetManagedClusterType(context.Background(), id).Execute()
|
||||
resp, r, err := apiClient.V2025.ManagedClusterTypesAPI.GetManagedClusterType(context.Background(), id).Execute()
|
||||
if err != nil {
|
||||
fmt.Fprintf(os.Stderr, "Error when calling `ManagedClusterTypesAPI.GetManagedClusterType``: %v\n", err)
|
||||
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
|
||||
@@ -216,7 +216,7 @@ func main() {
|
||||
List Managed Cluster Types
|
||||
Get a list of Managed Cluster Types.
|
||||
|
||||
[API Spec](https://developer.sailpoint.com/docs/api//get-managed-cluster-types)
|
||||
[API Spec](https://developer.sailpoint.com/docs/api/v2025/get-managed-cluster-types)
|
||||
|
||||
### Path Parameters
|
||||
|
||||
@@ -253,7 +253,7 @@ import (
|
||||
"context"
|
||||
"fmt"
|
||||
"os"
|
||||
""
|
||||
v2025 "github.com/sailpoint-oss/golang-sdk/v2/api_v2025"
|
||||
openapiclient "github.com/sailpoint-oss/golang-sdk/v2"
|
||||
)
|
||||
|
||||
@@ -266,7 +266,7 @@ func main() {
|
||||
|
||||
configuration := NewDefaultConfiguration()
|
||||
apiClient := NewAPIClient(configuration)
|
||||
resp, r, err := apiClient..ManagedClusterTypesAPI.GetManagedClusterTypes(context.Background()).Type_(type_).Pod(pod).Org(org).Offset(offset).Limit(limit).Execute()
|
||||
resp, r, err := apiClient.V2025.ManagedClusterTypesAPI.GetManagedClusterTypes(context.Background()).Type_(type_).Pod(pod).Org(org).Offset(offset).Limit(limit).Execute()
|
||||
if err != nil {
|
||||
fmt.Fprintf(os.Stderr, "Error when calling `ManagedClusterTypesAPI.GetManagedClusterTypes``: %v\n", err)
|
||||
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
|
||||
@@ -282,7 +282,7 @@ func main() {
|
||||
Update a Managed Cluster Type
|
||||
Update an existing Managed Cluster Type.
|
||||
|
||||
[API Spec](https://developer.sailpoint.com/docs/api//update-managed-cluster-type)
|
||||
[API Spec](https://developer.sailpoint.com/docs/api/v2025/update-managed-cluster-type)
|
||||
|
||||
### Path Parameters
|
||||
|
||||
@@ -320,7 +320,7 @@ import (
|
||||
"context"
|
||||
"fmt"
|
||||
"os"
|
||||
""
|
||||
v2025 "github.com/sailpoint-oss/golang-sdk/v2/api_v2025"
|
||||
openapiclient "github.com/sailpoint-oss/golang-sdk/v2"
|
||||
)
|
||||
|
||||
@@ -340,7 +340,7 @@ func main() {
|
||||
|
||||
configuration := NewDefaultConfiguration()
|
||||
apiClient := NewAPIClient(configuration)
|
||||
resp, r, err := apiClient..ManagedClusterTypesAPI.UpdateManagedClusterType(context.Background(), id).JsonPatch(jsonPatch).Execute()
|
||||
resp, r, err := apiClient.V2025.ManagedClusterTypesAPI.UpdateManagedClusterType(context.Background(), id).JsonPatch(jsonPatch).Execute()
|
||||
if err != nil {
|
||||
fmt.Fprintf(os.Stderr, "Error when calling `ManagedClusterTypesAPI.UpdateManagedClusterType``: %v\n", err)
|
||||
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
|
||||
|
||||
@@ -1,12 +1,12 @@
|
||||
---
|
||||
id: managed-clusters
|
||||
id: v2025-managed-clusters
|
||||
title: ManagedClusters
|
||||
pagination_label: ManagedClusters
|
||||
sidebar_label: ManagedClusters
|
||||
sidebar_class_name: gosdk
|
||||
keywords: ['go', 'Golang', 'sdk', 'ManagedClusters', 'ManagedClusters']
|
||||
slug: /tools/sdk/go//methods/managed-clusters
|
||||
tags: ['SDK', 'Software Development Kit', 'ManagedClusters', 'ManagedClusters']
|
||||
keywords: ['go', 'Golang', 'sdk', 'ManagedClusters', 'V2025ManagedClusters']
|
||||
slug: /tools/sdk/go/v2025/methods/managed-clusters
|
||||
tags: ['SDK', 'Software Development Kit', 'ManagedClusters', 'V2025ManagedClusters']
|
||||
---
|
||||
|
||||
# ManagedClustersAPI
|
||||
@@ -32,7 +32,7 @@ Create Create Managed Cluster
|
||||
Create a new Managed Cluster.
|
||||
The API returns a result that includes the managed cluster ID.
|
||||
|
||||
[API Spec](https://developer.sailpoint.com/docs/api//create-managed-cluster)
|
||||
[API Spec](https://developer.sailpoint.com/docs/api/v2025/create-managed-cluster)
|
||||
|
||||
### Path Parameters
|
||||
|
||||
@@ -65,7 +65,7 @@ import (
|
||||
"context"
|
||||
"fmt"
|
||||
"os"
|
||||
""
|
||||
v2025 "github.com/sailpoint-oss/golang-sdk/v2/api_v2025"
|
||||
openapiclient "github.com/sailpoint-oss/golang-sdk/v2"
|
||||
)
|
||||
|
||||
@@ -82,7 +82,7 @@ func main() {
|
||||
|
||||
configuration := NewDefaultConfiguration()
|
||||
apiClient := NewAPIClient(configuration)
|
||||
resp, r, err := apiClient..ManagedClustersAPI.CreateManagedCluster(context.Background()).ManagedClusterRequest(managedClusterRequest).Execute()
|
||||
resp, r, err := apiClient.V2025.ManagedClustersAPI.CreateManagedCluster(context.Background()).ManagedClusterRequest(managedClusterRequest).Execute()
|
||||
if err != nil {
|
||||
fmt.Fprintf(os.Stderr, "Error when calling `ManagedClustersAPI.CreateManagedCluster``: %v\n", err)
|
||||
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
|
||||
@@ -98,7 +98,7 @@ func main() {
|
||||
Delete Managed Cluster
|
||||
Delete an existing managed cluster.
|
||||
|
||||
[API Spec](https://developer.sailpoint.com/docs/api//delete-managed-cluster)
|
||||
[API Spec](https://developer.sailpoint.com/docs/api/v2025/delete-managed-cluster)
|
||||
|
||||
### Path Parameters
|
||||
|
||||
@@ -136,7 +136,7 @@ import (
|
||||
"context"
|
||||
"fmt"
|
||||
"os"
|
||||
""
|
||||
v2025 "github.com/sailpoint-oss/golang-sdk/v2/api_v2025"
|
||||
openapiclient "github.com/sailpoint-oss/golang-sdk/v2"
|
||||
)
|
||||
|
||||
@@ -146,7 +146,7 @@ func main() {
|
||||
|
||||
configuration := NewDefaultConfiguration()
|
||||
apiClient := NewAPIClient(configuration)
|
||||
r, err := apiClient..ManagedClustersAPI.DeleteManagedCluster(context.Background(), id).RemoveClients(removeClients).Execute()
|
||||
r, err := apiClient.V2025.ManagedClustersAPI.DeleteManagedCluster(context.Background(), id).RemoveClients(removeClients).Execute()
|
||||
if err != nil {
|
||||
fmt.Fprintf(os.Stderr, "Error when calling `ManagedClustersAPI.DeleteManagedCluster``: %v\n", err)
|
||||
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
|
||||
@@ -160,7 +160,7 @@ func main() {
|
||||
Get Managed Cluster Log Configuration
|
||||
Get a managed cluster's log configuration.
|
||||
|
||||
[API Spec](https://developer.sailpoint.com/docs/api//get-client-log-configuration)
|
||||
[API Spec](https://developer.sailpoint.com/docs/api/v2025/get-client-log-configuration)
|
||||
|
||||
### Path Parameters
|
||||
|
||||
@@ -197,7 +197,7 @@ import (
|
||||
"context"
|
||||
"fmt"
|
||||
"os"
|
||||
""
|
||||
v2025 "github.com/sailpoint-oss/golang-sdk/v2/api_v2025"
|
||||
openapiclient "github.com/sailpoint-oss/golang-sdk/v2"
|
||||
)
|
||||
|
||||
@@ -206,7 +206,7 @@ func main() {
|
||||
|
||||
configuration := NewDefaultConfiguration()
|
||||
apiClient := NewAPIClient(configuration)
|
||||
resp, r, err := apiClient..ManagedClustersAPI.GetClientLogConfiguration(context.Background(), id).Execute()
|
||||
resp, r, err := apiClient.V2025.ManagedClustersAPI.GetClientLogConfiguration(context.Background(), id).Execute()
|
||||
if err != nil {
|
||||
fmt.Fprintf(os.Stderr, "Error when calling `ManagedClustersAPI.GetClientLogConfiguration``: %v\n", err)
|
||||
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
|
||||
@@ -222,7 +222,7 @@ func main() {
|
||||
Get Managed Cluster
|
||||
Get a managed cluster by ID.
|
||||
|
||||
[API Spec](https://developer.sailpoint.com/docs/api//get-managed-cluster)
|
||||
[API Spec](https://developer.sailpoint.com/docs/api/v2025/get-managed-cluster)
|
||||
|
||||
### Path Parameters
|
||||
|
||||
@@ -259,7 +259,7 @@ import (
|
||||
"context"
|
||||
"fmt"
|
||||
"os"
|
||||
""
|
||||
v2025 "github.com/sailpoint-oss/golang-sdk/v2/api_v2025"
|
||||
openapiclient "github.com/sailpoint-oss/golang-sdk/v2"
|
||||
)
|
||||
|
||||
@@ -268,7 +268,7 @@ func main() {
|
||||
|
||||
configuration := NewDefaultConfiguration()
|
||||
apiClient := NewAPIClient(configuration)
|
||||
resp, r, err := apiClient..ManagedClustersAPI.GetManagedCluster(context.Background(), id).Execute()
|
||||
resp, r, err := apiClient.V2025.ManagedClustersAPI.GetManagedCluster(context.Background(), id).Execute()
|
||||
if err != nil {
|
||||
fmt.Fprintf(os.Stderr, "Error when calling `ManagedClustersAPI.GetManagedCluster``: %v\n", err)
|
||||
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
|
||||
@@ -284,7 +284,7 @@ func main() {
|
||||
Get Managed Clusters
|
||||
List current organization's managed clusters, based on request context.
|
||||
|
||||
[API Spec](https://developer.sailpoint.com/docs/api//get-managed-clusters)
|
||||
[API Spec](https://developer.sailpoint.com/docs/api/v2025/get-managed-clusters)
|
||||
|
||||
### Path Parameters
|
||||
|
||||
@@ -320,7 +320,7 @@ import (
|
||||
"context"
|
||||
"fmt"
|
||||
"os"
|
||||
""
|
||||
v2025 "github.com/sailpoint-oss/golang-sdk/v2/api_v2025"
|
||||
openapiclient "github.com/sailpoint-oss/golang-sdk/v2"
|
||||
)
|
||||
|
||||
@@ -332,7 +332,7 @@ func main() {
|
||||
|
||||
configuration := NewDefaultConfiguration()
|
||||
apiClient := NewAPIClient(configuration)
|
||||
resp, r, err := apiClient..ManagedClustersAPI.GetManagedClusters(context.Background()).Offset(offset).Limit(limit).Count(count).Filters(filters).Execute()
|
||||
resp, r, err := apiClient.V2025.ManagedClustersAPI.GetManagedClusters(context.Background()).Offset(offset).Limit(limit).Count(count).Filters(filters).Execute()
|
||||
if err != nil {
|
||||
fmt.Fprintf(os.Stderr, "Error when calling `ManagedClustersAPI.GetManagedClusters``: %v\n", err)
|
||||
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
|
||||
@@ -348,7 +348,7 @@ func main() {
|
||||
Update Managed Cluster Log Configuration
|
||||
Update a managed cluster's log configuration. You may only specify one of `durationMinutes` or `expiration`, up to 1440 minutes (24 hours) in the future. If neither is specified, the default value for `durationMinutes` is 240.
|
||||
|
||||
[API Spec](https://developer.sailpoint.com/docs/api//put-client-log-configuration)
|
||||
[API Spec](https://developer.sailpoint.com/docs/api/v2025/put-client-log-configuration)
|
||||
|
||||
### Path Parameters
|
||||
|
||||
@@ -386,7 +386,7 @@ import (
|
||||
"context"
|
||||
"fmt"
|
||||
"os"
|
||||
""
|
||||
v2025 "github.com/sailpoint-oss/golang-sdk/v2/api_v2025"
|
||||
openapiclient "github.com/sailpoint-oss/golang-sdk/v2"
|
||||
)
|
||||
|
||||
@@ -396,7 +396,7 @@ func main() {
|
||||
|
||||
configuration := NewDefaultConfiguration()
|
||||
apiClient := NewAPIClient(configuration)
|
||||
resp, r, err := apiClient..ManagedClustersAPI.PutClientLogConfiguration(context.Background(), id).PutClientLogConfigurationRequest(putClientLogConfigurationRequest).Execute()
|
||||
resp, r, err := apiClient.V2025.ManagedClustersAPI.PutClientLogConfiguration(context.Background(), id).PutClientLogConfigurationRequest(putClientLogConfigurationRequest).Execute()
|
||||
if err != nil {
|
||||
fmt.Fprintf(os.Stderr, "Error when calling `ManagedClustersAPI.PutClientLogConfiguration``: %v\n", err)
|
||||
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
|
||||
@@ -413,7 +413,7 @@ Trigger Manual Upgrade for Managed Cluster
|
||||
Trigger Manual Upgrade for Managed Cluster.
|
||||
AMS Security: API, Internal A token with SYSTEM_ADMINISTRATOR authority is required to call this API.
|
||||
|
||||
[API Spec](https://developer.sailpoint.com/docs/api//update)
|
||||
[API Spec](https://developer.sailpoint.com/docs/api/v2025/update)
|
||||
|
||||
### Path Parameters
|
||||
|
||||
@@ -450,7 +450,7 @@ import (
|
||||
"context"
|
||||
"fmt"
|
||||
"os"
|
||||
""
|
||||
v2025 "github.com/sailpoint-oss/golang-sdk/v2/api_v2025"
|
||||
openapiclient "github.com/sailpoint-oss/golang-sdk/v2"
|
||||
)
|
||||
|
||||
@@ -459,7 +459,7 @@ func main() {
|
||||
|
||||
configuration := NewDefaultConfiguration()
|
||||
apiClient := NewAPIClient(configuration)
|
||||
resp, r, err := apiClient..ManagedClustersAPI.Update(context.Background(), id).Execute()
|
||||
resp, r, err := apiClient.V2025.ManagedClustersAPI.Update(context.Background(), id).Execute()
|
||||
if err != nil {
|
||||
fmt.Fprintf(os.Stderr, "Error when calling `ManagedClustersAPI.Update``: %v\n", err)
|
||||
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
|
||||
@@ -475,7 +475,7 @@ func main() {
|
||||
Update Managed Cluster
|
||||
Update an existing managed cluster.
|
||||
|
||||
[API Spec](https://developer.sailpoint.com/docs/api//update-managed-cluster)
|
||||
[API Spec](https://developer.sailpoint.com/docs/api/v2025/update-managed-cluster)
|
||||
|
||||
### Path Parameters
|
||||
|
||||
@@ -513,7 +513,7 @@ import (
|
||||
"context"
|
||||
"fmt"
|
||||
"os"
|
||||
""
|
||||
v2025 "github.com/sailpoint-oss/golang-sdk/v2/api_v2025"
|
||||
openapiclient "github.com/sailpoint-oss/golang-sdk/v2"
|
||||
)
|
||||
|
||||
@@ -523,7 +523,7 @@ func main() {
|
||||
|
||||
configuration := NewDefaultConfiguration()
|
||||
apiClient := NewAPIClient(configuration)
|
||||
resp, r, err := apiClient..ManagedClustersAPI.UpdateManagedCluster(context.Background(), id).JsonPatchOperation(jsonPatchOperation).Execute()
|
||||
resp, r, err := apiClient.V2025.ManagedClustersAPI.UpdateManagedCluster(context.Background(), id).JsonPatchOperation(jsonPatchOperation).Execute()
|
||||
if err != nil {
|
||||
fmt.Fprintf(os.Stderr, "Error when calling `ManagedClustersAPI.UpdateManagedCluster``: %v\n", err)
|
||||
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
|
||||
|
||||
@@ -1,12 +1,12 @@
|
||||
---
|
||||
id: multi-host-integration
|
||||
id: v2025-multi-host-integration
|
||||
title: MultiHostIntegration
|
||||
pagination_label: MultiHostIntegration
|
||||
sidebar_label: MultiHostIntegration
|
||||
sidebar_class_name: gosdk
|
||||
keywords: ['go', 'Golang', 'sdk', 'MultiHostIntegration', 'MultiHostIntegration']
|
||||
slug: /tools/sdk/go//methods/multi-host-integration
|
||||
tags: ['SDK', 'Software Development Kit', 'MultiHostIntegration', 'MultiHostIntegration']
|
||||
keywords: ['go', 'Golang', 'sdk', 'MultiHostIntegration', 'V2025MultiHostIntegration']
|
||||
slug: /tools/sdk/go/v2025/methods/multi-host-integration
|
||||
tags: ['SDK', 'Software Development Kit', 'MultiHostIntegration', 'V2025MultiHostIntegration']
|
||||
---
|
||||
|
||||
# MultiHostIntegrationAPI
|
||||
@@ -39,7 +39,7 @@ This API is used to create Multi-Host Integration. Multi-host Integration holds
|
||||
|
||||
A token with Org Admin or Multi-Host Admin authority is required to access this endpoint.
|
||||
|
||||
[API Spec](https://developer.sailpoint.com/docs/api//create-multi-host-integration)
|
||||
[API Spec](https://developer.sailpoint.com/docs/api/v2025/create-multi-host-integration)
|
||||
|
||||
### Path Parameters
|
||||
|
||||
@@ -72,7 +72,7 @@ import (
|
||||
"context"
|
||||
"fmt"
|
||||
"os"
|
||||
""
|
||||
v2025 "github.com/sailpoint-oss/golang-sdk/v2/api_v2025"
|
||||
openapiclient "github.com/sailpoint-oss/golang-sdk/v2"
|
||||
)
|
||||
|
||||
@@ -106,7 +106,7 @@ func main() {
|
||||
|
||||
configuration := NewDefaultConfiguration()
|
||||
apiClient := NewAPIClient(configuration)
|
||||
resp, r, err := apiClient..MultiHostIntegrationAPI.CreateMultiHostIntegration(context.Background()).MultiHostIntegrationsCreate(multiHostIntegrationsCreate).Execute()
|
||||
resp, r, err := apiClient.V2025.MultiHostIntegrationAPI.CreateMultiHostIntegration(context.Background()).MultiHostIntegrationsCreate(multiHostIntegrationsCreate).Execute()
|
||||
if err != nil {
|
||||
fmt.Fprintf(os.Stderr, "Error when calling `MultiHostIntegrationAPI.CreateMultiHostIntegration``: %v\n", err)
|
||||
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
|
||||
@@ -124,7 +124,7 @@ This API is used to create sources within Multi-Host Integration. Multi-Host Int
|
||||
|
||||
A token with Org Admin or Multi-Host Admin authority is required to access this endpoint.
|
||||
|
||||
[API Spec](https://developer.sailpoint.com/docs/api//create-sources-within-multi-host)
|
||||
[API Spec](https://developer.sailpoint.com/docs/api/v2025/create-sources-within-multi-host)
|
||||
|
||||
### Path Parameters
|
||||
|
||||
@@ -162,7 +162,7 @@ import (
|
||||
"context"
|
||||
"fmt"
|
||||
"os"
|
||||
""
|
||||
v2025 "github.com/sailpoint-oss/golang-sdk/v2/api_v2025"
|
||||
openapiclient "github.com/sailpoint-oss/golang-sdk/v2"
|
||||
)
|
||||
|
||||
@@ -172,7 +172,7 @@ func main() {
|
||||
|
||||
configuration := NewDefaultConfiguration()
|
||||
apiClient := NewAPIClient(configuration)
|
||||
r, err := apiClient..MultiHostIntegrationAPI.CreateSourcesWithinMultiHost(context.Background(), multihostId).MultiHostIntegrationsCreateSources(multiHostIntegrationsCreateSources).Execute()
|
||||
r, err := apiClient.V2025.MultiHostIntegrationAPI.CreateSourcesWithinMultiHost(context.Background(), multihostId).MultiHostIntegrationsCreateSources(multiHostIntegrationsCreateSources).Execute()
|
||||
if err != nil {
|
||||
fmt.Fprintf(os.Stderr, "Error when calling `MultiHostIntegrationAPI.CreateSourcesWithinMultiHost``: %v\n", err)
|
||||
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
|
||||
@@ -188,7 +188,7 @@ Delete an existing Multi-Host Integration by ID.
|
||||
|
||||
A token with Org Admin or Multi Host Admin authority is required to access this endpoint.
|
||||
|
||||
[API Spec](https://developer.sailpoint.com/docs/api//delete-multi-host)
|
||||
[API Spec](https://developer.sailpoint.com/docs/api/v2025/delete-multi-host)
|
||||
|
||||
### Path Parameters
|
||||
|
||||
@@ -225,7 +225,7 @@ import (
|
||||
"context"
|
||||
"fmt"
|
||||
"os"
|
||||
""
|
||||
v2025 "github.com/sailpoint-oss/golang-sdk/v2/api_v2025"
|
||||
openapiclient "github.com/sailpoint-oss/golang-sdk/v2"
|
||||
)
|
||||
|
||||
@@ -234,7 +234,7 @@ func main() {
|
||||
|
||||
configuration := NewDefaultConfiguration()
|
||||
apiClient := NewAPIClient(configuration)
|
||||
r, err := apiClient..MultiHostIntegrationAPI.DeleteMultiHost(context.Background(), multihostId).Execute()
|
||||
r, err := apiClient.V2025.MultiHostIntegrationAPI.DeleteMultiHost(context.Background(), multihostId).Execute()
|
||||
if err != nil {
|
||||
fmt.Fprintf(os.Stderr, "Error when calling `MultiHostIntegrationAPI.DeleteMultiHost``: %v\n", err)
|
||||
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
|
||||
@@ -249,7 +249,7 @@ List Account-Aggregation-Groups by Multi-Host ID
|
||||
This API will return array of account aggregation groups within provided Multi-Host Integration ID.
|
||||
A token with Org Admin or Multi-Host Admin authority is required to access this endpoint.
|
||||
|
||||
[API Spec](https://developer.sailpoint.com/docs/api//get-acct-aggregation-groups)
|
||||
[API Spec](https://developer.sailpoint.com/docs/api/v2025/get-acct-aggregation-groups)
|
||||
|
||||
### Path Parameters
|
||||
|
||||
@@ -288,7 +288,7 @@ import (
|
||||
"context"
|
||||
"fmt"
|
||||
"os"
|
||||
""
|
||||
v2025 "github.com/sailpoint-oss/golang-sdk/v2/api_v2025"
|
||||
openapiclient "github.com/sailpoint-oss/golang-sdk/v2"
|
||||
)
|
||||
|
||||
@@ -299,7 +299,7 @@ func main() {
|
||||
|
||||
configuration := NewDefaultConfiguration()
|
||||
apiClient := NewAPIClient(configuration)
|
||||
resp, r, err := apiClient..MultiHostIntegrationAPI.GetAcctAggregationGroups(context.Background(), multihostId).Offset(offset).Limit(limit).Execute()
|
||||
resp, r, err := apiClient.V2025.MultiHostIntegrationAPI.GetAcctAggregationGroups(context.Background(), multihostId).Offset(offset).Limit(limit).Execute()
|
||||
if err != nil {
|
||||
fmt.Fprintf(os.Stderr, "Error when calling `MultiHostIntegrationAPI.GetAcctAggregationGroups``: %v\n", err)
|
||||
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
|
||||
@@ -317,7 +317,7 @@ This API will return array of aggregation groups within provided Multi-Host Inte
|
||||
|
||||
A token with Org Admin or Multi-Host Admin authority is required to access this endpoint.
|
||||
|
||||
[API Spec](https://developer.sailpoint.com/docs/api//get-entitlement-aggregation-groups)
|
||||
[API Spec](https://developer.sailpoint.com/docs/api/v2025/get-entitlement-aggregation-groups)
|
||||
|
||||
### Path Parameters
|
||||
|
||||
@@ -356,7 +356,7 @@ import (
|
||||
"context"
|
||||
"fmt"
|
||||
"os"
|
||||
""
|
||||
v2025 "github.com/sailpoint-oss/golang-sdk/v2/api_v2025"
|
||||
openapiclient "github.com/sailpoint-oss/golang-sdk/v2"
|
||||
)
|
||||
|
||||
@@ -367,7 +367,7 @@ func main() {
|
||||
|
||||
configuration := NewDefaultConfiguration()
|
||||
apiClient := NewAPIClient(configuration)
|
||||
resp, r, err := apiClient..MultiHostIntegrationAPI.GetEntitlementAggregationGroups(context.Background(), multiHostId).Offset(offset).Limit(limit).Execute()
|
||||
resp, r, err := apiClient.V2025.MultiHostIntegrationAPI.GetEntitlementAggregationGroups(context.Background(), multiHostId).Offset(offset).Limit(limit).Execute()
|
||||
if err != nil {
|
||||
fmt.Fprintf(os.Stderr, "Error when calling `MultiHostIntegrationAPI.GetEntitlementAggregationGroups``: %v\n", err)
|
||||
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
|
||||
@@ -385,7 +385,7 @@ Get an existing Multi-Host Integration.
|
||||
|
||||
A token with Org Admin or Multi-Host Integration Admin authority is required to access this endpoint.
|
||||
|
||||
[API Spec](https://developer.sailpoint.com/docs/api//get-multi-host-integrations)
|
||||
[API Spec](https://developer.sailpoint.com/docs/api/v2025/get-multi-host-integrations)
|
||||
|
||||
### Path Parameters
|
||||
|
||||
@@ -422,7 +422,7 @@ import (
|
||||
"context"
|
||||
"fmt"
|
||||
"os"
|
||||
""
|
||||
v2025 "github.com/sailpoint-oss/golang-sdk/v2/api_v2025"
|
||||
openapiclient "github.com/sailpoint-oss/golang-sdk/v2"
|
||||
)
|
||||
|
||||
@@ -431,7 +431,7 @@ func main() {
|
||||
|
||||
configuration := NewDefaultConfiguration()
|
||||
apiClient := NewAPIClient(configuration)
|
||||
resp, r, err := apiClient..MultiHostIntegrationAPI.GetMultiHostIntegrations(context.Background(), multihostId).Execute()
|
||||
resp, r, err := apiClient.V2025.MultiHostIntegrationAPI.GetMultiHostIntegrations(context.Background(), multihostId).Execute()
|
||||
if err != nil {
|
||||
fmt.Fprintf(os.Stderr, "Error when calling `MultiHostIntegrationAPI.GetMultiHostIntegrations``: %v\n", err)
|
||||
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
|
||||
@@ -449,7 +449,7 @@ Get a list of Multi-Host Integrations.
|
||||
|
||||
A token with Org Admin or Multi-Host Admin authority is required to access this endpoint.
|
||||
|
||||
[API Spec](https://developer.sailpoint.com/docs/api//get-multi-host-integrations-list)
|
||||
[API Spec](https://developer.sailpoint.com/docs/api/v2025/get-multi-host-integrations-list)
|
||||
|
||||
### Path Parameters
|
||||
|
||||
@@ -487,7 +487,7 @@ import (
|
||||
"context"
|
||||
"fmt"
|
||||
"os"
|
||||
""
|
||||
v2025 "github.com/sailpoint-oss/golang-sdk/v2/api_v2025"
|
||||
openapiclient "github.com/sailpoint-oss/golang-sdk/v2"
|
||||
)
|
||||
|
||||
@@ -501,7 +501,7 @@ func main() {
|
||||
|
||||
configuration := NewDefaultConfiguration()
|
||||
apiClient := NewAPIClient(configuration)
|
||||
resp, r, err := apiClient..MultiHostIntegrationAPI.GetMultiHostIntegrationsList(context.Background()).Offset(offset).Limit(limit).Sorters(sorters).Filters(filters).Count(count).ForSubadmin(forSubadmin).Execute()
|
||||
resp, r, err := apiClient.V2025.MultiHostIntegrationAPI.GetMultiHostIntegrationsList(context.Background()).Offset(offset).Limit(limit).Sorters(sorters).Filters(filters).Count(count).ForSubadmin(forSubadmin).Execute()
|
||||
if err != nil {
|
||||
fmt.Fprintf(os.Stderr, "Error when calling `MultiHostIntegrationAPI.GetMultiHostIntegrationsList``: %v\n", err)
|
||||
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
|
||||
@@ -519,7 +519,7 @@ Get a list of sources creation errors within Multi-Host Integration ID.
|
||||
|
||||
A token with Org Admin or Multi-Host Admin authority is required to access this endpoint.
|
||||
|
||||
[API Spec](https://developer.sailpoint.com/docs/api//get-multi-host-source-creation-errors)
|
||||
[API Spec](https://developer.sailpoint.com/docs/api/v2025/get-multi-host-source-creation-errors)
|
||||
|
||||
### Path Parameters
|
||||
|
||||
@@ -556,7 +556,7 @@ import (
|
||||
"context"
|
||||
"fmt"
|
||||
"os"
|
||||
""
|
||||
v2025 "github.com/sailpoint-oss/golang-sdk/v2/api_v2025"
|
||||
openapiclient "github.com/sailpoint-oss/golang-sdk/v2"
|
||||
)
|
||||
|
||||
@@ -565,7 +565,7 @@ func main() {
|
||||
|
||||
configuration := NewDefaultConfiguration()
|
||||
apiClient := NewAPIClient(configuration)
|
||||
resp, r, err := apiClient..MultiHostIntegrationAPI.GetMultiHostSourceCreationErrors(context.Background(), multiHostId).Execute()
|
||||
resp, r, err := apiClient.V2025.MultiHostIntegrationAPI.GetMultiHostSourceCreationErrors(context.Background(), multiHostId).Execute()
|
||||
if err != nil {
|
||||
fmt.Fprintf(os.Stderr, "Error when calling `MultiHostIntegrationAPI.GetMultiHostSourceCreationErrors``: %v\n", err)
|
||||
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
|
||||
@@ -583,7 +583,7 @@ This API endpoint returns the current list of supported Multi-Host Integration t
|
||||
|
||||
A token with Org Admin or Multi-Host Admin authority is required to access this endpoint.
|
||||
|
||||
[API Spec](https://developer.sailpoint.com/docs/api//get-multihost-integration-types)
|
||||
[API Spec](https://developer.sailpoint.com/docs/api/v2025/get-multihost-integration-types)
|
||||
|
||||
### Path Parameters
|
||||
|
||||
@@ -612,7 +612,7 @@ import (
|
||||
"context"
|
||||
"fmt"
|
||||
"os"
|
||||
""
|
||||
v2025 "github.com/sailpoint-oss/golang-sdk/v2/api_v2025"
|
||||
openapiclient "github.com/sailpoint-oss/golang-sdk/v2"
|
||||
)
|
||||
|
||||
@@ -620,7 +620,7 @@ func main() {
|
||||
|
||||
configuration := NewDefaultConfiguration()
|
||||
apiClient := NewAPIClient(configuration)
|
||||
resp, r, err := apiClient..MultiHostIntegrationAPI.GetMultihostIntegrationTypes(context.Background()).Execute()
|
||||
resp, r, err := apiClient.V2025.MultiHostIntegrationAPI.GetMultihostIntegrationTypes(context.Background()).Execute()
|
||||
if err != nil {
|
||||
fmt.Fprintf(os.Stderr, "Error when calling `MultiHostIntegrationAPI.GetMultihostIntegrationTypes``: %v\n", err)
|
||||
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
|
||||
@@ -638,7 +638,7 @@ Get a list of sources within Multi-Host Integration ID.
|
||||
|
||||
A token with Org Admin or Multi-Host Admin authority is required to access this endpoint.
|
||||
|
||||
[API Spec](https://developer.sailpoint.com/docs/api//get-sources-within-multi-host)
|
||||
[API Spec](https://developer.sailpoint.com/docs/api/v2025/get-sources-within-multi-host)
|
||||
|
||||
### Path Parameters
|
||||
|
||||
@@ -680,7 +680,7 @@ import (
|
||||
"context"
|
||||
"fmt"
|
||||
"os"
|
||||
""
|
||||
v2025 "github.com/sailpoint-oss/golang-sdk/v2/api_v2025"
|
||||
openapiclient "github.com/sailpoint-oss/golang-sdk/v2"
|
||||
)
|
||||
|
||||
@@ -694,7 +694,7 @@ func main() {
|
||||
|
||||
configuration := NewDefaultConfiguration()
|
||||
apiClient := NewAPIClient(configuration)
|
||||
resp, r, err := apiClient..MultiHostIntegrationAPI.GetSourcesWithinMultiHost(context.Background(), multihostId).Offset(offset).Limit(limit).Sorters(sorters).Filters(filters).Count(count).Execute()
|
||||
resp, r, err := apiClient.V2025.MultiHostIntegrationAPI.GetSourcesWithinMultiHost(context.Background(), multihostId).Offset(offset).Limit(limit).Sorters(sorters).Filters(filters).Count(count).Execute()
|
||||
if err != nil {
|
||||
fmt.Fprintf(os.Stderr, "Error when calling `MultiHostIntegrationAPI.GetSourcesWithinMultiHost``: %v\n", err)
|
||||
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
|
||||
@@ -712,7 +712,7 @@ This endpoint performs a more detailed validation of the Multi-Host Integration'
|
||||
|
||||
A token with Org Admin or Multi-Host Admin authority is required to access this endpoint.
|
||||
|
||||
[API Spec](https://developer.sailpoint.com/docs/api//test-connection-multi-host-sources)
|
||||
[API Spec](https://developer.sailpoint.com/docs/api/v2025/test-connection-multi-host-sources)
|
||||
|
||||
### Path Parameters
|
||||
|
||||
@@ -749,7 +749,7 @@ import (
|
||||
"context"
|
||||
"fmt"
|
||||
"os"
|
||||
""
|
||||
v2025 "github.com/sailpoint-oss/golang-sdk/v2/api_v2025"
|
||||
openapiclient "github.com/sailpoint-oss/golang-sdk/v2"
|
||||
)
|
||||
|
||||
@@ -758,7 +758,7 @@ func main() {
|
||||
|
||||
configuration := NewDefaultConfiguration()
|
||||
apiClient := NewAPIClient(configuration)
|
||||
r, err := apiClient..MultiHostIntegrationAPI.TestConnectionMultiHostSources(context.Background(), multihostId).Execute()
|
||||
r, err := apiClient.V2025.MultiHostIntegrationAPI.TestConnectionMultiHostSources(context.Background(), multihostId).Execute()
|
||||
if err != nil {
|
||||
fmt.Fprintf(os.Stderr, "Error when calling `MultiHostIntegrationAPI.TestConnectionMultiHostSources``: %v\n", err)
|
||||
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
|
||||
@@ -774,7 +774,7 @@ This endpoint performs a more detailed validation of the source's configuration.
|
||||
|
||||
A token with Org Admin or Multi-Host Admin authority is required to access this endpoint.
|
||||
|
||||
[API Spec](https://developer.sailpoint.com/docs/api//test-source-connection-multihost)
|
||||
[API Spec](https://developer.sailpoint.com/docs/api/v2025/test-source-connection-multihost)
|
||||
|
||||
### Path Parameters
|
||||
|
||||
@@ -813,7 +813,7 @@ import (
|
||||
"context"
|
||||
"fmt"
|
||||
"os"
|
||||
""
|
||||
v2025 "github.com/sailpoint-oss/golang-sdk/v2/api_v2025"
|
||||
openapiclient "github.com/sailpoint-oss/golang-sdk/v2"
|
||||
)
|
||||
|
||||
@@ -823,7 +823,7 @@ func main() {
|
||||
|
||||
configuration := NewDefaultConfiguration()
|
||||
apiClient := NewAPIClient(configuration)
|
||||
resp, r, err := apiClient..MultiHostIntegrationAPI.TestSourceConnectionMultihost(context.Background(), multihostId, sourceId).Execute()
|
||||
resp, r, err := apiClient.V2025.MultiHostIntegrationAPI.TestSourceConnectionMultihost(context.Background(), multihostId, sourceId).Execute()
|
||||
if err != nil {
|
||||
fmt.Fprintf(os.Stderr, "Error when calling `MultiHostIntegrationAPI.TestSourceConnectionMultihost``: %v\n", err)
|
||||
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
|
||||
@@ -841,7 +841,7 @@ Update existing sources within Multi-Host Integration.
|
||||
|
||||
A token with Org Admin or Multi-Host Admin authority is required to access this endpoint.
|
||||
|
||||
[API Spec](https://developer.sailpoint.com/docs/api//update-multi-host-sources)
|
||||
[API Spec](https://developer.sailpoint.com/docs/api/v2025/update-multi-host-sources)
|
||||
|
||||
### Path Parameters
|
||||
|
||||
@@ -879,7 +879,7 @@ import (
|
||||
"context"
|
||||
"fmt"
|
||||
"os"
|
||||
""
|
||||
v2025 "github.com/sailpoint-oss/golang-sdk/v2/api_v2025"
|
||||
openapiclient "github.com/sailpoint-oss/golang-sdk/v2"
|
||||
)
|
||||
|
||||
@@ -889,7 +889,7 @@ func main() {
|
||||
|
||||
configuration := NewDefaultConfiguration()
|
||||
apiClient := NewAPIClient(configuration)
|
||||
r, err := apiClient..MultiHostIntegrationAPI.UpdateMultiHostSources(context.Background(), multihostId).UpdateMultiHostSourcesRequestInner(updateMultiHostSourcesRequestInner).Execute()
|
||||
r, err := apiClient.V2025.MultiHostIntegrationAPI.UpdateMultiHostSources(context.Background(), multihostId).UpdateMultiHostSourcesRequestInner(updateMultiHostSourcesRequestInner).Execute()
|
||||
if err != nil {
|
||||
fmt.Fprintf(os.Stderr, "Error when calling `MultiHostIntegrationAPI.UpdateMultiHostSources``: %v\n", err)
|
||||
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
|
||||
|
||||
@@ -1,12 +1,12 @@
|
||||
---
|
||||
id: non-employee-lifecycle-management
|
||||
id: v2025-non-employee-lifecycle-management
|
||||
title: NonEmployeeLifecycleManagement
|
||||
pagination_label: NonEmployeeLifecycleManagement
|
||||
sidebar_label: NonEmployeeLifecycleManagement
|
||||
sidebar_class_name: gosdk
|
||||
keywords: ['go', 'Golang', 'sdk', 'NonEmployeeLifecycleManagement', 'NonEmployeeLifecycleManagement']
|
||||
slug: /tools/sdk/go//methods/non-employee-lifecycle-management
|
||||
tags: ['SDK', 'Software Development Kit', 'NonEmployeeLifecycleManagement', 'NonEmployeeLifecycleManagement']
|
||||
keywords: ['go', 'Golang', 'sdk', 'NonEmployeeLifecycleManagement', 'V2025NonEmployeeLifecycleManagement']
|
||||
slug: /tools/sdk/go/v2025/methods/non-employee-lifecycle-management
|
||||
tags: ['SDK', 'Software Development Kit', 'NonEmployeeLifecycleManagement', 'V2025NonEmployeeLifecycleManagement']
|
||||
---
|
||||
|
||||
# NonEmployeeLifecycleManagementAPI
|
||||
@@ -84,7 +84,7 @@ Method | HTTP request | Description
|
||||
Approve a Non-Employee Request
|
||||
Approves a non-employee approval request and notifies the next approver. The current user must be the requested approver.
|
||||
|
||||
[API Spec](https://developer.sailpoint.com/docs/api//approve-non-employee-request)
|
||||
[API Spec](https://developer.sailpoint.com/docs/api/v2025/approve-non-employee-request)
|
||||
|
||||
### Path Parameters
|
||||
|
||||
@@ -122,7 +122,7 @@ import (
|
||||
"context"
|
||||
"fmt"
|
||||
"os"
|
||||
""
|
||||
v2025 "github.com/sailpoint-oss/golang-sdk/v2/api_v2025"
|
||||
openapiclient "github.com/sailpoint-oss/golang-sdk/v2"
|
||||
)
|
||||
|
||||
@@ -134,7 +134,7 @@ func main() {
|
||||
|
||||
configuration := NewDefaultConfiguration()
|
||||
apiClient := NewAPIClient(configuration)
|
||||
resp, r, err := apiClient..NonEmployeeLifecycleManagementAPI.ApproveNonEmployeeRequest(context.Background(), id).NonEmployeeApprovalDecision(nonEmployeeApprovalDecision).Execute()
|
||||
resp, r, err := apiClient.V2025.NonEmployeeLifecycleManagementAPI.ApproveNonEmployeeRequest(context.Background(), id).NonEmployeeApprovalDecision(nonEmployeeApprovalDecision).Execute()
|
||||
if err != nil {
|
||||
fmt.Fprintf(os.Stderr, "Error when calling `NonEmployeeLifecycleManagementAPI.ApproveNonEmployeeRequest``: %v\n", err)
|
||||
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
|
||||
@@ -151,7 +151,7 @@ Create Non-Employee Record
|
||||
This request will create a non-employee record.
|
||||
Requires role context of `idn:nesr:create`
|
||||
|
||||
[API Spec](https://developer.sailpoint.com/docs/api//create-non-employee-record)
|
||||
[API Spec](https://developer.sailpoint.com/docs/api/v2025/create-non-employee-record)
|
||||
|
||||
### Path Parameters
|
||||
|
||||
@@ -185,7 +185,7 @@ import (
|
||||
"fmt"
|
||||
"os"
|
||||
|
||||
""
|
||||
v2025 "github.com/sailpoint-oss/golang-sdk/v2/api_v2025"
|
||||
openapiclient "github.com/sailpoint-oss/golang-sdk/v2"
|
||||
)
|
||||
|
||||
@@ -207,7 +207,7 @@ func main() {
|
||||
|
||||
configuration := NewDefaultConfiguration()
|
||||
apiClient := NewAPIClient(configuration)
|
||||
resp, r, err := apiClient..NonEmployeeLifecycleManagementAPI.CreateNonEmployeeRecord(context.Background()).NonEmployeeRequestBody(nonEmployeeRequestBody).Execute()
|
||||
resp, r, err := apiClient.V2025.NonEmployeeLifecycleManagementAPI.CreateNonEmployeeRecord(context.Background()).NonEmployeeRequestBody(nonEmployeeRequestBody).Execute()
|
||||
if err != nil {
|
||||
fmt.Fprintf(os.Stderr, "Error when calling `NonEmployeeLifecycleManagementAPI.CreateNonEmployeeRecord``: %v\n", err)
|
||||
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
|
||||
@@ -223,7 +223,7 @@ func main() {
|
||||
Create Non-Employee Request
|
||||
This request will create a non-employee request and notify the approver. Requires role context of `idn:nesr:create` or the user must own the source.
|
||||
|
||||
[API Spec](https://developer.sailpoint.com/docs/api//create-non-employee-request)
|
||||
[API Spec](https://developer.sailpoint.com/docs/api/v2025/create-non-employee-request)
|
||||
|
||||
### Path Parameters
|
||||
|
||||
@@ -257,7 +257,7 @@ import (
|
||||
"fmt"
|
||||
"os"
|
||||
|
||||
""
|
||||
v2025 "github.com/sailpoint-oss/golang-sdk/v2/api_v2025"
|
||||
openapiclient "github.com/sailpoint-oss/golang-sdk/v2"
|
||||
)
|
||||
|
||||
@@ -279,7 +279,7 @@ func main() {
|
||||
|
||||
configuration := NewDefaultConfiguration()
|
||||
apiClient := NewAPIClient(configuration)
|
||||
resp, r, err := apiClient..NonEmployeeLifecycleManagementAPI.CreateNonEmployeeRequest(context.Background()).NonEmployeeRequestBody(nonEmployeeRequestBody).Execute()
|
||||
resp, r, err := apiClient.V2025.NonEmployeeLifecycleManagementAPI.CreateNonEmployeeRequest(context.Background()).NonEmployeeRequestBody(nonEmployeeRequestBody).Execute()
|
||||
if err != nil {
|
||||
fmt.Fprintf(os.Stderr, "Error when calling `NonEmployeeLifecycleManagementAPI.CreateNonEmployeeRequest``: %v\n", err)
|
||||
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
|
||||
@@ -295,7 +295,7 @@ func main() {
|
||||
Create Non-Employee Source
|
||||
Create a non-employee source.
|
||||
|
||||
[API Spec](https://developer.sailpoint.com/docs/api//create-non-employee-source)
|
||||
[API Spec](https://developer.sailpoint.com/docs/api/v2025/create-non-employee-source)
|
||||
|
||||
### Path Parameters
|
||||
|
||||
@@ -328,7 +328,7 @@ import (
|
||||
"context"
|
||||
"fmt"
|
||||
"os"
|
||||
""
|
||||
v2025 "github.com/sailpoint-oss/golang-sdk/v2/api_v2025"
|
||||
openapiclient "github.com/sailpoint-oss/golang-sdk/v2"
|
||||
)
|
||||
|
||||
@@ -362,7 +362,7 @@ func main() {
|
||||
|
||||
configuration := NewDefaultConfiguration()
|
||||
apiClient := NewAPIClient(configuration)
|
||||
resp, r, err := apiClient..NonEmployeeLifecycleManagementAPI.CreateNonEmployeeSource(context.Background()).NonEmployeeSourceRequestBody(nonEmployeeSourceRequestBody).Execute()
|
||||
resp, r, err := apiClient.V2025.NonEmployeeLifecycleManagementAPI.CreateNonEmployeeSource(context.Background()).NonEmployeeSourceRequestBody(nonEmployeeSourceRequestBody).Execute()
|
||||
if err != nil {
|
||||
fmt.Fprintf(os.Stderr, "Error when calling `NonEmployeeLifecycleManagementAPI.CreateNonEmployeeSource``: %v\n", err)
|
||||
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
|
||||
@@ -379,7 +379,7 @@ Create a new Schema Attribute for Non-Employee Source
|
||||
This API creates a new schema attribute for Non-Employee Source. The schema technical name must be unique in the source. Attempts to create a schema attribute with an existing name will result in a "400.1.409 Reference conflict" response. At most, 10 custom attributes can be created per schema. Attempts to create more than 10 will result in a "400.1.4 Limit violation" response.
|
||||
Requires role context of `idn:nesr:create`
|
||||
|
||||
[API Spec](https://developer.sailpoint.com/docs/api//create-non-employee-source-schema-attributes)
|
||||
[API Spec](https://developer.sailpoint.com/docs/api/v2025/create-non-employee-source-schema-attributes)
|
||||
|
||||
### Path Parameters
|
||||
|
||||
@@ -417,7 +417,7 @@ import (
|
||||
"context"
|
||||
"fmt"
|
||||
"os"
|
||||
""
|
||||
v2025 "github.com/sailpoint-oss/golang-sdk/v2/api_v2025"
|
||||
openapiclient "github.com/sailpoint-oss/golang-sdk/v2"
|
||||
)
|
||||
|
||||
@@ -434,7 +434,7 @@ func main() {
|
||||
|
||||
configuration := NewDefaultConfiguration()
|
||||
apiClient := NewAPIClient(configuration)
|
||||
resp, r, err := apiClient..NonEmployeeLifecycleManagementAPI.CreateNonEmployeeSourceSchemaAttributes(context.Background(), sourceId).NonEmployeeSchemaAttributeBody(nonEmployeeSchemaAttributeBody).Execute()
|
||||
resp, r, err := apiClient.V2025.NonEmployeeLifecycleManagementAPI.CreateNonEmployeeSourceSchemaAttributes(context.Background(), sourceId).NonEmployeeSchemaAttributeBody(nonEmployeeSchemaAttributeBody).Execute()
|
||||
if err != nil {
|
||||
fmt.Fprintf(os.Stderr, "Error when calling `NonEmployeeLifecycleManagementAPI.CreateNonEmployeeSourceSchemaAttributes``: %v\n", err)
|
||||
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
|
||||
@@ -451,7 +451,7 @@ Delete Non-Employee Record
|
||||
This request will delete a non-employee record.
|
||||
Requires role context of `idn:nesr:delete`
|
||||
|
||||
[API Spec](https://developer.sailpoint.com/docs/api//delete-non-employee-record)
|
||||
[API Spec](https://developer.sailpoint.com/docs/api/v2025/delete-non-employee-record)
|
||||
|
||||
### Path Parameters
|
||||
|
||||
@@ -488,7 +488,7 @@ import (
|
||||
"context"
|
||||
"fmt"
|
||||
"os"
|
||||
""
|
||||
v2025 "github.com/sailpoint-oss/golang-sdk/v2/api_v2025"
|
||||
openapiclient "github.com/sailpoint-oss/golang-sdk/v2"
|
||||
)
|
||||
|
||||
@@ -497,7 +497,7 @@ func main() {
|
||||
|
||||
configuration := NewDefaultConfiguration()
|
||||
apiClient := NewAPIClient(configuration)
|
||||
r, err := apiClient..NonEmployeeLifecycleManagementAPI.DeleteNonEmployeeRecord(context.Background(), id).Execute()
|
||||
r, err := apiClient.V2025.NonEmployeeLifecycleManagementAPI.DeleteNonEmployeeRecord(context.Background(), id).Execute()
|
||||
if err != nil {
|
||||
fmt.Fprintf(os.Stderr, "Error when calling `NonEmployeeLifecycleManagementAPI.DeleteNonEmployeeRecord``: %v\n", err)
|
||||
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
|
||||
@@ -511,7 +511,7 @@ func main() {
|
||||
Delete Multiple Non-Employee Records
|
||||
This request will delete multiple non-employee records based on the non-employee ids provided. Requires role context of `idn:nesr:delete`
|
||||
|
||||
[API Spec](https://developer.sailpoint.com/docs/api//delete-non-employee-records-in-bulk)
|
||||
[API Spec](https://developer.sailpoint.com/docs/api/v2025/delete-non-employee-records-in-bulk)
|
||||
|
||||
### Path Parameters
|
||||
|
||||
@@ -544,7 +544,7 @@ import (
|
||||
"context"
|
||||
"fmt"
|
||||
"os"
|
||||
""
|
||||
v2025 "github.com/sailpoint-oss/golang-sdk/v2/api_v2025"
|
||||
openapiclient "github.com/sailpoint-oss/golang-sdk/v2"
|
||||
)
|
||||
|
||||
@@ -553,7 +553,7 @@ func main() {
|
||||
|
||||
configuration := NewDefaultConfiguration()
|
||||
apiClient := NewAPIClient(configuration)
|
||||
r, err := apiClient..NonEmployeeLifecycleManagementAPI.DeleteNonEmployeeRecordsInBulk(context.Background()).DeleteNonEmployeeRecordsInBulkRequest(deleteNonEmployeeRecordsInBulkRequest).Execute()
|
||||
r, err := apiClient.V2025.NonEmployeeLifecycleManagementAPI.DeleteNonEmployeeRecordsInBulk(context.Background()).DeleteNonEmployeeRecordsInBulkRequest(deleteNonEmployeeRecordsInBulkRequest).Execute()
|
||||
if err != nil {
|
||||
fmt.Fprintf(os.Stderr, "Error when calling `NonEmployeeLifecycleManagementAPI.DeleteNonEmployeeRecordsInBulk``: %v\n", err)
|
||||
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
|
||||
@@ -568,7 +568,7 @@ Delete Non-Employee Request
|
||||
This request will delete a non-employee request.
|
||||
Requires role context of `idn:nesr:delete`
|
||||
|
||||
[API Spec](https://developer.sailpoint.com/docs/api//delete-non-employee-request)
|
||||
[API Spec](https://developer.sailpoint.com/docs/api/v2025/delete-non-employee-request)
|
||||
|
||||
### Path Parameters
|
||||
|
||||
@@ -605,7 +605,7 @@ import (
|
||||
"context"
|
||||
"fmt"
|
||||
"os"
|
||||
""
|
||||
v2025 "github.com/sailpoint-oss/golang-sdk/v2/api_v2025"
|
||||
openapiclient "github.com/sailpoint-oss/golang-sdk/v2"
|
||||
)
|
||||
|
||||
@@ -614,7 +614,7 @@ func main() {
|
||||
|
||||
configuration := NewDefaultConfiguration()
|
||||
apiClient := NewAPIClient(configuration)
|
||||
r, err := apiClient..NonEmployeeLifecycleManagementAPI.DeleteNonEmployeeRequest(context.Background(), id).Execute()
|
||||
r, err := apiClient.V2025.NonEmployeeLifecycleManagementAPI.DeleteNonEmployeeRequest(context.Background(), id).Execute()
|
||||
if err != nil {
|
||||
fmt.Fprintf(os.Stderr, "Error when calling `NonEmployeeLifecycleManagementAPI.DeleteNonEmployeeRequest``: %v\n", err)
|
||||
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
|
||||
@@ -630,7 +630,7 @@ This end-point deletes a specific schema attribute for a non-employee source.
|
||||
Requires role context of `idn:nesr:delete`
|
||||
|
||||
|
||||
[API Spec](https://developer.sailpoint.com/docs/api//delete-non-employee-schema-attribute)
|
||||
[API Spec](https://developer.sailpoint.com/docs/api/v2025/delete-non-employee-schema-attribute)
|
||||
|
||||
### Path Parameters
|
||||
|
||||
@@ -669,7 +669,7 @@ import (
|
||||
"context"
|
||||
"fmt"
|
||||
"os"
|
||||
""
|
||||
v2025 "github.com/sailpoint-oss/golang-sdk/v2/api_v2025"
|
||||
openapiclient "github.com/sailpoint-oss/golang-sdk/v2"
|
||||
)
|
||||
|
||||
@@ -679,7 +679,7 @@ func main() {
|
||||
|
||||
configuration := NewDefaultConfiguration()
|
||||
apiClient := NewAPIClient(configuration)
|
||||
r, err := apiClient..NonEmployeeLifecycleManagementAPI.DeleteNonEmployeeSchemaAttribute(context.Background(), attributeId, sourceId).Execute()
|
||||
r, err := apiClient.V2025.NonEmployeeLifecycleManagementAPI.DeleteNonEmployeeSchemaAttribute(context.Background(), attributeId, sourceId).Execute()
|
||||
if err != nil {
|
||||
fmt.Fprintf(os.Stderr, "Error when calling `NonEmployeeLifecycleManagementAPI.DeleteNonEmployeeSchemaAttribute``: %v\n", err)
|
||||
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
|
||||
@@ -693,7 +693,7 @@ func main() {
|
||||
Delete Non-Employee Source
|
||||
This request will delete a non-employee source. Requires role context of `idn:nesr:delete`.
|
||||
|
||||
[API Spec](https://developer.sailpoint.com/docs/api//delete-non-employee-source)
|
||||
[API Spec](https://developer.sailpoint.com/docs/api/v2025/delete-non-employee-source)
|
||||
|
||||
### Path Parameters
|
||||
|
||||
@@ -730,7 +730,7 @@ import (
|
||||
"context"
|
||||
"fmt"
|
||||
"os"
|
||||
""
|
||||
v2025 "github.com/sailpoint-oss/golang-sdk/v2/api_v2025"
|
||||
openapiclient "github.com/sailpoint-oss/golang-sdk/v2"
|
||||
)
|
||||
|
||||
@@ -739,7 +739,7 @@ func main() {
|
||||
|
||||
configuration := NewDefaultConfiguration()
|
||||
apiClient := NewAPIClient(configuration)
|
||||
r, err := apiClient..NonEmployeeLifecycleManagementAPI.DeleteNonEmployeeSource(context.Background(), sourceId).Execute()
|
||||
r, err := apiClient.V2025.NonEmployeeLifecycleManagementAPI.DeleteNonEmployeeSource(context.Background(), sourceId).Execute()
|
||||
if err != nil {
|
||||
fmt.Fprintf(os.Stderr, "Error when calling `NonEmployeeLifecycleManagementAPI.DeleteNonEmployeeSource``: %v\n", err)
|
||||
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
|
||||
@@ -753,7 +753,7 @@ func main() {
|
||||
Delete all custom schema attributes for Non-Employee Source
|
||||
This end-point deletes all custom schema attributes for a non-employee source. Requires role context of `idn:nesr:delete`
|
||||
|
||||
[API Spec](https://developer.sailpoint.com/docs/api//delete-non-employee-source-schema-attributes)
|
||||
[API Spec](https://developer.sailpoint.com/docs/api/v2025/delete-non-employee-source-schema-attributes)
|
||||
|
||||
### Path Parameters
|
||||
|
||||
@@ -790,7 +790,7 @@ import (
|
||||
"context"
|
||||
"fmt"
|
||||
"os"
|
||||
""
|
||||
v2025 "github.com/sailpoint-oss/golang-sdk/v2/api_v2025"
|
||||
openapiclient "github.com/sailpoint-oss/golang-sdk/v2"
|
||||
)
|
||||
|
||||
@@ -799,7 +799,7 @@ func main() {
|
||||
|
||||
configuration := NewDefaultConfiguration()
|
||||
apiClient := NewAPIClient(configuration)
|
||||
r, err := apiClient..NonEmployeeLifecycleManagementAPI.DeleteNonEmployeeSourceSchemaAttributes(context.Background(), sourceId).Execute()
|
||||
r, err := apiClient.V2025.NonEmployeeLifecycleManagementAPI.DeleteNonEmployeeSourceSchemaAttributes(context.Background(), sourceId).Execute()
|
||||
if err != nil {
|
||||
fmt.Fprintf(os.Stderr, "Error when calling `NonEmployeeLifecycleManagementAPI.DeleteNonEmployeeSourceSchemaAttributes``: %v\n", err)
|
||||
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
|
||||
@@ -813,7 +813,7 @@ func main() {
|
||||
Exports Non-Employee Records to CSV
|
||||
This requests a CSV download for all non-employees from a provided source. Requires role context of `idn:nesr:read`
|
||||
|
||||
[API Spec](https://developer.sailpoint.com/docs/api//export-non-employee-records)
|
||||
[API Spec](https://developer.sailpoint.com/docs/api/v2025/export-non-employee-records)
|
||||
|
||||
### Path Parameters
|
||||
|
||||
@@ -850,7 +850,7 @@ import (
|
||||
"context"
|
||||
"fmt"
|
||||
"os"
|
||||
""
|
||||
v2025 "github.com/sailpoint-oss/golang-sdk/v2/api_v2025"
|
||||
openapiclient "github.com/sailpoint-oss/golang-sdk/v2"
|
||||
)
|
||||
|
||||
@@ -859,7 +859,7 @@ func main() {
|
||||
|
||||
configuration := NewDefaultConfiguration()
|
||||
apiClient := NewAPIClient(configuration)
|
||||
r, err := apiClient..NonEmployeeLifecycleManagementAPI.ExportNonEmployeeRecords(context.Background(), id).Execute()
|
||||
r, err := apiClient.V2025.NonEmployeeLifecycleManagementAPI.ExportNonEmployeeRecords(context.Background(), id).Execute()
|
||||
if err != nil {
|
||||
fmt.Fprintf(os.Stderr, "Error when calling `NonEmployeeLifecycleManagementAPI.ExportNonEmployeeRecords``: %v\n", err)
|
||||
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
|
||||
@@ -873,7 +873,7 @@ func main() {
|
||||
Exports Source Schema Template
|
||||
This requests a download for the Source Schema Template for a provided source. Requires role context of `idn:nesr:read`
|
||||
|
||||
[API Spec](https://developer.sailpoint.com/docs/api//export-non-employee-source-schema-template)
|
||||
[API Spec](https://developer.sailpoint.com/docs/api/v2025/export-non-employee-source-schema-template)
|
||||
|
||||
### Path Parameters
|
||||
|
||||
@@ -910,7 +910,7 @@ import (
|
||||
"context"
|
||||
"fmt"
|
||||
"os"
|
||||
""
|
||||
v2025 "github.com/sailpoint-oss/golang-sdk/v2/api_v2025"
|
||||
openapiclient "github.com/sailpoint-oss/golang-sdk/v2"
|
||||
)
|
||||
|
||||
@@ -919,7 +919,7 @@ func main() {
|
||||
|
||||
configuration := NewDefaultConfiguration()
|
||||
apiClient := NewAPIClient(configuration)
|
||||
r, err := apiClient..NonEmployeeLifecycleManagementAPI.ExportNonEmployeeSourceSchemaTemplate(context.Background(), id).Execute()
|
||||
r, err := apiClient.V2025.NonEmployeeLifecycleManagementAPI.ExportNonEmployeeSourceSchemaTemplate(context.Background(), id).Execute()
|
||||
if err != nil {
|
||||
fmt.Fprintf(os.Stderr, "Error when calling `NonEmployeeLifecycleManagementAPI.ExportNonEmployeeSourceSchemaTemplate``: %v\n", err)
|
||||
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
|
||||
@@ -936,7 +936,7 @@ Gets a non-employee approval item detail. There are two contextual uses for this
|
||||
can get any approval.
|
||||
2. The user owns the requested approval.
|
||||
|
||||
[API Spec](https://developer.sailpoint.com/docs/api//get-non-employee-approval)
|
||||
[API Spec](https://developer.sailpoint.com/docs/api/v2025/get-non-employee-approval)
|
||||
|
||||
### Path Parameters
|
||||
|
||||
@@ -974,7 +974,7 @@ import (
|
||||
"context"
|
||||
"fmt"
|
||||
"os"
|
||||
""
|
||||
v2025 "github.com/sailpoint-oss/golang-sdk/v2/api_v2025"
|
||||
openapiclient "github.com/sailpoint-oss/golang-sdk/v2"
|
||||
)
|
||||
|
||||
@@ -984,7 +984,7 @@ func main() {
|
||||
|
||||
configuration := NewDefaultConfiguration()
|
||||
apiClient := NewAPIClient(configuration)
|
||||
resp, r, err := apiClient..NonEmployeeLifecycleManagementAPI.GetNonEmployeeApproval(context.Background(), id).IncludeDetail(includeDetail).Execute()
|
||||
resp, r, err := apiClient.V2025.NonEmployeeLifecycleManagementAPI.GetNonEmployeeApproval(context.Background(), id).IncludeDetail(includeDetail).Execute()
|
||||
if err != nil {
|
||||
fmt.Fprintf(os.Stderr, "Error when calling `NonEmployeeLifecycleManagementAPI.GetNonEmployeeApproval``: %v\n", err)
|
||||
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
|
||||
@@ -1004,7 +1004,7 @@ she may request a summary of all non-employee approval requests assigned to a pa
|
||||
2. The current user is an approver, in which case "me" should be provided
|
||||
as the `requested-for` value. This will provide the approver with a summary of the approval items assigned to him or her.
|
||||
|
||||
[API Spec](https://developer.sailpoint.com/docs/api//get-non-employee-approval-summary)
|
||||
[API Spec](https://developer.sailpoint.com/docs/api/v2025/get-non-employee-approval-summary)
|
||||
|
||||
### Path Parameters
|
||||
|
||||
@@ -1041,7 +1041,7 @@ import (
|
||||
"context"
|
||||
"fmt"
|
||||
"os"
|
||||
""
|
||||
v2025 "github.com/sailpoint-oss/golang-sdk/v2/api_v2025"
|
||||
openapiclient "github.com/sailpoint-oss/golang-sdk/v2"
|
||||
)
|
||||
|
||||
@@ -1050,7 +1050,7 @@ func main() {
|
||||
|
||||
configuration := NewDefaultConfiguration()
|
||||
apiClient := NewAPIClient(configuration)
|
||||
resp, r, err := apiClient..NonEmployeeLifecycleManagementAPI.GetNonEmployeeApprovalSummary(context.Background(), requestedFor).Execute()
|
||||
resp, r, err := apiClient.V2025.NonEmployeeLifecycleManagementAPI.GetNonEmployeeApprovalSummary(context.Background(), requestedFor).Execute()
|
||||
if err != nil {
|
||||
fmt.Fprintf(os.Stderr, "Error when calling `NonEmployeeLifecycleManagementAPI.GetNonEmployeeApprovalSummary``: %v\n", err)
|
||||
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
|
||||
@@ -1068,7 +1068,7 @@ The nonEmployeeBulkUploadStatus API returns the status of the newest bulk upload
|
||||
Requires role context of `idn:nesr:read`
|
||||
|
||||
|
||||
[API Spec](https://developer.sailpoint.com/docs/api//get-non-employee-bulk-upload-status)
|
||||
[API Spec](https://developer.sailpoint.com/docs/api/v2025/get-non-employee-bulk-upload-status)
|
||||
|
||||
### Path Parameters
|
||||
|
||||
@@ -1105,7 +1105,7 @@ import (
|
||||
"context"
|
||||
"fmt"
|
||||
"os"
|
||||
""
|
||||
v2025 "github.com/sailpoint-oss/golang-sdk/v2/api_v2025"
|
||||
openapiclient "github.com/sailpoint-oss/golang-sdk/v2"
|
||||
)
|
||||
|
||||
@@ -1114,7 +1114,7 @@ func main() {
|
||||
|
||||
configuration := NewDefaultConfiguration()
|
||||
apiClient := NewAPIClient(configuration)
|
||||
resp, r, err := apiClient..NonEmployeeLifecycleManagementAPI.GetNonEmployeeBulkUploadStatus(context.Background(), id).Execute()
|
||||
resp, r, err := apiClient.V2025.NonEmployeeLifecycleManagementAPI.GetNonEmployeeBulkUploadStatus(context.Background(), id).Execute()
|
||||
if err != nil {
|
||||
fmt.Fprintf(os.Stderr, "Error when calling `NonEmployeeLifecycleManagementAPI.GetNonEmployeeBulkUploadStatus``: %v\n", err)
|
||||
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
|
||||
@@ -1131,7 +1131,7 @@ Get a Non-Employee Record
|
||||
This gets a non-employee record.
|
||||
Requires role context of `idn:nesr:read`
|
||||
|
||||
[API Spec](https://developer.sailpoint.com/docs/api//get-non-employee-record)
|
||||
[API Spec](https://developer.sailpoint.com/docs/api/v2025/get-non-employee-record)
|
||||
|
||||
### Path Parameters
|
||||
|
||||
@@ -1168,7 +1168,7 @@ import (
|
||||
"context"
|
||||
"fmt"
|
||||
"os"
|
||||
""
|
||||
v2025 "github.com/sailpoint-oss/golang-sdk/v2/api_v2025"
|
||||
openapiclient "github.com/sailpoint-oss/golang-sdk/v2"
|
||||
)
|
||||
|
||||
@@ -1177,7 +1177,7 @@ func main() {
|
||||
|
||||
configuration := NewDefaultConfiguration()
|
||||
apiClient := NewAPIClient(configuration)
|
||||
resp, r, err := apiClient..NonEmployeeLifecycleManagementAPI.GetNonEmployeeRecord(context.Background(), id).Execute()
|
||||
resp, r, err := apiClient.V2025.NonEmployeeLifecycleManagementAPI.GetNonEmployeeRecord(context.Background(), id).Execute()
|
||||
if err != nil {
|
||||
fmt.Fprintf(os.Stderr, "Error when calling `NonEmployeeLifecycleManagementAPI.GetNonEmployeeRecord``: %v\n", err)
|
||||
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
|
||||
@@ -1197,7 +1197,7 @@ There are two contextual uses for this endpoint:
|
||||
can get the non-employee request for any user.
|
||||
2. The user must be the owner of the non-employee request.
|
||||
|
||||
[API Spec](https://developer.sailpoint.com/docs/api//get-non-employee-request)
|
||||
[API Spec](https://developer.sailpoint.com/docs/api/v2025/get-non-employee-request)
|
||||
|
||||
### Path Parameters
|
||||
|
||||
@@ -1234,7 +1234,7 @@ import (
|
||||
"context"
|
||||
"fmt"
|
||||
"os"
|
||||
""
|
||||
v2025 "github.com/sailpoint-oss/golang-sdk/v2/api_v2025"
|
||||
openapiclient "github.com/sailpoint-oss/golang-sdk/v2"
|
||||
)
|
||||
|
||||
@@ -1243,7 +1243,7 @@ func main() {
|
||||
|
||||
configuration := NewDefaultConfiguration()
|
||||
apiClient := NewAPIClient(configuration)
|
||||
resp, r, err := apiClient..NonEmployeeLifecycleManagementAPI.GetNonEmployeeRequest(context.Background(), id).Execute()
|
||||
resp, r, err := apiClient.V2025.NonEmployeeLifecycleManagementAPI.GetNonEmployeeRequest(context.Background(), id).Execute()
|
||||
if err != nil {
|
||||
fmt.Fprintf(os.Stderr, "Error when calling `NonEmployeeLifecycleManagementAPI.GetNonEmployeeRequest``: %v\n", err)
|
||||
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
|
||||
@@ -1263,7 +1263,7 @@ she may request a summary of all non-employee approval requests assigned to a pa
|
||||
2. The current user is an account manager, in which case "me" should be
|
||||
provided as the `requested-for` value. This will provide the user with a summary of the non-employee requests in the source(s) he or she manages.
|
||||
|
||||
[API Spec](https://developer.sailpoint.com/docs/api//get-non-employee-request-summary)
|
||||
[API Spec](https://developer.sailpoint.com/docs/api/v2025/get-non-employee-request-summary)
|
||||
|
||||
### Path Parameters
|
||||
|
||||
@@ -1300,7 +1300,7 @@ import (
|
||||
"context"
|
||||
"fmt"
|
||||
"os"
|
||||
""
|
||||
v2025 "github.com/sailpoint-oss/golang-sdk/v2/api_v2025"
|
||||
openapiclient "github.com/sailpoint-oss/golang-sdk/v2"
|
||||
)
|
||||
|
||||
@@ -1309,7 +1309,7 @@ func main() {
|
||||
|
||||
configuration := NewDefaultConfiguration()
|
||||
apiClient := NewAPIClient(configuration)
|
||||
resp, r, err := apiClient..NonEmployeeLifecycleManagementAPI.GetNonEmployeeRequestSummary(context.Background(), requestedFor).Execute()
|
||||
resp, r, err := apiClient.V2025.NonEmployeeLifecycleManagementAPI.GetNonEmployeeRequestSummary(context.Background(), requestedFor).Execute()
|
||||
if err != nil {
|
||||
fmt.Fprintf(os.Stderr, "Error when calling `NonEmployeeLifecycleManagementAPI.GetNonEmployeeRequestSummary``: %v\n", err)
|
||||
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
|
||||
@@ -1325,7 +1325,7 @@ func main() {
|
||||
Get Schema Attribute Non-Employee Source
|
||||
This API gets a schema attribute by Id for the specified Non-Employee SourceId. Requires role context of `idn:nesr:read` or the user must be an account manager of the source.
|
||||
|
||||
[API Spec](https://developer.sailpoint.com/docs/api//get-non-employee-schema-attribute)
|
||||
[API Spec](https://developer.sailpoint.com/docs/api/v2025/get-non-employee-schema-attribute)
|
||||
|
||||
### Path Parameters
|
||||
|
||||
@@ -1364,7 +1364,7 @@ import (
|
||||
"context"
|
||||
"fmt"
|
||||
"os"
|
||||
""
|
||||
v2025 "github.com/sailpoint-oss/golang-sdk/v2/api_v2025"
|
||||
openapiclient "github.com/sailpoint-oss/golang-sdk/v2"
|
||||
)
|
||||
|
||||
@@ -1374,7 +1374,7 @@ func main() {
|
||||
|
||||
configuration := NewDefaultConfiguration()
|
||||
apiClient := NewAPIClient(configuration)
|
||||
resp, r, err := apiClient..NonEmployeeLifecycleManagementAPI.GetNonEmployeeSchemaAttribute(context.Background(), attributeId, sourceId).Execute()
|
||||
resp, r, err := apiClient.V2025.NonEmployeeLifecycleManagementAPI.GetNonEmployeeSchemaAttribute(context.Background(), attributeId, sourceId).Execute()
|
||||
if err != nil {
|
||||
fmt.Fprintf(os.Stderr, "Error when calling `NonEmployeeLifecycleManagementAPI.GetNonEmployeeSchemaAttribute``: %v\n", err)
|
||||
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
|
||||
@@ -1394,7 +1394,7 @@ she may request any source.
|
||||
2. The current user is an account manager, in which case the user can only
|
||||
request sources that they own.
|
||||
|
||||
[API Spec](https://developer.sailpoint.com/docs/api//get-non-employee-source)
|
||||
[API Spec](https://developer.sailpoint.com/docs/api/v2025/get-non-employee-source)
|
||||
|
||||
### Path Parameters
|
||||
|
||||
@@ -1431,7 +1431,7 @@ import (
|
||||
"context"
|
||||
"fmt"
|
||||
"os"
|
||||
""
|
||||
v2025 "github.com/sailpoint-oss/golang-sdk/v2/api_v2025"
|
||||
openapiclient "github.com/sailpoint-oss/golang-sdk/v2"
|
||||
)
|
||||
|
||||
@@ -1440,7 +1440,7 @@ func main() {
|
||||
|
||||
configuration := NewDefaultConfiguration()
|
||||
apiClient := NewAPIClient(configuration)
|
||||
resp, r, err := apiClient..NonEmployeeLifecycleManagementAPI.GetNonEmployeeSource(context.Background(), sourceId).Execute()
|
||||
resp, r, err := apiClient.V2025.NonEmployeeLifecycleManagementAPI.GetNonEmployeeSource(context.Background(), sourceId).Execute()
|
||||
if err != nil {
|
||||
fmt.Fprintf(os.Stderr, "Error when calling `NonEmployeeLifecycleManagementAPI.GetNonEmployeeSource``: %v\n", err)
|
||||
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
|
||||
@@ -1457,7 +1457,7 @@ List Schema Attributes Non-Employee Source
|
||||
This API gets the list of schema attributes for the specified Non-Employee SourceId. There are 8 mandatory attributes added to each new Non-Employee Source automatically. Additionaly, user can add up to 10 custom attributes. This interface returns all the mandatory attributes followed by any custom attributes. At most, a total of 18 attributes will be returned.
|
||||
Requires role context of `idn:nesr:read` or the user must be an account manager of the source.
|
||||
|
||||
[API Spec](https://developer.sailpoint.com/docs/api//get-non-employee-source-schema-attributes)
|
||||
[API Spec](https://developer.sailpoint.com/docs/api/v2025/get-non-employee-source-schema-attributes)
|
||||
|
||||
### Path Parameters
|
||||
|
||||
@@ -1494,7 +1494,7 @@ import (
|
||||
"context"
|
||||
"fmt"
|
||||
"os"
|
||||
""
|
||||
v2025 "github.com/sailpoint-oss/golang-sdk/v2/api_v2025"
|
||||
openapiclient "github.com/sailpoint-oss/golang-sdk/v2"
|
||||
)
|
||||
|
||||
@@ -1503,7 +1503,7 @@ func main() {
|
||||
|
||||
configuration := NewDefaultConfiguration()
|
||||
apiClient := NewAPIClient(configuration)
|
||||
resp, r, err := apiClient..NonEmployeeLifecycleManagementAPI.GetNonEmployeeSourceSchemaAttributes(context.Background(), sourceId).Execute()
|
||||
resp, r, err := apiClient.V2025.NonEmployeeLifecycleManagementAPI.GetNonEmployeeSourceSchemaAttributes(context.Background(), sourceId).Execute()
|
||||
if err != nil {
|
||||
fmt.Fprintf(os.Stderr, "Error when calling `NonEmployeeLifecycleManagementAPI.GetNonEmployeeSourceSchemaAttributes``: %v\n", err)
|
||||
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
|
||||
@@ -1519,7 +1519,7 @@ func main() {
|
||||
Imports, or Updates, Non-Employee Records
|
||||
This post will import, or update, Non-Employee records found in the CSV. Requires role context of `idn:nesr:create`
|
||||
|
||||
[API Spec](https://developer.sailpoint.com/docs/api//import-non-employee-records-in-bulk)
|
||||
[API Spec](https://developer.sailpoint.com/docs/api/v2025/import-non-employee-records-in-bulk)
|
||||
|
||||
### Path Parameters
|
||||
|
||||
@@ -1557,7 +1557,7 @@ import (
|
||||
"context"
|
||||
"fmt"
|
||||
"os"
|
||||
""
|
||||
v2025 "github.com/sailpoint-oss/golang-sdk/v2/api_v2025"
|
||||
openapiclient "github.com/sailpoint-oss/golang-sdk/v2"
|
||||
)
|
||||
|
||||
@@ -1567,7 +1567,7 @@ func main() {
|
||||
|
||||
configuration := NewDefaultConfiguration()
|
||||
apiClient := NewAPIClient(configuration)
|
||||
resp, r, err := apiClient..NonEmployeeLifecycleManagementAPI.ImportNonEmployeeRecordsInBulk(context.Background(), id).Data(data).Execute()
|
||||
resp, r, err := apiClient.V2025.NonEmployeeLifecycleManagementAPI.ImportNonEmployeeRecordsInBulk(context.Background(), id).Data(data).Execute()
|
||||
if err != nil {
|
||||
fmt.Fprintf(os.Stderr, "Error when calling `NonEmployeeLifecycleManagementAPI.ImportNonEmployeeRecordsInBulk``: %v\n", err)
|
||||
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
|
||||
@@ -1587,7 +1587,7 @@ There are two contextual uses for this endpoint:
|
||||
can list the approvals for any approver.
|
||||
2. The user owns the requested approval.
|
||||
|
||||
[API Spec](https://developer.sailpoint.com/docs/api//list-non-employee-approvals)
|
||||
[API Spec](https://developer.sailpoint.com/docs/api/v2025/list-non-employee-approvals)
|
||||
|
||||
### Path Parameters
|
||||
|
||||
@@ -1625,7 +1625,7 @@ import (
|
||||
"context"
|
||||
"fmt"
|
||||
"os"
|
||||
""
|
||||
v2025 "github.com/sailpoint-oss/golang-sdk/v2/api_v2025"
|
||||
openapiclient "github.com/sailpoint-oss/golang-sdk/v2"
|
||||
)
|
||||
|
||||
@@ -1639,7 +1639,7 @@ func main() {
|
||||
|
||||
configuration := NewDefaultConfiguration()
|
||||
apiClient := NewAPIClient(configuration)
|
||||
resp, r, err := apiClient..NonEmployeeLifecycleManagementAPI.ListNonEmployeeApprovals(context.Background()).RequestedFor(requestedFor).Limit(limit).Offset(offset).Count(count).Filters(filters).Sorters(sorters).Execute()
|
||||
resp, r, err := apiClient.V2025.NonEmployeeLifecycleManagementAPI.ListNonEmployeeApprovals(context.Background()).RequestedFor(requestedFor).Limit(limit).Offset(offset).Count(count).Filters(filters).Sorters(sorters).Execute()
|
||||
if err != nil {
|
||||
fmt.Fprintf(os.Stderr, "Error when calling `NonEmployeeLifecycleManagementAPI.ListNonEmployeeApprovals``: %v\n", err)
|
||||
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
|
||||
@@ -1657,7 +1657,7 @@ This gets a list of non-employee records. There are two contextual uses for this
|
||||
1. The user has the role context of `idn:nesr:read`, in which case they can get a list of all of the non-employees.
|
||||
2. The user is an account manager, in which case they can get a list of the non-employees that they manage.
|
||||
|
||||
[API Spec](https://developer.sailpoint.com/docs/api//list-non-employee-records)
|
||||
[API Spec](https://developer.sailpoint.com/docs/api/v2025/list-non-employee-records)
|
||||
|
||||
### Path Parameters
|
||||
|
||||
@@ -1694,7 +1694,7 @@ import (
|
||||
"context"
|
||||
"fmt"
|
||||
"os"
|
||||
""
|
||||
v2025 "github.com/sailpoint-oss/golang-sdk/v2/api_v2025"
|
||||
openapiclient "github.com/sailpoint-oss/golang-sdk/v2"
|
||||
)
|
||||
|
||||
@@ -1707,7 +1707,7 @@ func main() {
|
||||
|
||||
configuration := NewDefaultConfiguration()
|
||||
apiClient := NewAPIClient(configuration)
|
||||
resp, r, err := apiClient..NonEmployeeLifecycleManagementAPI.ListNonEmployeeRecords(context.Background()).Limit(limit).Offset(offset).Count(count).Sorters(sorters).Filters(filters).Execute()
|
||||
resp, r, err := apiClient.V2025.NonEmployeeLifecycleManagementAPI.ListNonEmployeeRecords(context.Background()).Limit(limit).Offset(offset).Count(count).Sorters(sorters).Filters(filters).Execute()
|
||||
if err != nil {
|
||||
fmt.Fprintf(os.Stderr, "Error when calling `NonEmployeeLifecycleManagementAPI.ListNonEmployeeRecords``: %v\n", err)
|
||||
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
|
||||
@@ -1727,7 +1727,7 @@ she may request a list non-employee requests assigned to a particular account ma
|
||||
2. The current user is an account manager, in which case "me" should be
|
||||
provided as the `requested-for` value. This will provide the user with a list of the non-employee requests in the source(s) he or she manages.
|
||||
|
||||
[API Spec](https://developer.sailpoint.com/docs/api//list-non-employee-requests)
|
||||
[API Spec](https://developer.sailpoint.com/docs/api/v2025/list-non-employee-requests)
|
||||
|
||||
### Path Parameters
|
||||
|
||||
@@ -1765,7 +1765,7 @@ import (
|
||||
"context"
|
||||
"fmt"
|
||||
"os"
|
||||
""
|
||||
v2025 "github.com/sailpoint-oss/golang-sdk/v2/api_v2025"
|
||||
openapiclient "github.com/sailpoint-oss/golang-sdk/v2"
|
||||
)
|
||||
|
||||
@@ -1779,7 +1779,7 @@ func main() {
|
||||
|
||||
configuration := NewDefaultConfiguration()
|
||||
apiClient := NewAPIClient(configuration)
|
||||
resp, r, err := apiClient..NonEmployeeLifecycleManagementAPI.ListNonEmployeeRequests(context.Background()).RequestedFor(requestedFor).Limit(limit).Offset(offset).Count(count).Sorters(sorters).Filters(filters).Execute()
|
||||
resp, r, err := apiClient.V2025.NonEmployeeLifecycleManagementAPI.ListNonEmployeeRequests(context.Background()).RequestedFor(requestedFor).Limit(limit).Offset(offset).Count(count).Sorters(sorters).Filters(filters).Execute()
|
||||
if err != nil {
|
||||
fmt.Fprintf(os.Stderr, "Error when calling `NonEmployeeLifecycleManagementAPI.ListNonEmployeeRequests``: %v\n", err)
|
||||
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
|
||||
@@ -1797,7 +1797,7 @@ Get a list of non-employee sources. There are two contextual uses for the `reque
|
||||
1. If the user has the role context of `idn:nesr:read`, he or she may request a list sources assigned to a particular account manager by passing in that manager's `id`.
|
||||
2. If the current user is an account manager, the user should provide 'me' as the `requested-for` value. Doing so provide the user with a list of the sources he or she owns.
|
||||
|
||||
[API Spec](https://developer.sailpoint.com/docs/api//list-non-employee-sources)
|
||||
[API Spec](https://developer.sailpoint.com/docs/api/v2025/list-non-employee-sources)
|
||||
|
||||
### Path Parameters
|
||||
|
||||
@@ -1835,7 +1835,7 @@ import (
|
||||
"context"
|
||||
"fmt"
|
||||
"os"
|
||||
""
|
||||
v2025 "github.com/sailpoint-oss/golang-sdk/v2/api_v2025"
|
||||
openapiclient "github.com/sailpoint-oss/golang-sdk/v2"
|
||||
)
|
||||
|
||||
@@ -1849,7 +1849,7 @@ func main() {
|
||||
|
||||
configuration := NewDefaultConfiguration()
|
||||
apiClient := NewAPIClient(configuration)
|
||||
resp, r, err := apiClient..NonEmployeeLifecycleManagementAPI.ListNonEmployeeSources(context.Background()).Limit(limit).Offset(offset).Count(count).RequestedFor(requestedFor).NonEmployeeCount(nonEmployeeCount).Sorters(sorters).Execute()
|
||||
resp, r, err := apiClient.V2025.NonEmployeeLifecycleManagementAPI.ListNonEmployeeSources(context.Background()).Limit(limit).Offset(offset).Count(count).RequestedFor(requestedFor).NonEmployeeCount(nonEmployeeCount).Sorters(sorters).Execute()
|
||||
if err != nil {
|
||||
fmt.Fprintf(os.Stderr, "Error when calling `NonEmployeeLifecycleManagementAPI.ListNonEmployeeSources``: %v\n", err)
|
||||
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
|
||||
@@ -1869,7 +1869,7 @@ update all available fields.
|
||||
2. The user is owner of the source, in this case they can only update the
|
||||
end date.
|
||||
|
||||
[API Spec](https://developer.sailpoint.com/docs/api//patch-non-employee-record)
|
||||
[API Spec](https://developer.sailpoint.com/docs/api/v2025/patch-non-employee-record)
|
||||
|
||||
### Path Parameters
|
||||
|
||||
@@ -1907,7 +1907,7 @@ import (
|
||||
"context"
|
||||
"fmt"
|
||||
"os"
|
||||
""
|
||||
v2025 "github.com/sailpoint-oss/golang-sdk/v2/api_v2025"
|
||||
openapiclient "github.com/sailpoint-oss/golang-sdk/v2"
|
||||
)
|
||||
|
||||
@@ -1917,7 +1917,7 @@ func main() {
|
||||
|
||||
configuration := NewDefaultConfiguration()
|
||||
apiClient := NewAPIClient(configuration)
|
||||
resp, r, err := apiClient..NonEmployeeLifecycleManagementAPI.PatchNonEmployeeRecord(context.Background(), id).JsonPatchOperation(jsonPatchOperation).Execute()
|
||||
resp, r, err := apiClient.V2025.NonEmployeeLifecycleManagementAPI.PatchNonEmployeeRecord(context.Background(), id).JsonPatchOperation(jsonPatchOperation).Execute()
|
||||
if err != nil {
|
||||
fmt.Fprintf(os.Stderr, "Error when calling `NonEmployeeLifecycleManagementAPI.PatchNonEmployeeRecord``: %v\n", err)
|
||||
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
|
||||
@@ -1935,7 +1935,7 @@ This end-point patches a specific schema attribute for a non-employee SourceId.
|
||||
Requires role context of `idn:nesr:update`
|
||||
|
||||
|
||||
[API Spec](https://developer.sailpoint.com/docs/api//patch-non-employee-schema-attribute)
|
||||
[API Spec](https://developer.sailpoint.com/docs/api/v2025/patch-non-employee-schema-attribute)
|
||||
|
||||
### Path Parameters
|
||||
|
||||
@@ -1975,7 +1975,7 @@ import (
|
||||
"context"
|
||||
"fmt"
|
||||
"os"
|
||||
""
|
||||
v2025 "github.com/sailpoint-oss/golang-sdk/v2/api_v2025"
|
||||
openapiclient "github.com/sailpoint-oss/golang-sdk/v2"
|
||||
)
|
||||
|
||||
@@ -1986,7 +1986,7 @@ func main() {
|
||||
|
||||
configuration := NewDefaultConfiguration()
|
||||
apiClient := NewAPIClient(configuration)
|
||||
resp, r, err := apiClient..NonEmployeeLifecycleManagementAPI.PatchNonEmployeeSchemaAttribute(context.Background(), attributeId, sourceId).JsonPatchOperation(jsonPatchOperation).Execute()
|
||||
resp, r, err := apiClient.V2025.NonEmployeeLifecycleManagementAPI.PatchNonEmployeeSchemaAttribute(context.Background(), attributeId, sourceId).JsonPatchOperation(jsonPatchOperation).Execute()
|
||||
if err != nil {
|
||||
fmt.Fprintf(os.Stderr, "Error when calling `NonEmployeeLifecycleManagementAPI.PatchNonEmployeeSchemaAttribute``: %v\n", err)
|
||||
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
|
||||
@@ -2002,7 +2002,7 @@ func main() {
|
||||
Patch a Non-Employee Source
|
||||
patch a non-employee source. (partial update) <br/> Patchable field: **name, description, approvers, accountManagers** Requires role context of `idn:nesr:update`.
|
||||
|
||||
[API Spec](https://developer.sailpoint.com/docs/api//patch-non-employee-source)
|
||||
[API Spec](https://developer.sailpoint.com/docs/api/v2025/patch-non-employee-source)
|
||||
|
||||
### Path Parameters
|
||||
|
||||
@@ -2040,7 +2040,7 @@ import (
|
||||
"context"
|
||||
"fmt"
|
||||
"os"
|
||||
""
|
||||
v2025 "github.com/sailpoint-oss/golang-sdk/v2/api_v2025"
|
||||
openapiclient "github.com/sailpoint-oss/golang-sdk/v2"
|
||||
)
|
||||
|
||||
@@ -2050,7 +2050,7 @@ func main() {
|
||||
|
||||
configuration := NewDefaultConfiguration()
|
||||
apiClient := NewAPIClient(configuration)
|
||||
resp, r, err := apiClient..NonEmployeeLifecycleManagementAPI.PatchNonEmployeeSource(context.Background(), sourceId).JsonPatchOperation(jsonPatchOperation).Execute()
|
||||
resp, r, err := apiClient.V2025.NonEmployeeLifecycleManagementAPI.PatchNonEmployeeSource(context.Background(), sourceId).JsonPatchOperation(jsonPatchOperation).Execute()
|
||||
if err != nil {
|
||||
fmt.Fprintf(os.Stderr, "Error when calling `NonEmployeeLifecycleManagementAPI.PatchNonEmployeeSource``: %v\n", err)
|
||||
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
|
||||
@@ -2066,7 +2066,7 @@ func main() {
|
||||
Reject a Non-Employee Request
|
||||
This endpoint will reject an approval item request and notify user. The current user must be the requested approver.
|
||||
|
||||
[API Spec](https://developer.sailpoint.com/docs/api//reject-non-employee-request)
|
||||
[API Spec](https://developer.sailpoint.com/docs/api/v2025/reject-non-employee-request)
|
||||
|
||||
### Path Parameters
|
||||
|
||||
@@ -2104,7 +2104,7 @@ import (
|
||||
"context"
|
||||
"fmt"
|
||||
"os"
|
||||
""
|
||||
v2025 "github.com/sailpoint-oss/golang-sdk/v2/api_v2025"
|
||||
openapiclient "github.com/sailpoint-oss/golang-sdk/v2"
|
||||
)
|
||||
|
||||
@@ -2116,7 +2116,7 @@ func main() {
|
||||
|
||||
configuration := NewDefaultConfiguration()
|
||||
apiClient := NewAPIClient(configuration)
|
||||
resp, r, err := apiClient..NonEmployeeLifecycleManagementAPI.RejectNonEmployeeRequest(context.Background(), id).NonEmployeeRejectApprovalDecision(nonEmployeeRejectApprovalDecision).Execute()
|
||||
resp, r, err := apiClient.V2025.NonEmployeeLifecycleManagementAPI.RejectNonEmployeeRequest(context.Background(), id).NonEmployeeRejectApprovalDecision(nonEmployeeRejectApprovalDecision).Execute()
|
||||
if err != nil {
|
||||
fmt.Fprintf(os.Stderr, "Error when calling `NonEmployeeLifecycleManagementAPI.RejectNonEmployeeRequest``: %v\n", err)
|
||||
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
|
||||
@@ -2136,7 +2136,7 @@ update all available fields.
|
||||
2. The user is owner of the source, in this case they can only update the
|
||||
end date.
|
||||
|
||||
[API Spec](https://developer.sailpoint.com/docs/api//update-non-employee-record)
|
||||
[API Spec](https://developer.sailpoint.com/docs/api/v2025/update-non-employee-record)
|
||||
|
||||
### Path Parameters
|
||||
|
||||
@@ -2175,7 +2175,7 @@ import (
|
||||
"fmt"
|
||||
"os"
|
||||
|
||||
""
|
||||
v2025 "github.com/sailpoint-oss/golang-sdk/v2/api_v2025"
|
||||
openapiclient "github.com/sailpoint-oss/golang-sdk/v2"
|
||||
)
|
||||
|
||||
@@ -2198,7 +2198,7 @@ func main() {
|
||||
|
||||
configuration := NewDefaultConfiguration()
|
||||
apiClient := NewAPIClient(configuration)
|
||||
resp, r, err := apiClient..NonEmployeeLifecycleManagementAPI.UpdateNonEmployeeRecord(context.Background(), id).NonEmployeeRequestBody(nonEmployeeRequestBody).Execute()
|
||||
resp, r, err := apiClient.V2025.NonEmployeeLifecycleManagementAPI.UpdateNonEmployeeRecord(context.Background(), id).NonEmployeeRequestBody(nonEmployeeRequestBody).Execute()
|
||||
if err != nil {
|
||||
fmt.Fprintf(os.Stderr, "Error when calling `NonEmployeeLifecycleManagementAPI.UpdateNonEmployeeRecord``: %v\n", err)
|
||||
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
|
||||
|
||||
@@ -1,12 +1,12 @@
|
||||
---
|
||||
id: notifications
|
||||
id: v2025-notifications
|
||||
title: Notifications
|
||||
pagination_label: Notifications
|
||||
sidebar_label: Notifications
|
||||
sidebar_class_name: gosdk
|
||||
keywords: ['go', 'Golang', 'sdk', 'Notifications', 'Notifications']
|
||||
slug: /tools/sdk/go//methods/notifications
|
||||
tags: ['SDK', 'Software Development Kit', 'Notifications', 'Notifications']
|
||||
keywords: ['go', 'Golang', 'sdk', 'Notifications', 'V2025Notifications']
|
||||
slug: /tools/sdk/go/v2025/methods/notifications
|
||||
tags: ['SDK', 'Software Development Kit', 'Notifications', 'V2025Notifications']
|
||||
---
|
||||
|
||||
# NotificationsAPI
|
||||
@@ -47,7 +47,7 @@ This API is currently in an experimental state. The API is subject to change bas
|
||||
Verify domain address via DKIM
|
||||
Create a domain to be verified via DKIM (DomainKeys Identified Mail)
|
||||
|
||||
[API Spec](https://developer.sailpoint.com/docs/api//create-domain-dkim)
|
||||
[API Spec](https://developer.sailpoint.com/docs/api/v2025/create-domain-dkim)
|
||||
|
||||
### Path Parameters
|
||||
|
||||
@@ -81,7 +81,7 @@ import (
|
||||
"context"
|
||||
"fmt"
|
||||
"os"
|
||||
""
|
||||
v2025 "github.com/sailpoint-oss/golang-sdk/v2/api_v2025"
|
||||
openapiclient "github.com/sailpoint-oss/golang-sdk/v2"
|
||||
)
|
||||
|
||||
@@ -93,7 +93,7 @@ func main() {
|
||||
|
||||
configuration := NewDefaultConfiguration()
|
||||
apiClient := NewAPIClient(configuration)
|
||||
resp, r, err := apiClient..NotificationsAPI.CreateDomainDkim(context.Background()).XSailPointExperimental(xSailPointExperimental).DomainAddress(domainAddress).Execute()
|
||||
resp, r, err := apiClient.V2025.NotificationsAPI.CreateDomainDkim(context.Background()).XSailPointExperimental(xSailPointExperimental).DomainAddress(domainAddress).Execute()
|
||||
if err != nil {
|
||||
fmt.Fprintf(os.Stderr, "Error when calling `NotificationsAPI.CreateDomainDkim``: %v\n", err)
|
||||
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
|
||||
@@ -122,7 +122,7 @@ This creates a template for your site.
|
||||
|
||||
You can also use this endpoint to update a template. First, copy the response body from the [get notification template endpoint](https://developer.sailpoint.com/idn/api/beta/get-notification-template) for a template you wish to update and paste it into the request body for this endpoint. Modify the fields you want to change and submit the POST request when ready.
|
||||
|
||||
[API Spec](https://developer.sailpoint.com/docs/api//create-notification-template)
|
||||
[API Spec](https://developer.sailpoint.com/docs/api/v2025/create-notification-template)
|
||||
|
||||
### Path Parameters
|
||||
|
||||
@@ -156,7 +156,7 @@ import (
|
||||
"context"
|
||||
"fmt"
|
||||
"os"
|
||||
""
|
||||
v2025 "github.com/sailpoint-oss/golang-sdk/v2/api_v2025"
|
||||
openapiclient "github.com/sailpoint-oss/golang-sdk/v2"
|
||||
)
|
||||
|
||||
@@ -183,7 +183,7 @@ func main() {
|
||||
|
||||
configuration := NewDefaultConfiguration()
|
||||
apiClient := NewAPIClient(configuration)
|
||||
resp, r, err := apiClient..NotificationsAPI.CreateNotificationTemplate(context.Background()).XSailPointExperimental(xSailPointExperimental).TemplateDto(templateDto).Execute()
|
||||
resp, r, err := apiClient.V2025.NotificationsAPI.CreateNotificationTemplate(context.Background()).XSailPointExperimental(xSailPointExperimental).TemplateDto(templateDto).Execute()
|
||||
if err != nil {
|
||||
fmt.Fprintf(os.Stderr, "Error when calling `NotificationsAPI.CreateNotificationTemplate``: %v\n", err)
|
||||
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
|
||||
@@ -210,7 +210,7 @@ This API is currently in an experimental state. The API is subject to change bas
|
||||
Create Verified From Address
|
||||
Create a new sender email address and initiate verification process.
|
||||
|
||||
[API Spec](https://developer.sailpoint.com/docs/api//create-verified-from-address)
|
||||
[API Spec](https://developer.sailpoint.com/docs/api/v2025/create-verified-from-address)
|
||||
|
||||
### Path Parameters
|
||||
|
||||
@@ -244,7 +244,7 @@ import (
|
||||
"context"
|
||||
"fmt"
|
||||
"os"
|
||||
""
|
||||
v2025 "github.com/sailpoint-oss/golang-sdk/v2/api_v2025"
|
||||
openapiclient "github.com/sailpoint-oss/golang-sdk/v2"
|
||||
)
|
||||
|
||||
@@ -259,7 +259,7 @@ func main() {
|
||||
|
||||
configuration := NewDefaultConfiguration()
|
||||
apiClient := NewAPIClient(configuration)
|
||||
resp, r, err := apiClient..NotificationsAPI.CreateVerifiedFromAddress(context.Background()).XSailPointExperimental(xSailPointExperimental).EmailStatusDto(emailStatusDto).Execute()
|
||||
resp, r, err := apiClient.V2025.NotificationsAPI.CreateVerifiedFromAddress(context.Background()).XSailPointExperimental(xSailPointExperimental).EmailStatusDto(emailStatusDto).Execute()
|
||||
if err != nil {
|
||||
fmt.Fprintf(os.Stderr, "Error when calling `NotificationsAPI.CreateVerifiedFromAddress``: %v\n", err)
|
||||
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
|
||||
@@ -286,7 +286,7 @@ This API is currently in an experimental state. The API is subject to change bas
|
||||
Bulk Delete Notification Templates
|
||||
This lets you bulk delete templates that you previously created for your site. Since this is a beta feature, please contact support to enable usage.
|
||||
|
||||
[API Spec](https://developer.sailpoint.com/docs/api//delete-notification-templates-in-bulk)
|
||||
[API Spec](https://developer.sailpoint.com/docs/api/v2025/delete-notification-templates-in-bulk)
|
||||
|
||||
### Path Parameters
|
||||
|
||||
@@ -320,7 +320,7 @@ import (
|
||||
"context"
|
||||
"fmt"
|
||||
"os"
|
||||
""
|
||||
v2025 "github.com/sailpoint-oss/golang-sdk/v2/api_v2025"
|
||||
openapiclient "github.com/sailpoint-oss/golang-sdk/v2"
|
||||
)
|
||||
|
||||
@@ -330,7 +330,7 @@ func main() {
|
||||
|
||||
configuration := NewDefaultConfiguration()
|
||||
apiClient := NewAPIClient(configuration)
|
||||
r, err := apiClient..NotificationsAPI.DeleteNotificationTemplatesInBulk(context.Background()).XSailPointExperimental(xSailPointExperimental).TemplateBulkDeleteDto(templateBulkDeleteDto).Execute()
|
||||
r, err := apiClient.V2025.NotificationsAPI.DeleteNotificationTemplatesInBulk(context.Background()).XSailPointExperimental(xSailPointExperimental).TemplateBulkDeleteDto(templateBulkDeleteDto).Execute()
|
||||
if err != nil {
|
||||
fmt.Fprintf(os.Stderr, "Error when calling `NotificationsAPI.DeleteNotificationTemplatesInBulk``: %v\n", err)
|
||||
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
|
||||
@@ -355,7 +355,7 @@ This API is currently in an experimental state. The API is subject to change bas
|
||||
Delete Verified From Address
|
||||
Delete a verified sender email address
|
||||
|
||||
[API Spec](https://developer.sailpoint.com/docs/api//delete-verified-from-address)
|
||||
[API Spec](https://developer.sailpoint.com/docs/api/v2025/delete-verified-from-address)
|
||||
|
||||
### Path Parameters
|
||||
|
||||
@@ -393,7 +393,7 @@ import (
|
||||
"context"
|
||||
"fmt"
|
||||
"os"
|
||||
""
|
||||
v2025 "github.com/sailpoint-oss/golang-sdk/v2/api_v2025"
|
||||
openapiclient "github.com/sailpoint-oss/golang-sdk/v2"
|
||||
)
|
||||
|
||||
@@ -403,7 +403,7 @@ func main() {
|
||||
|
||||
configuration := NewDefaultConfiguration()
|
||||
apiClient := NewAPIClient(configuration)
|
||||
r, err := apiClient..NotificationsAPI.DeleteVerifiedFromAddress(context.Background(), id).XSailPointExperimental(xSailPointExperimental).Execute()
|
||||
r, err := apiClient.V2025.NotificationsAPI.DeleteVerifiedFromAddress(context.Background(), id).XSailPointExperimental(xSailPointExperimental).Execute()
|
||||
if err != nil {
|
||||
fmt.Fprintf(os.Stderr, "Error when calling `NotificationsAPI.DeleteVerifiedFromAddress``: %v\n", err)
|
||||
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
|
||||
@@ -428,7 +428,7 @@ This API is currently in an experimental state. The API is subject to change bas
|
||||
Get DKIM Attributes
|
||||
Retrieve DKIM (DomainKeys Identified Mail) attributes for all your tenants' AWS SES identities. Limits retrieval to 100 identities per call.
|
||||
|
||||
[API Spec](https://developer.sailpoint.com/docs/api//get-dkim-attributes)
|
||||
[API Spec](https://developer.sailpoint.com/docs/api/v2025/get-dkim-attributes)
|
||||
|
||||
### Path Parameters
|
||||
|
||||
@@ -461,7 +461,7 @@ import (
|
||||
"context"
|
||||
"fmt"
|
||||
"os"
|
||||
""
|
||||
v2025 "github.com/sailpoint-oss/golang-sdk/v2/api_v2025"
|
||||
openapiclient "github.com/sailpoint-oss/golang-sdk/v2"
|
||||
)
|
||||
|
||||
@@ -470,7 +470,7 @@ func main() {
|
||||
|
||||
configuration := NewDefaultConfiguration()
|
||||
apiClient := NewAPIClient(configuration)
|
||||
resp, r, err := apiClient..NotificationsAPI.GetDkimAttributes(context.Background()).XSailPointExperimental(xSailPointExperimental).Execute()
|
||||
resp, r, err := apiClient.V2025.NotificationsAPI.GetDkimAttributes(context.Background()).XSailPointExperimental(xSailPointExperimental).Execute()
|
||||
if err != nil {
|
||||
fmt.Fprintf(os.Stderr, "Error when calling `NotificationsAPI.GetDkimAttributes``: %v\n", err)
|
||||
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
|
||||
@@ -497,7 +497,7 @@ This API is currently in an experimental state. The API is subject to change bas
|
||||
Get MAIL FROM Attributes
|
||||
Retrieve MAIL FROM attributes for a given AWS SES identity.
|
||||
|
||||
[API Spec](https://developer.sailpoint.com/docs/api//get-mail-from-attributes)
|
||||
[API Spec](https://developer.sailpoint.com/docs/api/v2025/get-mail-from-attributes)
|
||||
|
||||
### Path Parameters
|
||||
|
||||
@@ -531,7 +531,7 @@ import (
|
||||
"context"
|
||||
"fmt"
|
||||
"os"
|
||||
""
|
||||
v2025 "github.com/sailpoint-oss/golang-sdk/v2/api_v2025"
|
||||
openapiclient "github.com/sailpoint-oss/golang-sdk/v2"
|
||||
)
|
||||
|
||||
@@ -541,7 +541,7 @@ func main() {
|
||||
|
||||
configuration := NewDefaultConfiguration()
|
||||
apiClient := NewAPIClient(configuration)
|
||||
resp, r, err := apiClient..NotificationsAPI.GetMailFromAttributes(context.Background()).Id(id).XSailPointExperimental(xSailPointExperimental).Execute()
|
||||
resp, r, err := apiClient.V2025.NotificationsAPI.GetMailFromAttributes(context.Background()).Id(id).XSailPointExperimental(xSailPointExperimental).Execute()
|
||||
if err != nil {
|
||||
fmt.Fprintf(os.Stderr, "Error when calling `NotificationsAPI.GetMailFromAttributes``: %v\n", err)
|
||||
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
|
||||
@@ -568,7 +568,7 @@ This API is currently in an experimental state. The API is subject to change bas
|
||||
Get Notification Template By Id
|
||||
This gets a template that you have modified for your site by Id.
|
||||
|
||||
[API Spec](https://developer.sailpoint.com/docs/api//get-notification-template)
|
||||
[API Spec](https://developer.sailpoint.com/docs/api/v2025/get-notification-template)
|
||||
|
||||
### Path Parameters
|
||||
|
||||
@@ -606,7 +606,7 @@ import (
|
||||
"context"
|
||||
"fmt"
|
||||
"os"
|
||||
""
|
||||
v2025 "github.com/sailpoint-oss/golang-sdk/v2/api_v2025"
|
||||
openapiclient "github.com/sailpoint-oss/golang-sdk/v2"
|
||||
)
|
||||
|
||||
@@ -616,7 +616,7 @@ func main() {
|
||||
|
||||
configuration := NewDefaultConfiguration()
|
||||
apiClient := NewAPIClient(configuration)
|
||||
resp, r, err := apiClient..NotificationsAPI.GetNotificationTemplate(context.Background(), id).XSailPointExperimental(xSailPointExperimental).Execute()
|
||||
resp, r, err := apiClient.V2025.NotificationsAPI.GetNotificationTemplate(context.Background(), id).XSailPointExperimental(xSailPointExperimental).Execute()
|
||||
if err != nil {
|
||||
fmt.Fprintf(os.Stderr, "Error when calling `NotificationsAPI.GetNotificationTemplate``: %v\n", err)
|
||||
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
|
||||
@@ -644,7 +644,7 @@ Get Notification Template Context
|
||||
The notification service maintains metadata to construct the notification templates or supply any information during the event propagation. The data-store where this information is retrieved is called "Global Context" (a.k.a. notification template context). It defines a set of attributes
|
||||
that will be available per tenant (organization).
|
||||
|
||||
[API Spec](https://developer.sailpoint.com/docs/api//get-notifications-template-context)
|
||||
[API Spec](https://developer.sailpoint.com/docs/api/v2025/get-notifications-template-context)
|
||||
|
||||
### Path Parameters
|
||||
|
||||
@@ -677,7 +677,7 @@ import (
|
||||
"context"
|
||||
"fmt"
|
||||
"os"
|
||||
""
|
||||
v2025 "github.com/sailpoint-oss/golang-sdk/v2/api_v2025"
|
||||
openapiclient "github.com/sailpoint-oss/golang-sdk/v2"
|
||||
)
|
||||
|
||||
@@ -686,7 +686,7 @@ func main() {
|
||||
|
||||
configuration := NewDefaultConfiguration()
|
||||
apiClient := NewAPIClient(configuration)
|
||||
resp, r, err := apiClient..NotificationsAPI.GetNotificationsTemplateContext(context.Background()).XSailPointExperimental(xSailPointExperimental).Execute()
|
||||
resp, r, err := apiClient.V2025.NotificationsAPI.GetNotificationsTemplateContext(context.Background()).XSailPointExperimental(xSailPointExperimental).Execute()
|
||||
if err != nil {
|
||||
fmt.Fprintf(os.Stderr, "Error when calling `NotificationsAPI.GetNotificationsTemplateContext``: %v\n", err)
|
||||
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
|
||||
@@ -713,7 +713,7 @@ This API is currently in an experimental state. The API is subject to change bas
|
||||
List From Addresses
|
||||
Retrieve a list of sender email addresses and their verification statuses
|
||||
|
||||
[API Spec](https://developer.sailpoint.com/docs/api//list-from-addresses)
|
||||
[API Spec](https://developer.sailpoint.com/docs/api/v2025/list-from-addresses)
|
||||
|
||||
### Path Parameters
|
||||
|
||||
@@ -751,7 +751,7 @@ import (
|
||||
"context"
|
||||
"fmt"
|
||||
"os"
|
||||
""
|
||||
v2025 "github.com/sailpoint-oss/golang-sdk/v2/api_v2025"
|
||||
openapiclient "github.com/sailpoint-oss/golang-sdk/v2"
|
||||
)
|
||||
|
||||
@@ -765,7 +765,7 @@ func main() {
|
||||
|
||||
configuration := NewDefaultConfiguration()
|
||||
apiClient := NewAPIClient(configuration)
|
||||
resp, r, err := apiClient..NotificationsAPI.ListFromAddresses(context.Background()).XSailPointExperimental(xSailPointExperimental).Limit(limit).Offset(offset).Count(count).Filters(filters).Sorters(sorters).Execute()
|
||||
resp, r, err := apiClient.V2025.NotificationsAPI.ListFromAddresses(context.Background()).XSailPointExperimental(xSailPointExperimental).Limit(limit).Offset(offset).Count(count).Filters(filters).Sorters(sorters).Execute()
|
||||
if err != nil {
|
||||
fmt.Fprintf(os.Stderr, "Error when calling `NotificationsAPI.ListFromAddresses``: %v\n", err)
|
||||
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
|
||||
@@ -792,7 +792,7 @@ This API is currently in an experimental state. The API is subject to change bas
|
||||
List Notification Preferences for tenant.
|
||||
Returns a list of notification preferences for tenant.
|
||||
|
||||
[API Spec](https://developer.sailpoint.com/docs/api//list-notification-preferences)
|
||||
[API Spec](https://developer.sailpoint.com/docs/api/v2025/list-notification-preferences)
|
||||
|
||||
### Path Parameters
|
||||
|
||||
@@ -825,7 +825,7 @@ import (
|
||||
"context"
|
||||
"fmt"
|
||||
"os"
|
||||
""
|
||||
v2025 "github.com/sailpoint-oss/golang-sdk/v2/api_v2025"
|
||||
openapiclient "github.com/sailpoint-oss/golang-sdk/v2"
|
||||
)
|
||||
|
||||
@@ -834,7 +834,7 @@ func main() {
|
||||
|
||||
configuration := NewDefaultConfiguration()
|
||||
apiClient := NewAPIClient(configuration)
|
||||
resp, r, err := apiClient..NotificationsAPI.ListNotificationPreferences(context.Background()).XSailPointExperimental(xSailPointExperimental).Execute()
|
||||
resp, r, err := apiClient.V2025.NotificationsAPI.ListNotificationPreferences(context.Background()).XSailPointExperimental(xSailPointExperimental).Execute()
|
||||
if err != nil {
|
||||
fmt.Fprintf(os.Stderr, "Error when calling `NotificationsAPI.ListNotificationPreferences``: %v\n", err)
|
||||
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
|
||||
@@ -861,7 +861,7 @@ This API is currently in an experimental state. The API is subject to change bas
|
||||
List Notification Template Defaults
|
||||
This lists the default templates used for notifications, such as emails from IdentityNow.
|
||||
|
||||
[API Spec](https://developer.sailpoint.com/docs/api//list-notification-template-defaults)
|
||||
[API Spec](https://developer.sailpoint.com/docs/api/v2025/list-notification-template-defaults)
|
||||
|
||||
### Path Parameters
|
||||
|
||||
@@ -897,7 +897,7 @@ import (
|
||||
"context"
|
||||
"fmt"
|
||||
"os"
|
||||
""
|
||||
v2025 "github.com/sailpoint-oss/golang-sdk/v2/api_v2025"
|
||||
openapiclient "github.com/sailpoint-oss/golang-sdk/v2"
|
||||
)
|
||||
|
||||
@@ -909,7 +909,7 @@ func main() {
|
||||
|
||||
configuration := NewDefaultConfiguration()
|
||||
apiClient := NewAPIClient(configuration)
|
||||
resp, r, err := apiClient..NotificationsAPI.ListNotificationTemplateDefaults(context.Background()).XSailPointExperimental(xSailPointExperimental).Limit(limit).Offset(offset).Filters(filters).Execute()
|
||||
resp, r, err := apiClient.V2025.NotificationsAPI.ListNotificationTemplateDefaults(context.Background()).XSailPointExperimental(xSailPointExperimental).Limit(limit).Offset(offset).Filters(filters).Execute()
|
||||
if err != nil {
|
||||
fmt.Fprintf(os.Stderr, "Error when calling `NotificationsAPI.ListNotificationTemplateDefaults``: %v\n", err)
|
||||
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
|
||||
@@ -936,7 +936,7 @@ This API is currently in an experimental state. The API is subject to change bas
|
||||
List Notification Templates
|
||||
This lists the templates that you have modified for your site.
|
||||
|
||||
[API Spec](https://developer.sailpoint.com/docs/api//list-notification-templates)
|
||||
[API Spec](https://developer.sailpoint.com/docs/api/v2025/list-notification-templates)
|
||||
|
||||
### Path Parameters
|
||||
|
||||
@@ -972,7 +972,7 @@ import (
|
||||
"context"
|
||||
"fmt"
|
||||
"os"
|
||||
""
|
||||
v2025 "github.com/sailpoint-oss/golang-sdk/v2/api_v2025"
|
||||
openapiclient "github.com/sailpoint-oss/golang-sdk/v2"
|
||||
)
|
||||
|
||||
@@ -984,7 +984,7 @@ func main() {
|
||||
|
||||
configuration := NewDefaultConfiguration()
|
||||
apiClient := NewAPIClient(configuration)
|
||||
resp, r, err := apiClient..NotificationsAPI.ListNotificationTemplates(context.Background()).XSailPointExperimental(xSailPointExperimental).Limit(limit).Offset(offset).Filters(filters).Execute()
|
||||
resp, r, err := apiClient.V2025.NotificationsAPI.ListNotificationTemplates(context.Background()).XSailPointExperimental(xSailPointExperimental).Limit(limit).Offset(offset).Filters(filters).Execute()
|
||||
if err != nil {
|
||||
fmt.Fprintf(os.Stderr, "Error when calling `NotificationsAPI.ListNotificationTemplates``: %v\n", err)
|
||||
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
|
||||
@@ -1011,7 +1011,7 @@ This API is currently in an experimental state. The API is subject to change bas
|
||||
Change MAIL FROM domain
|
||||
Change the MAIL FROM domain of an AWS SES email identity and provide the MX and TXT records to be placed in the caller's DNS
|
||||
|
||||
[API Spec](https://developer.sailpoint.com/docs/api//put-mail-from-attributes)
|
||||
[API Spec](https://developer.sailpoint.com/docs/api/v2025/put-mail-from-attributes)
|
||||
|
||||
### Path Parameters
|
||||
|
||||
@@ -1045,7 +1045,7 @@ import (
|
||||
"context"
|
||||
"fmt"
|
||||
"os"
|
||||
""
|
||||
v2025 "github.com/sailpoint-oss/golang-sdk/v2/api_v2025"
|
||||
openapiclient "github.com/sailpoint-oss/golang-sdk/v2"
|
||||
)
|
||||
|
||||
@@ -1058,7 +1058,7 @@ func main() {
|
||||
|
||||
configuration := NewDefaultConfiguration()
|
||||
apiClient := NewAPIClient(configuration)
|
||||
resp, r, err := apiClient..NotificationsAPI.PutMailFromAttributes(context.Background()).XSailPointExperimental(xSailPointExperimental).MailFromAttributesDto(mailFromAttributesDto).Execute()
|
||||
resp, r, err := apiClient.V2025.NotificationsAPI.PutMailFromAttributes(context.Background()).XSailPointExperimental(xSailPointExperimental).MailFromAttributesDto(mailFromAttributesDto).Execute()
|
||||
if err != nil {
|
||||
fmt.Fprintf(os.Stderr, "Error when calling `NotificationsAPI.PutMailFromAttributes``: %v\n", err)
|
||||
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
|
||||
@@ -1085,7 +1085,7 @@ This API is currently in an experimental state. The API is subject to change bas
|
||||
Send Test Notification
|
||||
Send a Test Notification
|
||||
|
||||
[API Spec](https://developer.sailpoint.com/docs/api//send-test-notification)
|
||||
[API Spec](https://developer.sailpoint.com/docs/api/v2025/send-test-notification)
|
||||
|
||||
### Path Parameters
|
||||
|
||||
@@ -1119,7 +1119,7 @@ import (
|
||||
"context"
|
||||
"fmt"
|
||||
"os"
|
||||
""
|
||||
v2025 "github.com/sailpoint-oss/golang-sdk/v2/api_v2025"
|
||||
openapiclient "github.com/sailpoint-oss/golang-sdk/v2"
|
||||
)
|
||||
|
||||
@@ -1133,7 +1133,7 @@ func main() {
|
||||
|
||||
configuration := NewDefaultConfiguration()
|
||||
apiClient := NewAPIClient(configuration)
|
||||
r, err := apiClient..NotificationsAPI.SendTestNotification(context.Background()).XSailPointExperimental(xSailPointExperimental).SendTestNotificationRequestDto(sendTestNotificationRequestDto).Execute()
|
||||
r, err := apiClient.V2025.NotificationsAPI.SendTestNotification(context.Background()).XSailPointExperimental(xSailPointExperimental).SendTestNotificationRequestDto(sendTestNotificationRequestDto).Execute()
|
||||
if err != nil {
|
||||
fmt.Fprintf(os.Stderr, "Error when calling `NotificationsAPI.SendTestNotification``: %v\n", err)
|
||||
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
|
||||
|
||||
@@ -1,12 +1,12 @@
|
||||
---
|
||||
id: o-auth-clients
|
||||
id: v2025-o-auth-clients
|
||||
title: OAuthClients
|
||||
pagination_label: OAuthClients
|
||||
sidebar_label: OAuthClients
|
||||
sidebar_class_name: gosdk
|
||||
keywords: ['go', 'Golang', 'sdk', 'OAuthClients', 'OAuthClients']
|
||||
slug: /tools/sdk/go//methods/o-auth-clients
|
||||
tags: ['SDK', 'Software Development Kit', 'OAuthClients', 'OAuthClients']
|
||||
keywords: ['go', 'Golang', 'sdk', 'OAuthClients', 'V2025OAuthClients']
|
||||
slug: /tools/sdk/go/v2025/methods/o-auth-clients
|
||||
tags: ['SDK', 'Software Development Kit', 'OAuthClients', 'V2025OAuthClients']
|
||||
---
|
||||
|
||||
# OAuthClientsAPI
|
||||
@@ -29,7 +29,7 @@ Method | HTTP request | Description
|
||||
Create OAuth Client
|
||||
This creates an OAuth client.
|
||||
|
||||
[API Spec](https://developer.sailpoint.com/docs/api//create-oauth-client)
|
||||
[API Spec](https://developer.sailpoint.com/docs/api/v2025/create-oauth-client)
|
||||
|
||||
### Path Parameters
|
||||
|
||||
@@ -62,7 +62,7 @@ import (
|
||||
"context"
|
||||
"fmt"
|
||||
"os"
|
||||
""
|
||||
v2025 "github.com/sailpoint-oss/golang-sdk/v2/api_v2025"
|
||||
openapiclient "github.com/sailpoint-oss/golang-sdk/v2"
|
||||
)
|
||||
|
||||
@@ -87,7 +87,7 @@ func main() {
|
||||
|
||||
configuration := NewDefaultConfiguration()
|
||||
apiClient := NewAPIClient(configuration)
|
||||
resp, r, err := apiClient..OAuthClientsAPI.CreateOauthClient(context.Background()).CreateOAuthClientRequest(createOAuthClientRequest).Execute()
|
||||
resp, r, err := apiClient.V2025.OAuthClientsAPI.CreateOauthClient(context.Background()).CreateOAuthClientRequest(createOAuthClientRequest).Execute()
|
||||
if err != nil {
|
||||
fmt.Fprintf(os.Stderr, "Error when calling `OAuthClientsAPI.CreateOauthClient``: %v\n", err)
|
||||
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
|
||||
@@ -103,7 +103,7 @@ func main() {
|
||||
Delete OAuth Client
|
||||
This deletes an OAuth client.
|
||||
|
||||
[API Spec](https://developer.sailpoint.com/docs/api//delete-oauth-client)
|
||||
[API Spec](https://developer.sailpoint.com/docs/api/v2025/delete-oauth-client)
|
||||
|
||||
### Path Parameters
|
||||
|
||||
@@ -140,7 +140,7 @@ import (
|
||||
"context"
|
||||
"fmt"
|
||||
"os"
|
||||
""
|
||||
v2025 "github.com/sailpoint-oss/golang-sdk/v2/api_v2025"
|
||||
openapiclient "github.com/sailpoint-oss/golang-sdk/v2"
|
||||
)
|
||||
|
||||
@@ -149,7 +149,7 @@ func main() {
|
||||
|
||||
configuration := NewDefaultConfiguration()
|
||||
apiClient := NewAPIClient(configuration)
|
||||
r, err := apiClient..OAuthClientsAPI.DeleteOauthClient(context.Background(), id).Execute()
|
||||
r, err := apiClient.V2025.OAuthClientsAPI.DeleteOauthClient(context.Background(), id).Execute()
|
||||
if err != nil {
|
||||
fmt.Fprintf(os.Stderr, "Error when calling `OAuthClientsAPI.DeleteOauthClient``: %v\n", err)
|
||||
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
|
||||
@@ -163,7 +163,7 @@ func main() {
|
||||
Get OAuth Client
|
||||
This gets details of an OAuth client.
|
||||
|
||||
[API Spec](https://developer.sailpoint.com/docs/api//get-oauth-client)
|
||||
[API Spec](https://developer.sailpoint.com/docs/api/v2025/get-oauth-client)
|
||||
|
||||
### Path Parameters
|
||||
|
||||
@@ -200,7 +200,7 @@ import (
|
||||
"context"
|
||||
"fmt"
|
||||
"os"
|
||||
""
|
||||
v2025 "github.com/sailpoint-oss/golang-sdk/v2/api_v2025"
|
||||
openapiclient "github.com/sailpoint-oss/golang-sdk/v2"
|
||||
)
|
||||
|
||||
@@ -209,7 +209,7 @@ func main() {
|
||||
|
||||
configuration := NewDefaultConfiguration()
|
||||
apiClient := NewAPIClient(configuration)
|
||||
resp, r, err := apiClient..OAuthClientsAPI.GetOauthClient(context.Background(), id).Execute()
|
||||
resp, r, err := apiClient.V2025.OAuthClientsAPI.GetOauthClient(context.Background(), id).Execute()
|
||||
if err != nil {
|
||||
fmt.Fprintf(os.Stderr, "Error when calling `OAuthClientsAPI.GetOauthClient``: %v\n", err)
|
||||
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
|
||||
@@ -225,7 +225,7 @@ func main() {
|
||||
List OAuth Clients
|
||||
This gets a list of OAuth clients.
|
||||
|
||||
[API Spec](https://developer.sailpoint.com/docs/api//list-oauth-clients)
|
||||
[API Spec](https://developer.sailpoint.com/docs/api/v2025/list-oauth-clients)
|
||||
|
||||
### Path Parameters
|
||||
|
||||
@@ -258,7 +258,7 @@ import (
|
||||
"context"
|
||||
"fmt"
|
||||
"os"
|
||||
""
|
||||
v2025 "github.com/sailpoint-oss/golang-sdk/v2/api_v2025"
|
||||
openapiclient "github.com/sailpoint-oss/golang-sdk/v2"
|
||||
)
|
||||
|
||||
@@ -267,7 +267,7 @@ func main() {
|
||||
|
||||
configuration := NewDefaultConfiguration()
|
||||
apiClient := NewAPIClient(configuration)
|
||||
resp, r, err := apiClient..OAuthClientsAPI.ListOauthClients(context.Background()).Filters(filters).Execute()
|
||||
resp, r, err := apiClient.V2025.OAuthClientsAPI.ListOauthClients(context.Background()).Filters(filters).Execute()
|
||||
if err != nil {
|
||||
fmt.Fprintf(os.Stderr, "Error when calling `OAuthClientsAPI.ListOauthClients``: %v\n", err)
|
||||
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
|
||||
@@ -283,7 +283,7 @@ func main() {
|
||||
Patch OAuth Client
|
||||
This performs a targeted update to the field(s) of an OAuth client.
|
||||
|
||||
[API Spec](https://developer.sailpoint.com/docs/api//patch-oauth-client)
|
||||
[API Spec](https://developer.sailpoint.com/docs/api/v2025/patch-oauth-client)
|
||||
|
||||
### Path Parameters
|
||||
|
||||
@@ -321,7 +321,7 @@ import (
|
||||
"context"
|
||||
"fmt"
|
||||
"os"
|
||||
""
|
||||
v2025 "github.com/sailpoint-oss/golang-sdk/v2/api_v2025"
|
||||
openapiclient "github.com/sailpoint-oss/golang-sdk/v2"
|
||||
)
|
||||
|
||||
@@ -331,7 +331,7 @@ func main() {
|
||||
|
||||
configuration := NewDefaultConfiguration()
|
||||
apiClient := NewAPIClient(configuration)
|
||||
resp, r, err := apiClient..OAuthClientsAPI.PatchOauthClient(context.Background(), id).JsonPatchOperation(jsonPatchOperation).Execute()
|
||||
resp, r, err := apiClient.V2025.OAuthClientsAPI.PatchOauthClient(context.Background(), id).JsonPatchOperation(jsonPatchOperation).Execute()
|
||||
if err != nil {
|
||||
fmt.Fprintf(os.Stderr, "Error when calling `OAuthClientsAPI.PatchOauthClient``: %v\n", err)
|
||||
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
|
||||
|
||||
@@ -1,12 +1,12 @@
|
||||
---
|
||||
id: org-config
|
||||
id: v2025-org-config
|
||||
title: OrgConfig
|
||||
pagination_label: OrgConfig
|
||||
sidebar_label: OrgConfig
|
||||
sidebar_class_name: gosdk
|
||||
keywords: ['go', 'Golang', 'sdk', 'OrgConfig', 'OrgConfig']
|
||||
slug: /tools/sdk/go//methods/org-config
|
||||
tags: ['SDK', 'Software Development Kit', 'OrgConfig', 'OrgConfig']
|
||||
keywords: ['go', 'Golang', 'sdk', 'OrgConfig', 'V2025OrgConfig']
|
||||
slug: /tools/sdk/go/v2025/methods/org-config
|
||||
tags: ['SDK', 'Software Development Kit', 'OrgConfig', 'V2025OrgConfig']
|
||||
---
|
||||
|
||||
# OrgConfigAPI
|
||||
@@ -37,7 +37,7 @@ This API is currently in an experimental state. The API is subject to change bas
|
||||
Get Org Config Settings
|
||||
Get the current organization's configuration settings, only external accessible properties.
|
||||
|
||||
[API Spec](https://developer.sailpoint.com/docs/api//get-org-config)
|
||||
[API Spec](https://developer.sailpoint.com/docs/api/v2025/get-org-config)
|
||||
|
||||
### Path Parameters
|
||||
|
||||
@@ -70,7 +70,7 @@ import (
|
||||
"context"
|
||||
"fmt"
|
||||
"os"
|
||||
""
|
||||
v2025 "github.com/sailpoint-oss/golang-sdk/v2/api_v2025"
|
||||
openapiclient "github.com/sailpoint-oss/golang-sdk/v2"
|
||||
)
|
||||
|
||||
@@ -79,7 +79,7 @@ func main() {
|
||||
|
||||
configuration := NewDefaultConfiguration()
|
||||
apiClient := NewAPIClient(configuration)
|
||||
resp, r, err := apiClient..OrgConfigAPI.GetOrgConfig(context.Background()).XSailPointExperimental(xSailPointExperimental).Execute()
|
||||
resp, r, err := apiClient.V2025.OrgConfigAPI.GetOrgConfig(context.Background()).XSailPointExperimental(xSailPointExperimental).Execute()
|
||||
if err != nil {
|
||||
fmt.Fprintf(os.Stderr, "Error when calling `OrgConfigAPI.GetOrgConfig``: %v\n", err)
|
||||
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
|
||||
@@ -106,7 +106,7 @@ This API is currently in an experimental state. The API is subject to change bas
|
||||
Get Valid Time Zones
|
||||
List the valid time zones that can be set in organization configurations.
|
||||
|
||||
[API Spec](https://developer.sailpoint.com/docs/api//get-valid-time-zones)
|
||||
[API Spec](https://developer.sailpoint.com/docs/api/v2025/get-valid-time-zones)
|
||||
|
||||
### Path Parameters
|
||||
|
||||
@@ -142,7 +142,7 @@ import (
|
||||
"context"
|
||||
"fmt"
|
||||
"os"
|
||||
""
|
||||
v2025 "github.com/sailpoint-oss/golang-sdk/v2/api_v2025"
|
||||
openapiclient "github.com/sailpoint-oss/golang-sdk/v2"
|
||||
)
|
||||
|
||||
@@ -154,7 +154,7 @@ func main() {
|
||||
|
||||
configuration := NewDefaultConfiguration()
|
||||
apiClient := NewAPIClient(configuration)
|
||||
resp, r, err := apiClient..OrgConfigAPI.GetValidTimeZones(context.Background()).XSailPointExperimental(xSailPointExperimental).Limit(limit).Offset(offset).Count(count).Execute()
|
||||
resp, r, err := apiClient.V2025.OrgConfigAPI.GetValidTimeZones(context.Background()).XSailPointExperimental(xSailPointExperimental).Limit(limit).Offset(offset).Count(count).Execute()
|
||||
if err != nil {
|
||||
fmt.Fprintf(os.Stderr, "Error when calling `OrgConfigAPI.GetValidTimeZones``: %v\n", err)
|
||||
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
|
||||
@@ -181,7 +181,7 @@ This API is currently in an experimental state. The API is subject to change bas
|
||||
Patch Org Config
|
||||
Patch the current organization's configuration, using http://jsonpatch.com/ syntax. This is commonly used to changing an organization's time zone.
|
||||
|
||||
[API Spec](https://developer.sailpoint.com/docs/api//patch-org-config)
|
||||
[API Spec](https://developer.sailpoint.com/docs/api/v2025/patch-org-config)
|
||||
|
||||
### Path Parameters
|
||||
|
||||
@@ -215,7 +215,7 @@ import (
|
||||
"context"
|
||||
"fmt"
|
||||
"os"
|
||||
""
|
||||
v2025 "github.com/sailpoint-oss/golang-sdk/v2/api_v2025"
|
||||
openapiclient "github.com/sailpoint-oss/golang-sdk/v2"
|
||||
)
|
||||
|
||||
@@ -225,7 +225,7 @@ func main() {
|
||||
|
||||
configuration := NewDefaultConfiguration()
|
||||
apiClient := NewAPIClient(configuration)
|
||||
resp, r, err := apiClient..OrgConfigAPI.PatchOrgConfig(context.Background()).XSailPointExperimental(xSailPointExperimental).JsonPatchOperation(jsonPatchOperation).Execute()
|
||||
resp, r, err := apiClient.V2025.OrgConfigAPI.PatchOrgConfig(context.Background()).XSailPointExperimental(xSailPointExperimental).JsonPatchOperation(jsonPatchOperation).Execute()
|
||||
if err != nil {
|
||||
fmt.Fprintf(os.Stderr, "Error when calling `OrgConfigAPI.PatchOrgConfig``: %v\n", err)
|
||||
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
|
||||
|
||||
@@ -1,12 +1,12 @@
|
||||
---
|
||||
id: password-configuration
|
||||
id: v2025-password-configuration
|
||||
title: PasswordConfiguration
|
||||
pagination_label: PasswordConfiguration
|
||||
sidebar_label: PasswordConfiguration
|
||||
sidebar_class_name: gosdk
|
||||
keywords: ['go', 'Golang', 'sdk', 'PasswordConfiguration', 'PasswordConfiguration']
|
||||
slug: /tools/sdk/go//methods/password-configuration
|
||||
tags: ['SDK', 'Software Development Kit', 'PasswordConfiguration', 'PasswordConfiguration']
|
||||
keywords: ['go', 'Golang', 'sdk', 'PasswordConfiguration', 'V2025PasswordConfiguration']
|
||||
slug: /tools/sdk/go/v2025/methods/password-configuration
|
||||
tags: ['SDK', 'Software Development Kit', 'PasswordConfiguration', 'V2025PasswordConfiguration']
|
||||
---
|
||||
|
||||
# PasswordConfigurationAPI
|
||||
@@ -32,7 +32,7 @@ This API creates the password org config. Unspecified fields will use default va
|
||||
To be able to use the custom password instructions, you must set the `customInstructionsEnabled` field to "true".
|
||||
Requires ORG_ADMIN, API role or authorization scope of 'idn:password-org-config:write'
|
||||
|
||||
[API Spec](https://developer.sailpoint.com/docs/api//create-password-org-config)
|
||||
[API Spec](https://developer.sailpoint.com/docs/api/v2025/create-password-org-config)
|
||||
|
||||
### Path Parameters
|
||||
|
||||
@@ -65,7 +65,7 @@ import (
|
||||
"context"
|
||||
"fmt"
|
||||
"os"
|
||||
""
|
||||
v2025 "github.com/sailpoint-oss/golang-sdk/v2/api_v2025"
|
||||
openapiclient "github.com/sailpoint-oss/golang-sdk/v2"
|
||||
)
|
||||
|
||||
@@ -79,7 +79,7 @@ func main() {
|
||||
|
||||
configuration := NewDefaultConfiguration()
|
||||
apiClient := NewAPIClient(configuration)
|
||||
resp, r, err := apiClient..PasswordConfigurationAPI.CreatePasswordOrgConfig(context.Background()).PasswordOrgConfig(passwordOrgConfig).Execute()
|
||||
resp, r, err := apiClient.V2025.PasswordConfigurationAPI.CreatePasswordOrgConfig(context.Background()).PasswordOrgConfig(passwordOrgConfig).Execute()
|
||||
if err != nil {
|
||||
fmt.Fprintf(os.Stderr, "Error when calling `PasswordConfigurationAPI.CreatePasswordOrgConfig``: %v\n", err)
|
||||
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
|
||||
@@ -95,7 +95,7 @@ func main() {
|
||||
Get Password Org Config
|
||||
This API returns the password org config . Requires ORG_ADMIN, API role or authorization scope of 'idn:password-org-config:read'
|
||||
|
||||
[API Spec](https://developer.sailpoint.com/docs/api//get-password-org-config)
|
||||
[API Spec](https://developer.sailpoint.com/docs/api/v2025/get-password-org-config)
|
||||
|
||||
### Path Parameters
|
||||
|
||||
@@ -124,7 +124,7 @@ import (
|
||||
"context"
|
||||
"fmt"
|
||||
"os"
|
||||
""
|
||||
v2025 "github.com/sailpoint-oss/golang-sdk/v2/api_v2025"
|
||||
openapiclient "github.com/sailpoint-oss/golang-sdk/v2"
|
||||
)
|
||||
|
||||
@@ -132,7 +132,7 @@ func main() {
|
||||
|
||||
configuration := NewDefaultConfiguration()
|
||||
apiClient := NewAPIClient(configuration)
|
||||
resp, r, err := apiClient..PasswordConfigurationAPI.GetPasswordOrgConfig(context.Background()).Execute()
|
||||
resp, r, err := apiClient.V2025.PasswordConfigurationAPI.GetPasswordOrgConfig(context.Background()).Execute()
|
||||
if err != nil {
|
||||
fmt.Fprintf(os.Stderr, "Error when calling `PasswordConfigurationAPI.GetPasswordOrgConfig``: %v\n", err)
|
||||
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
|
||||
@@ -150,7 +150,7 @@ This API updates the password org config for specified fields. Other fields will
|
||||
You must set the `customInstructionsEnabled` field to "true" to be able to use custom password instructions.
|
||||
Requires ORG_ADMIN, API role or authorization scope of 'idn:password-org-config:write'
|
||||
|
||||
[API Spec](https://developer.sailpoint.com/docs/api//put-password-org-config)
|
||||
[API Spec](https://developer.sailpoint.com/docs/api/v2025/put-password-org-config)
|
||||
|
||||
### Path Parameters
|
||||
|
||||
@@ -183,7 +183,7 @@ import (
|
||||
"context"
|
||||
"fmt"
|
||||
"os"
|
||||
""
|
||||
v2025 "github.com/sailpoint-oss/golang-sdk/v2/api_v2025"
|
||||
openapiclient "github.com/sailpoint-oss/golang-sdk/v2"
|
||||
)
|
||||
|
||||
@@ -197,7 +197,7 @@ func main() {
|
||||
|
||||
configuration := NewDefaultConfiguration()
|
||||
apiClient := NewAPIClient(configuration)
|
||||
resp, r, err := apiClient..PasswordConfigurationAPI.PutPasswordOrgConfig(context.Background()).PasswordOrgConfig(passwordOrgConfig).Execute()
|
||||
resp, r, err := apiClient.V2025.PasswordConfigurationAPI.PutPasswordOrgConfig(context.Background()).PasswordOrgConfig(passwordOrgConfig).Execute()
|
||||
if err != nil {
|
||||
fmt.Fprintf(os.Stderr, "Error when calling `PasswordConfigurationAPI.PutPasswordOrgConfig``: %v\n", err)
|
||||
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
|
||||
|
||||
@@ -1,12 +1,12 @@
|
||||
---
|
||||
id: password-dictionary
|
||||
id: v2025-password-dictionary
|
||||
title: PasswordDictionary
|
||||
pagination_label: PasswordDictionary
|
||||
sidebar_label: PasswordDictionary
|
||||
sidebar_class_name: gosdk
|
||||
keywords: ['go', 'Golang', 'sdk', 'PasswordDictionary', 'PasswordDictionary']
|
||||
slug: /tools/sdk/go//methods/password-dictionary
|
||||
tags: ['SDK', 'Software Development Kit', 'PasswordDictionary', 'PasswordDictionary']
|
||||
keywords: ['go', 'Golang', 'sdk', 'PasswordDictionary', 'V2025PasswordDictionary']
|
||||
slug: /tools/sdk/go/v2025/methods/password-dictionary
|
||||
tags: ['SDK', 'Software Development Kit', 'PasswordDictionary', 'V2025PasswordDictionary']
|
||||
---
|
||||
|
||||
# PasswordDictionaryAPI
|
||||
@@ -98,7 +98,7 @@ qazxsws
|
||||
|
||||
```
|
||||
|
||||
[API Spec](https://developer.sailpoint.com/docs/api//get-password-dictionary)
|
||||
[API Spec](https://developer.sailpoint.com/docs/api/v2025/get-password-dictionary)
|
||||
|
||||
### Path Parameters
|
||||
|
||||
@@ -127,7 +127,7 @@ import (
|
||||
"context"
|
||||
"fmt"
|
||||
"os"
|
||||
""
|
||||
v2025 "github.com/sailpoint-oss/golang-sdk/v2/api_v2025"
|
||||
openapiclient "github.com/sailpoint-oss/golang-sdk/v2"
|
||||
)
|
||||
|
||||
@@ -135,7 +135,7 @@ func main() {
|
||||
|
||||
configuration := NewDefaultConfiguration()
|
||||
apiClient := NewAPIClient(configuration)
|
||||
resp, r, err := apiClient..PasswordDictionaryAPI.GetPasswordDictionary(context.Background()).Execute()
|
||||
resp, r, err := apiClient.V2025.PasswordDictionaryAPI.GetPasswordDictionary(context.Background()).Execute()
|
||||
if err != nil {
|
||||
fmt.Fprintf(os.Stderr, "Error when calling `PasswordDictionaryAPI.GetPasswordDictionary``: %v\n", err)
|
||||
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
|
||||
@@ -179,7 +179,7 @@ qazxsws
|
||||
|
||||
```
|
||||
|
||||
[API Spec](https://developer.sailpoint.com/docs/api//put-password-dictionary)
|
||||
[API Spec](https://developer.sailpoint.com/docs/api/v2025/put-password-dictionary)
|
||||
|
||||
### Path Parameters
|
||||
|
||||
@@ -212,7 +212,7 @@ import (
|
||||
"context"
|
||||
"fmt"
|
||||
"os"
|
||||
""
|
||||
v2025 "github.com/sailpoint-oss/golang-sdk/v2/api_v2025"
|
||||
openapiclient "github.com/sailpoint-oss/golang-sdk/v2"
|
||||
)
|
||||
|
||||
@@ -221,7 +221,7 @@ func main() {
|
||||
|
||||
configuration := NewDefaultConfiguration()
|
||||
apiClient := NewAPIClient(configuration)
|
||||
r, err := apiClient..PasswordDictionaryAPI.PutPasswordDictionary(context.Background()).File(file).Execute()
|
||||
r, err := apiClient.V2025.PasswordDictionaryAPI.PutPasswordDictionary(context.Background()).File(file).Execute()
|
||||
if err != nil {
|
||||
fmt.Fprintf(os.Stderr, "Error when calling `PasswordDictionaryAPI.PutPasswordDictionary``: %v\n", err)
|
||||
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
|
||||
|
||||
@@ -1,12 +1,12 @@
|
||||
---
|
||||
id: password-management
|
||||
id: v2025-password-management
|
||||
title: PasswordManagement
|
||||
pagination_label: PasswordManagement
|
||||
sidebar_label: PasswordManagement
|
||||
sidebar_class_name: gosdk
|
||||
keywords: ['go', 'Golang', 'sdk', 'PasswordManagement', 'PasswordManagement']
|
||||
slug: /tools/sdk/go//methods/password-management
|
||||
tags: ['SDK', 'Software Development Kit', 'PasswordManagement', 'PasswordManagement']
|
||||
keywords: ['go', 'Golang', 'sdk', 'PasswordManagement', 'V2025PasswordManagement']
|
||||
slug: /tools/sdk/go/v2025/methods/password-management
|
||||
tags: ['SDK', 'Software Development Kit', 'PasswordManagement', 'V2025PasswordManagement']
|
||||
---
|
||||
|
||||
# PasswordManagementAPI
|
||||
@@ -60,7 +60,7 @@ This API is currently in an experimental state. The API is subject to change bas
|
||||
Generate a digit token
|
||||
This API is used to generate a digit token for password management. Requires authorization scope of "idn:password-digit-token:create".
|
||||
|
||||
[API Spec](https://developer.sailpoint.com/docs/api//create-digit-token)
|
||||
[API Spec](https://developer.sailpoint.com/docs/api/v2025/create-digit-token)
|
||||
|
||||
### Path Parameters
|
||||
|
||||
@@ -94,7 +94,7 @@ import (
|
||||
"context"
|
||||
"fmt"
|
||||
"os"
|
||||
""
|
||||
v2025 "github.com/sailpoint-oss/golang-sdk/v2/api_v2025"
|
||||
openapiclient "github.com/sailpoint-oss/golang-sdk/v2"
|
||||
)
|
||||
|
||||
@@ -108,7 +108,7 @@ func main() {
|
||||
|
||||
configuration := NewDefaultConfiguration()
|
||||
apiClient := NewAPIClient(configuration)
|
||||
resp, r, err := apiClient..PasswordManagementAPI.CreateDigitToken(context.Background()).XSailPointExperimental(xSailPointExperimental).PasswordDigitTokenReset(passwordDigitTokenReset).Execute()
|
||||
resp, r, err := apiClient.V2025.PasswordManagementAPI.CreateDigitToken(context.Background()).XSailPointExperimental(xSailPointExperimental).PasswordDigitTokenReset(passwordDigitTokenReset).Execute()
|
||||
if err != nil {
|
||||
fmt.Fprintf(os.Stderr, "Error when calling `PasswordManagementAPI.CreateDigitToken``: %v\n", err)
|
||||
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
|
||||
@@ -124,7 +124,7 @@ func main() {
|
||||
Get Password Change Request Status
|
||||
This API returns the status of a password change request.
|
||||
|
||||
[API Spec](https://developer.sailpoint.com/docs/api//get-password-change-status)
|
||||
[API Spec](https://developer.sailpoint.com/docs/api/v2025/get-password-change-status)
|
||||
|
||||
### Path Parameters
|
||||
|
||||
@@ -161,7 +161,7 @@ import (
|
||||
"context"
|
||||
"fmt"
|
||||
"os"
|
||||
""
|
||||
v2025 "github.com/sailpoint-oss/golang-sdk/v2/api_v2025"
|
||||
openapiclient "github.com/sailpoint-oss/golang-sdk/v2"
|
||||
)
|
||||
|
||||
@@ -170,7 +170,7 @@ func main() {
|
||||
|
||||
configuration := NewDefaultConfiguration()
|
||||
apiClient := NewAPIClient(configuration)
|
||||
resp, r, err := apiClient..PasswordManagementAPI.GetPasswordChangeStatus(context.Background(), id).Execute()
|
||||
resp, r, err := apiClient.V2025.PasswordManagementAPI.GetPasswordChangeStatus(context.Background(), id).Execute()
|
||||
if err != nil {
|
||||
fmt.Fprintf(os.Stderr, "Error when calling `PasswordManagementAPI.GetPasswordChangeStatus``: %v\n", err)
|
||||
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
|
||||
@@ -187,7 +187,7 @@ Query Password Info
|
||||
This API is used to query password related information.
|
||||
|
||||
|
||||
[API Spec](https://developer.sailpoint.com/docs/api//query-password-info)
|
||||
[API Spec](https://developer.sailpoint.com/docs/api/v2025/query-password-info)
|
||||
|
||||
### Path Parameters
|
||||
|
||||
@@ -220,7 +220,7 @@ import (
|
||||
"context"
|
||||
"fmt"
|
||||
"os"
|
||||
""
|
||||
v2025 "github.com/sailpoint-oss/golang-sdk/v2/api_v2025"
|
||||
openapiclient "github.com/sailpoint-oss/golang-sdk/v2"
|
||||
)
|
||||
|
||||
@@ -232,7 +232,7 @@ func main() {
|
||||
|
||||
configuration := NewDefaultConfiguration()
|
||||
apiClient := NewAPIClient(configuration)
|
||||
resp, r, err := apiClient..PasswordManagementAPI.QueryPasswordInfo(context.Background()).PasswordInfoQueryDTO(passwordInfoQueryDTO).Execute()
|
||||
resp, r, err := apiClient.V2025.PasswordManagementAPI.QueryPasswordInfo(context.Background()).PasswordInfoQueryDTO(passwordInfoQueryDTO).Execute()
|
||||
if err != nil {
|
||||
fmt.Fprintf(os.Stderr, "Error when calling `PasswordManagementAPI.QueryPasswordInfo``: %v\n", err)
|
||||
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
|
||||
@@ -267,7 +267,7 @@ If you are using a Windows machine, refer to this [guide](https://tecadmin.net/i
|
||||
You can then use [Get Password Change Request Status](https://developer.sailpoint.com/idn/api/v3/get-password-change-status) to check the password change request status. To do so, you must provide the `requestId` from your earlier request to set the password.
|
||||
|
||||
|
||||
[API Spec](https://developer.sailpoint.com/docs/api//set-password)
|
||||
[API Spec](https://developer.sailpoint.com/docs/api/v2025/set-password)
|
||||
|
||||
### Path Parameters
|
||||
|
||||
@@ -300,7 +300,7 @@ import (
|
||||
"context"
|
||||
"fmt"
|
||||
"os"
|
||||
""
|
||||
v2025 "github.com/sailpoint-oss/golang-sdk/v2/api_v2025"
|
||||
openapiclient "github.com/sailpoint-oss/golang-sdk/v2"
|
||||
)
|
||||
|
||||
@@ -315,7 +315,7 @@ func main() {
|
||||
|
||||
configuration := NewDefaultConfiguration()
|
||||
apiClient := NewAPIClient(configuration)
|
||||
resp, r, err := apiClient..PasswordManagementAPI.SetPassword(context.Background()).PasswordChangeRequest(passwordChangeRequest).Execute()
|
||||
resp, r, err := apiClient.V2025.PasswordManagementAPI.SetPassword(context.Background()).PasswordChangeRequest(passwordChangeRequest).Execute()
|
||||
if err != nil {
|
||||
fmt.Fprintf(os.Stderr, "Error when calling `PasswordManagementAPI.SetPassword``: %v\n", err)
|
||||
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
|
||||
|
||||
@@ -1,12 +1,12 @@
|
||||
---
|
||||
id: password-policies
|
||||
id: v2025-password-policies
|
||||
title: PasswordPolicies
|
||||
pagination_label: PasswordPolicies
|
||||
sidebar_label: PasswordPolicies
|
||||
sidebar_class_name: gosdk
|
||||
keywords: ['go', 'Golang', 'sdk', 'PasswordPolicies', 'PasswordPolicies']
|
||||
slug: /tools/sdk/go//methods/password-policies
|
||||
tags: ['SDK', 'Software Development Kit', 'PasswordPolicies', 'PasswordPolicies']
|
||||
keywords: ['go', 'Golang', 'sdk', 'PasswordPolicies', 'V2025PasswordPolicies']
|
||||
slug: /tools/sdk/go/v2025/methods/password-policies
|
||||
tags: ['SDK', 'Software Development Kit', 'PasswordPolicies', 'V2025PasswordPolicies']
|
||||
---
|
||||
|
||||
# PasswordPoliciesAPI
|
||||
@@ -34,7 +34,7 @@ Method | HTTP request | Description
|
||||
Create Password Policy
|
||||
This API creates the specified password policy.
|
||||
|
||||
[API Spec](https://developer.sailpoint.com/docs/api//create-password-policy)
|
||||
[API Spec](https://developer.sailpoint.com/docs/api/v2025/create-password-policy)
|
||||
|
||||
### Path Parameters
|
||||
|
||||
@@ -67,7 +67,7 @@ import (
|
||||
"context"
|
||||
"fmt"
|
||||
"os"
|
||||
""
|
||||
v2025 "github.com/sailpoint-oss/golang-sdk/v2/api_v2025"
|
||||
openapiclient "github.com/sailpoint-oss/golang-sdk/v2"
|
||||
)
|
||||
|
||||
@@ -108,7 +108,7 @@ func main() {
|
||||
|
||||
configuration := NewDefaultConfiguration()
|
||||
apiClient := NewAPIClient(configuration)
|
||||
resp, r, err := apiClient..PasswordPoliciesAPI.CreatePasswordPolicy(context.Background()).PasswordPolicyV3Dto(passwordPolicyV3Dto).Execute()
|
||||
resp, r, err := apiClient.V2025.PasswordPoliciesAPI.CreatePasswordPolicy(context.Background()).PasswordPolicyV3Dto(passwordPolicyV3Dto).Execute()
|
||||
if err != nil {
|
||||
fmt.Fprintf(os.Stderr, "Error when calling `PasswordPoliciesAPI.CreatePasswordPolicy``: %v\n", err)
|
||||
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
|
||||
@@ -124,7 +124,7 @@ func main() {
|
||||
Delete Password Policy by ID
|
||||
This API deletes the specified password policy.
|
||||
|
||||
[API Spec](https://developer.sailpoint.com/docs/api//delete-password-policy)
|
||||
[API Spec](https://developer.sailpoint.com/docs/api/v2025/delete-password-policy)
|
||||
|
||||
### Path Parameters
|
||||
|
||||
@@ -161,7 +161,7 @@ import (
|
||||
"context"
|
||||
"fmt"
|
||||
"os"
|
||||
""
|
||||
v2025 "github.com/sailpoint-oss/golang-sdk/v2/api_v2025"
|
||||
openapiclient "github.com/sailpoint-oss/golang-sdk/v2"
|
||||
)
|
||||
|
||||
@@ -170,7 +170,7 @@ func main() {
|
||||
|
||||
configuration := NewDefaultConfiguration()
|
||||
apiClient := NewAPIClient(configuration)
|
||||
r, err := apiClient..PasswordPoliciesAPI.DeletePasswordPolicy(context.Background(), id).Execute()
|
||||
r, err := apiClient.V2025.PasswordPoliciesAPI.DeletePasswordPolicy(context.Background(), id).Execute()
|
||||
if err != nil {
|
||||
fmt.Fprintf(os.Stderr, "Error when calling `PasswordPoliciesAPI.DeletePasswordPolicy``: %v\n", err)
|
||||
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
|
||||
@@ -184,7 +184,7 @@ func main() {
|
||||
Get Password Policy by ID
|
||||
This API returns the password policy for the specified ID.
|
||||
|
||||
[API Spec](https://developer.sailpoint.com/docs/api//get-password-policy-by-id)
|
||||
[API Spec](https://developer.sailpoint.com/docs/api/v2025/get-password-policy-by-id)
|
||||
|
||||
### Path Parameters
|
||||
|
||||
@@ -221,7 +221,7 @@ import (
|
||||
"context"
|
||||
"fmt"
|
||||
"os"
|
||||
""
|
||||
v2025 "github.com/sailpoint-oss/golang-sdk/v2/api_v2025"
|
||||
openapiclient "github.com/sailpoint-oss/golang-sdk/v2"
|
||||
)
|
||||
|
||||
@@ -230,7 +230,7 @@ func main() {
|
||||
|
||||
configuration := NewDefaultConfiguration()
|
||||
apiClient := NewAPIClient(configuration)
|
||||
resp, r, err := apiClient..PasswordPoliciesAPI.GetPasswordPolicyById(context.Background(), id).Execute()
|
||||
resp, r, err := apiClient.V2025.PasswordPoliciesAPI.GetPasswordPolicyById(context.Background(), id).Execute()
|
||||
if err != nil {
|
||||
fmt.Fprintf(os.Stderr, "Error when calling `PasswordPoliciesAPI.GetPasswordPolicyById``: %v\n", err)
|
||||
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
|
||||
@@ -247,7 +247,7 @@ List Password Policies
|
||||
This gets list of all Password Policies.
|
||||
Requires role of ORG_ADMIN
|
||||
|
||||
[API Spec](https://developer.sailpoint.com/docs/api//list-password-policies)
|
||||
[API Spec](https://developer.sailpoint.com/docs/api/v2025/list-password-policies)
|
||||
|
||||
### Path Parameters
|
||||
|
||||
@@ -282,7 +282,7 @@ import (
|
||||
"context"
|
||||
"fmt"
|
||||
"os"
|
||||
""
|
||||
v2025 "github.com/sailpoint-oss/golang-sdk/v2/api_v2025"
|
||||
openapiclient "github.com/sailpoint-oss/golang-sdk/v2"
|
||||
)
|
||||
|
||||
@@ -293,7 +293,7 @@ func main() {
|
||||
|
||||
configuration := NewDefaultConfiguration()
|
||||
apiClient := NewAPIClient(configuration)
|
||||
resp, r, err := apiClient..PasswordPoliciesAPI.ListPasswordPolicies(context.Background()).Limit(limit).Offset(offset).Count(count).Execute()
|
||||
resp, r, err := apiClient.V2025.PasswordPoliciesAPI.ListPasswordPolicies(context.Background()).Limit(limit).Offset(offset).Count(count).Execute()
|
||||
if err != nil {
|
||||
fmt.Fprintf(os.Stderr, "Error when calling `PasswordPoliciesAPI.ListPasswordPolicies``: %v\n", err)
|
||||
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
|
||||
@@ -309,7 +309,7 @@ func main() {
|
||||
Update Password Policy by ID
|
||||
This API updates the specified password policy.
|
||||
|
||||
[API Spec](https://developer.sailpoint.com/docs/api//set-password-policy)
|
||||
[API Spec](https://developer.sailpoint.com/docs/api/v2025/set-password-policy)
|
||||
|
||||
### Path Parameters
|
||||
|
||||
@@ -347,7 +347,7 @@ import (
|
||||
"context"
|
||||
"fmt"
|
||||
"os"
|
||||
""
|
||||
v2025 "github.com/sailpoint-oss/golang-sdk/v2/api_v2025"
|
||||
openapiclient "github.com/sailpoint-oss/golang-sdk/v2"
|
||||
)
|
||||
|
||||
@@ -389,7 +389,7 @@ func main() {
|
||||
|
||||
configuration := NewDefaultConfiguration()
|
||||
apiClient := NewAPIClient(configuration)
|
||||
resp, r, err := apiClient..PasswordPoliciesAPI.SetPasswordPolicy(context.Background(), id).PasswordPolicyV3Dto(passwordPolicyV3Dto).Execute()
|
||||
resp, r, err := apiClient.V2025.PasswordPoliciesAPI.SetPasswordPolicy(context.Background(), id).PasswordPolicyV3Dto(passwordPolicyV3Dto).Execute()
|
||||
if err != nil {
|
||||
fmt.Fprintf(os.Stderr, "Error when calling `PasswordPoliciesAPI.SetPasswordPolicy``: %v\n", err)
|
||||
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
|
||||
|
||||
@@ -1,12 +1,12 @@
|
||||
---
|
||||
id: password-sync-groups
|
||||
id: v2025-password-sync-groups
|
||||
title: PasswordSyncGroups
|
||||
pagination_label: PasswordSyncGroups
|
||||
sidebar_label: PasswordSyncGroups
|
||||
sidebar_class_name: gosdk
|
||||
keywords: ['go', 'Golang', 'sdk', 'PasswordSyncGroups', 'PasswordSyncGroups']
|
||||
slug: /tools/sdk/go//methods/password-sync-groups
|
||||
tags: ['SDK', 'Software Development Kit', 'PasswordSyncGroups', 'PasswordSyncGroups']
|
||||
keywords: ['go', 'Golang', 'sdk', 'PasswordSyncGroups', 'V2025PasswordSyncGroups']
|
||||
slug: /tools/sdk/go/v2025/methods/password-sync-groups
|
||||
tags: ['SDK', 'Software Development Kit', 'PasswordSyncGroups', 'V2025PasswordSyncGroups']
|
||||
---
|
||||
|
||||
# PasswordSyncGroupsAPI
|
||||
@@ -58,7 +58,7 @@ Method | HTTP request | Description
|
||||
Create Password Sync Group
|
||||
This API creates a password sync group based on the specifications provided.
|
||||
|
||||
[API Spec](https://developer.sailpoint.com/docs/api//create-password-sync-group)
|
||||
[API Spec](https://developer.sailpoint.com/docs/api/v2025/create-password-sync-group)
|
||||
|
||||
### Path Parameters
|
||||
|
||||
@@ -91,7 +91,7 @@ import (
|
||||
"context"
|
||||
"fmt"
|
||||
"os"
|
||||
""
|
||||
v2025 "github.com/sailpoint-oss/golang-sdk/v2/api_v2025"
|
||||
openapiclient "github.com/sailpoint-oss/golang-sdk/v2"
|
||||
)
|
||||
|
||||
@@ -107,7 +107,7 @@ func main() {
|
||||
|
||||
configuration := NewDefaultConfiguration()
|
||||
apiClient := NewAPIClient(configuration)
|
||||
resp, r, err := apiClient..PasswordSyncGroupsAPI.CreatePasswordSyncGroup(context.Background()).PasswordSyncGroup(passwordSyncGroup).Execute()
|
||||
resp, r, err := apiClient.V2025.PasswordSyncGroupsAPI.CreatePasswordSyncGroup(context.Background()).PasswordSyncGroup(passwordSyncGroup).Execute()
|
||||
if err != nil {
|
||||
fmt.Fprintf(os.Stderr, "Error when calling `PasswordSyncGroupsAPI.CreatePasswordSyncGroup``: %v\n", err)
|
||||
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
|
||||
@@ -123,7 +123,7 @@ func main() {
|
||||
Delete Password Sync Group by ID
|
||||
This API deletes the specified password sync group.
|
||||
|
||||
[API Spec](https://developer.sailpoint.com/docs/api//delete-password-sync-group)
|
||||
[API Spec](https://developer.sailpoint.com/docs/api/v2025/delete-password-sync-group)
|
||||
|
||||
### Path Parameters
|
||||
|
||||
@@ -160,7 +160,7 @@ import (
|
||||
"context"
|
||||
"fmt"
|
||||
"os"
|
||||
""
|
||||
v2025 "github.com/sailpoint-oss/golang-sdk/v2/api_v2025"
|
||||
openapiclient "github.com/sailpoint-oss/golang-sdk/v2"
|
||||
)
|
||||
|
||||
@@ -169,7 +169,7 @@ func main() {
|
||||
|
||||
configuration := NewDefaultConfiguration()
|
||||
apiClient := NewAPIClient(configuration)
|
||||
r, err := apiClient..PasswordSyncGroupsAPI.DeletePasswordSyncGroup(context.Background(), id).Execute()
|
||||
r, err := apiClient.V2025.PasswordSyncGroupsAPI.DeletePasswordSyncGroup(context.Background(), id).Execute()
|
||||
if err != nil {
|
||||
fmt.Fprintf(os.Stderr, "Error when calling `PasswordSyncGroupsAPI.DeletePasswordSyncGroup``: %v\n", err)
|
||||
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
|
||||
@@ -183,7 +183,7 @@ func main() {
|
||||
Get Password Sync Group by ID
|
||||
This API returns the sync group for the specified ID.
|
||||
|
||||
[API Spec](https://developer.sailpoint.com/docs/api//get-password-sync-group)
|
||||
[API Spec](https://developer.sailpoint.com/docs/api/v2025/get-password-sync-group)
|
||||
|
||||
### Path Parameters
|
||||
|
||||
@@ -220,7 +220,7 @@ import (
|
||||
"context"
|
||||
"fmt"
|
||||
"os"
|
||||
""
|
||||
v2025 "github.com/sailpoint-oss/golang-sdk/v2/api_v2025"
|
||||
openapiclient "github.com/sailpoint-oss/golang-sdk/v2"
|
||||
)
|
||||
|
||||
@@ -229,7 +229,7 @@ func main() {
|
||||
|
||||
configuration := NewDefaultConfiguration()
|
||||
apiClient := NewAPIClient(configuration)
|
||||
resp, r, err := apiClient..PasswordSyncGroupsAPI.GetPasswordSyncGroup(context.Background(), id).Execute()
|
||||
resp, r, err := apiClient.V2025.PasswordSyncGroupsAPI.GetPasswordSyncGroup(context.Background(), id).Execute()
|
||||
if err != nil {
|
||||
fmt.Fprintf(os.Stderr, "Error when calling `PasswordSyncGroupsAPI.GetPasswordSyncGroup``: %v\n", err)
|
||||
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
|
||||
@@ -245,7 +245,7 @@ func main() {
|
||||
Get Password Sync Group List
|
||||
This API returns a list of password sync groups.
|
||||
|
||||
[API Spec](https://developer.sailpoint.com/docs/api//get-password-sync-groups)
|
||||
[API Spec](https://developer.sailpoint.com/docs/api/v2025/get-password-sync-groups)
|
||||
|
||||
### Path Parameters
|
||||
|
||||
@@ -280,7 +280,7 @@ import (
|
||||
"context"
|
||||
"fmt"
|
||||
"os"
|
||||
""
|
||||
v2025 "github.com/sailpoint-oss/golang-sdk/v2/api_v2025"
|
||||
openapiclient "github.com/sailpoint-oss/golang-sdk/v2"
|
||||
)
|
||||
|
||||
@@ -291,7 +291,7 @@ func main() {
|
||||
|
||||
configuration := NewDefaultConfiguration()
|
||||
apiClient := NewAPIClient(configuration)
|
||||
resp, r, err := apiClient..PasswordSyncGroupsAPI.GetPasswordSyncGroups(context.Background()).Limit(limit).Offset(offset).Count(count).Execute()
|
||||
resp, r, err := apiClient.V2025.PasswordSyncGroupsAPI.GetPasswordSyncGroups(context.Background()).Limit(limit).Offset(offset).Count(count).Execute()
|
||||
if err != nil {
|
||||
fmt.Fprintf(os.Stderr, "Error when calling `PasswordSyncGroupsAPI.GetPasswordSyncGroups``: %v\n", err)
|
||||
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
|
||||
@@ -307,7 +307,7 @@ func main() {
|
||||
Update Password Sync Group by ID
|
||||
This API updates the specified password sync group.
|
||||
|
||||
[API Spec](https://developer.sailpoint.com/docs/api//update-password-sync-group)
|
||||
[API Spec](https://developer.sailpoint.com/docs/api/v2025/update-password-sync-group)
|
||||
|
||||
### Path Parameters
|
||||
|
||||
@@ -345,7 +345,7 @@ import (
|
||||
"context"
|
||||
"fmt"
|
||||
"os"
|
||||
""
|
||||
v2025 "github.com/sailpoint-oss/golang-sdk/v2/api_v2025"
|
||||
openapiclient "github.com/sailpoint-oss/golang-sdk/v2"
|
||||
)
|
||||
|
||||
@@ -362,7 +362,7 @@ func main() {
|
||||
|
||||
configuration := NewDefaultConfiguration()
|
||||
apiClient := NewAPIClient(configuration)
|
||||
resp, r, err := apiClient..PasswordSyncGroupsAPI.UpdatePasswordSyncGroup(context.Background(), id).PasswordSyncGroup(passwordSyncGroup).Execute()
|
||||
resp, r, err := apiClient.V2025.PasswordSyncGroupsAPI.UpdatePasswordSyncGroup(context.Background(), id).PasswordSyncGroup(passwordSyncGroup).Execute()
|
||||
if err != nil {
|
||||
fmt.Fprintf(os.Stderr, "Error when calling `PasswordSyncGroupsAPI.UpdatePasswordSyncGroup``: %v\n", err)
|
||||
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
|
||||
|
||||
@@ -1,12 +1,12 @@
|
||||
---
|
||||
id: personal-access-tokens
|
||||
id: v2025-personal-access-tokens
|
||||
title: PersonalAccessTokens
|
||||
pagination_label: PersonalAccessTokens
|
||||
sidebar_label: PersonalAccessTokens
|
||||
sidebar_class_name: gosdk
|
||||
keywords: ['go', 'Golang', 'sdk', 'PersonalAccessTokens', 'PersonalAccessTokens']
|
||||
slug: /tools/sdk/go//methods/personal-access-tokens
|
||||
tags: ['SDK', 'Software Development Kit', 'PersonalAccessTokens', 'PersonalAccessTokens']
|
||||
keywords: ['go', 'Golang', 'sdk', 'PersonalAccessTokens', 'V2025PersonalAccessTokens']
|
||||
slug: /tools/sdk/go/v2025/methods/personal-access-tokens
|
||||
tags: ['SDK', 'Software Development Kit', 'PersonalAccessTokens', 'V2025PersonalAccessTokens']
|
||||
---
|
||||
|
||||
# PersonalAccessTokensAPI
|
||||
@@ -36,7 +36,7 @@ Method | HTTP request | Description
|
||||
Create Personal Access Token
|
||||
This creates a personal access token.
|
||||
|
||||
[API Spec](https://developer.sailpoint.com/docs/api//create-personal-access-token)
|
||||
[API Spec](https://developer.sailpoint.com/docs/api/v2025/create-personal-access-token)
|
||||
|
||||
### Path Parameters
|
||||
|
||||
@@ -69,7 +69,7 @@ import (
|
||||
"context"
|
||||
"fmt"
|
||||
"os"
|
||||
""
|
||||
v2025 "github.com/sailpoint-oss/golang-sdk/v2/api_v2025"
|
||||
openapiclient "github.com/sailpoint-oss/golang-sdk/v2"
|
||||
)
|
||||
|
||||
@@ -82,7 +82,7 @@ func main() {
|
||||
|
||||
configuration := NewDefaultConfiguration()
|
||||
apiClient := NewAPIClient(configuration)
|
||||
resp, r, err := apiClient..PersonalAccessTokensAPI.CreatePersonalAccessToken(context.Background()).CreatePersonalAccessTokenRequest(createPersonalAccessTokenRequest).Execute()
|
||||
resp, r, err := apiClient.V2025.PersonalAccessTokensAPI.CreatePersonalAccessToken(context.Background()).CreatePersonalAccessTokenRequest(createPersonalAccessTokenRequest).Execute()
|
||||
if err != nil {
|
||||
fmt.Fprintf(os.Stderr, "Error when calling `PersonalAccessTokensAPI.CreatePersonalAccessToken``: %v\n", err)
|
||||
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
|
||||
@@ -98,7 +98,7 @@ func main() {
|
||||
Delete Personal Access Token
|
||||
This deletes a personal access token.
|
||||
|
||||
[API Spec](https://developer.sailpoint.com/docs/api//delete-personal-access-token)
|
||||
[API Spec](https://developer.sailpoint.com/docs/api/v2025/delete-personal-access-token)
|
||||
|
||||
### Path Parameters
|
||||
|
||||
@@ -135,7 +135,7 @@ import (
|
||||
"context"
|
||||
"fmt"
|
||||
"os"
|
||||
""
|
||||
v2025 "github.com/sailpoint-oss/golang-sdk/v2/api_v2025"
|
||||
openapiclient "github.com/sailpoint-oss/golang-sdk/v2"
|
||||
)
|
||||
|
||||
@@ -144,7 +144,7 @@ func main() {
|
||||
|
||||
configuration := NewDefaultConfiguration()
|
||||
apiClient := NewAPIClient(configuration)
|
||||
r, err := apiClient..PersonalAccessTokensAPI.DeletePersonalAccessToken(context.Background(), id).Execute()
|
||||
r, err := apiClient.V2025.PersonalAccessTokensAPI.DeletePersonalAccessToken(context.Background(), id).Execute()
|
||||
if err != nil {
|
||||
fmt.Fprintf(os.Stderr, "Error when calling `PersonalAccessTokensAPI.DeletePersonalAccessToken``: %v\n", err)
|
||||
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
|
||||
@@ -158,7 +158,7 @@ func main() {
|
||||
List Personal Access Tokens
|
||||
This gets a collection of personal access tokens associated with the optional `owner-id`. query parameter. If the `owner-id` query parameter is omitted, all personal access tokens for a tenant will be retrieved, but the caller must have the 'idn:all-personal-access-tokens:read' right.
|
||||
|
||||
[API Spec](https://developer.sailpoint.com/docs/api//list-personal-access-tokens)
|
||||
[API Spec](https://developer.sailpoint.com/docs/api/v2025/list-personal-access-tokens)
|
||||
|
||||
### Path Parameters
|
||||
|
||||
@@ -192,7 +192,7 @@ import (
|
||||
"context"
|
||||
"fmt"
|
||||
"os"
|
||||
""
|
||||
v2025 "github.com/sailpoint-oss/golang-sdk/v2/api_v2025"
|
||||
openapiclient "github.com/sailpoint-oss/golang-sdk/v2"
|
||||
)
|
||||
|
||||
@@ -202,7 +202,7 @@ func main() {
|
||||
|
||||
configuration := NewDefaultConfiguration()
|
||||
apiClient := NewAPIClient(configuration)
|
||||
resp, r, err := apiClient..PersonalAccessTokensAPI.ListPersonalAccessTokens(context.Background()).OwnerId(ownerId).Filters(filters).Execute()
|
||||
resp, r, err := apiClient.V2025.PersonalAccessTokensAPI.ListPersonalAccessTokens(context.Background()).OwnerId(ownerId).Filters(filters).Execute()
|
||||
if err != nil {
|
||||
fmt.Fprintf(os.Stderr, "Error when calling `PersonalAccessTokensAPI.ListPersonalAccessTokens``: %v\n", err)
|
||||
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
|
||||
@@ -219,7 +219,7 @@ Patch Personal Access Token
|
||||
This performs a targeted update to the field(s) of a Personal Access Token.
|
||||
Changing scopes for a Personal Access Token does not impact existing bearer tokens. You will need to create a new bearer token to have the new scopes. Please note that it can take up to 20 minutes for scope changes to be seen on new bearer tokens.
|
||||
|
||||
[API Spec](https://developer.sailpoint.com/docs/api//patch-personal-access-token)
|
||||
[API Spec](https://developer.sailpoint.com/docs/api/v2025/patch-personal-access-token)
|
||||
|
||||
### Path Parameters
|
||||
|
||||
@@ -257,7 +257,7 @@ import (
|
||||
"context"
|
||||
"fmt"
|
||||
"os"
|
||||
""
|
||||
v2025 "github.com/sailpoint-oss/golang-sdk/v2/api_v2025"
|
||||
openapiclient "github.com/sailpoint-oss/golang-sdk/v2"
|
||||
)
|
||||
|
||||
@@ -267,7 +267,7 @@ func main() {
|
||||
|
||||
configuration := NewDefaultConfiguration()
|
||||
apiClient := NewAPIClient(configuration)
|
||||
resp, r, err := apiClient..PersonalAccessTokensAPI.PatchPersonalAccessToken(context.Background(), id).JsonPatchOperation(jsonPatchOperation).Execute()
|
||||
resp, r, err := apiClient.V2025.PersonalAccessTokensAPI.PatchPersonalAccessToken(context.Background(), id).JsonPatchOperation(jsonPatchOperation).Execute()
|
||||
if err != nil {
|
||||
fmt.Fprintf(os.Stderr, "Error when calling `PersonalAccessTokensAPI.PatchPersonalAccessToken``: %v\n", err)
|
||||
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
|
||||
|
||||
@@ -1,12 +1,12 @@
|
||||
---
|
||||
id: public-identities
|
||||
id: v2025-public-identities
|
||||
title: PublicIdentities
|
||||
pagination_label: PublicIdentities
|
||||
sidebar_label: PublicIdentities
|
||||
sidebar_class_name: gosdk
|
||||
keywords: ['go', 'Golang', 'sdk', 'PublicIdentities', 'PublicIdentities']
|
||||
slug: /tools/sdk/go//methods/public-identities
|
||||
tags: ['SDK', 'Software Development Kit', 'PublicIdentities', 'PublicIdentities']
|
||||
keywords: ['go', 'Golang', 'sdk', 'PublicIdentities', 'V2025PublicIdentities']
|
||||
slug: /tools/sdk/go/v2025/methods/public-identities
|
||||
tags: ['SDK', 'Software Development Kit', 'PublicIdentities', 'V2025PublicIdentities']
|
||||
---
|
||||
|
||||
# PublicIdentitiesAPI
|
||||
@@ -25,7 +25,7 @@ Method | HTTP request | Description
|
||||
Get list of public identities
|
||||
Get a list of public identities. Set `add-core-filters` to `true` to exclude incomplete identities and uncorrelated accounts.
|
||||
|
||||
[API Spec](https://developer.sailpoint.com/docs/api//get-public-identities)
|
||||
[API Spec](https://developer.sailpoint.com/docs/api/v2025/get-public-identities)
|
||||
|
||||
### Path Parameters
|
||||
|
||||
@@ -63,7 +63,7 @@ import (
|
||||
"context"
|
||||
"fmt"
|
||||
"os"
|
||||
""
|
||||
v2025 "github.com/sailpoint-oss/golang-sdk/v2/api_v2025"
|
||||
openapiclient "github.com/sailpoint-oss/golang-sdk/v2"
|
||||
)
|
||||
|
||||
@@ -77,7 +77,7 @@ func main() {
|
||||
|
||||
configuration := NewDefaultConfiguration()
|
||||
apiClient := NewAPIClient(configuration)
|
||||
resp, r, err := apiClient..PublicIdentitiesAPI.GetPublicIdentities(context.Background()).Limit(limit).Offset(offset).Count(count).Filters(filters).AddCoreFilters(addCoreFilters).Sorters(sorters).Execute()
|
||||
resp, r, err := apiClient.V2025.PublicIdentitiesAPI.GetPublicIdentities(context.Background()).Limit(limit).Offset(offset).Count(count).Filters(filters).AddCoreFilters(addCoreFilters).Sorters(sorters).Execute()
|
||||
if err != nil {
|
||||
fmt.Fprintf(os.Stderr, "Error when calling `PublicIdentitiesAPI.GetPublicIdentities``: %v\n", err)
|
||||
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
|
||||
|
||||
@@ -1,12 +1,12 @@
|
||||
---
|
||||
id: public-identities-config
|
||||
id: v2025-public-identities-config
|
||||
title: PublicIdentitiesConfig
|
||||
pagination_label: PublicIdentitiesConfig
|
||||
sidebar_label: PublicIdentitiesConfig
|
||||
sidebar_class_name: gosdk
|
||||
keywords: ['go', 'Golang', 'sdk', 'PublicIdentitiesConfig', 'PublicIdentitiesConfig']
|
||||
slug: /tools/sdk/go//methods/public-identities-config
|
||||
tags: ['SDK', 'Software Development Kit', 'PublicIdentitiesConfig', 'PublicIdentitiesConfig']
|
||||
keywords: ['go', 'Golang', 'sdk', 'PublicIdentitiesConfig', 'V2025PublicIdentitiesConfig']
|
||||
slug: /tools/sdk/go/v2025/methods/public-identities-config
|
||||
tags: ['SDK', 'Software Development Kit', 'PublicIdentitiesConfig', 'V2025PublicIdentitiesConfig']
|
||||
---
|
||||
|
||||
# PublicIdentitiesConfigAPI
|
||||
@@ -33,7 +33,7 @@ Method | HTTP request | Description
|
||||
Get the Public Identities Configuration
|
||||
Returns the publicly visible attributes of an identity available to request approvers for Access Requests and Certification Campaigns.
|
||||
|
||||
[API Spec](https://developer.sailpoint.com/docs/api//get-public-identity-config)
|
||||
[API Spec](https://developer.sailpoint.com/docs/api/v2025/get-public-identity-config)
|
||||
|
||||
### Path Parameters
|
||||
|
||||
@@ -62,7 +62,7 @@ import (
|
||||
"context"
|
||||
"fmt"
|
||||
"os"
|
||||
""
|
||||
v2025 "github.com/sailpoint-oss/golang-sdk/v2/api_v2025"
|
||||
openapiclient "github.com/sailpoint-oss/golang-sdk/v2"
|
||||
)
|
||||
|
||||
@@ -70,7 +70,7 @@ func main() {
|
||||
|
||||
configuration := NewDefaultConfiguration()
|
||||
apiClient := NewAPIClient(configuration)
|
||||
resp, r, err := apiClient..PublicIdentitiesConfigAPI.GetPublicIdentityConfig(context.Background()).Execute()
|
||||
resp, r, err := apiClient.V2025.PublicIdentitiesConfigAPI.GetPublicIdentityConfig(context.Background()).Execute()
|
||||
if err != nil {
|
||||
fmt.Fprintf(os.Stderr, "Error when calling `PublicIdentitiesConfigAPI.GetPublicIdentityConfig``: %v\n", err)
|
||||
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
|
||||
@@ -86,7 +86,7 @@ func main() {
|
||||
Update the Public Identities Configuration
|
||||
Updates the publicly visible attributes of an identity available to request approvers for Access Requests and Certification Campaigns.
|
||||
|
||||
[API Spec](https://developer.sailpoint.com/docs/api//update-public-identity-config)
|
||||
[API Spec](https://developer.sailpoint.com/docs/api/v2025/update-public-identity-config)
|
||||
|
||||
### Path Parameters
|
||||
|
||||
@@ -119,7 +119,7 @@ import (
|
||||
"context"
|
||||
"fmt"
|
||||
"os"
|
||||
""
|
||||
v2025 "github.com/sailpoint-oss/golang-sdk/v2/api_v2025"
|
||||
openapiclient "github.com/sailpoint-oss/golang-sdk/v2"
|
||||
)
|
||||
|
||||
@@ -142,7 +142,7 @@ func main() {
|
||||
|
||||
configuration := NewDefaultConfiguration()
|
||||
apiClient := NewAPIClient(configuration)
|
||||
resp, r, err := apiClient..PublicIdentitiesConfigAPI.UpdatePublicIdentityConfig(context.Background()).PublicIdentityConfig(publicIdentityConfig).Execute()
|
||||
resp, r, err := apiClient.V2025.PublicIdentitiesConfigAPI.UpdatePublicIdentityConfig(context.Background()).PublicIdentityConfig(publicIdentityConfig).Execute()
|
||||
if err != nil {
|
||||
fmt.Fprintf(os.Stderr, "Error when calling `PublicIdentitiesConfigAPI.UpdatePublicIdentityConfig``: %v\n", err)
|
||||
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
|
||||
|
||||
@@ -1,12 +1,12 @@
|
||||
---
|
||||
id: reports-data-extraction
|
||||
id: v2025-reports-data-extraction
|
||||
title: ReportsDataExtraction
|
||||
pagination_label: ReportsDataExtraction
|
||||
sidebar_label: ReportsDataExtraction
|
||||
sidebar_class_name: gosdk
|
||||
keywords: ['go', 'Golang', 'sdk', 'ReportsDataExtraction', 'ReportsDataExtraction']
|
||||
slug: /tools/sdk/go//methods/reports-data-extraction
|
||||
tags: ['SDK', 'Software Development Kit', 'ReportsDataExtraction', 'ReportsDataExtraction']
|
||||
keywords: ['go', 'Golang', 'sdk', 'ReportsDataExtraction', 'V2025ReportsDataExtraction']
|
||||
slug: /tools/sdk/go/v2025/methods/reports-data-extraction
|
||||
tags: ['SDK', 'Software Development Kit', 'ReportsDataExtraction', 'V2025ReportsDataExtraction']
|
||||
---
|
||||
|
||||
# ReportsDataExtractionAPI
|
||||
@@ -28,7 +28,7 @@ Method | HTTP request | Description
|
||||
Cancel Report
|
||||
Cancels a running report.
|
||||
|
||||
[API Spec](https://developer.sailpoint.com/docs/api//cancel-report)
|
||||
[API Spec](https://developer.sailpoint.com/docs/api/v2025/cancel-report)
|
||||
|
||||
### Path Parameters
|
||||
|
||||
@@ -65,7 +65,7 @@ import (
|
||||
"context"
|
||||
"fmt"
|
||||
"os"
|
||||
""
|
||||
v2025 "github.com/sailpoint-oss/golang-sdk/v2/api_v2025"
|
||||
openapiclient "github.com/sailpoint-oss/golang-sdk/v2"
|
||||
)
|
||||
|
||||
@@ -74,7 +74,7 @@ func main() {
|
||||
|
||||
configuration := NewDefaultConfiguration()
|
||||
apiClient := NewAPIClient(configuration)
|
||||
r, err := apiClient..ReportsDataExtractionAPI.CancelReport(context.Background(), id).Execute()
|
||||
r, err := apiClient.V2025.ReportsDataExtractionAPI.CancelReport(context.Background(), id).Execute()
|
||||
if err != nil {
|
||||
fmt.Fprintf(os.Stderr, "Error when calling `ReportsDataExtractionAPI.CancelReport``: %v\n", err)
|
||||
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
|
||||
@@ -88,7 +88,7 @@ func main() {
|
||||
Get Report File
|
||||
Gets a report in file format.
|
||||
|
||||
[API Spec](https://developer.sailpoint.com/docs/api//get-report)
|
||||
[API Spec](https://developer.sailpoint.com/docs/api/v2025/get-report)
|
||||
|
||||
### Path Parameters
|
||||
|
||||
@@ -128,7 +128,7 @@ import (
|
||||
"context"
|
||||
"fmt"
|
||||
"os"
|
||||
""
|
||||
v2025 "github.com/sailpoint-oss/golang-sdk/v2/api_v2025"
|
||||
openapiclient "github.com/sailpoint-oss/golang-sdk/v2"
|
||||
)
|
||||
|
||||
@@ -140,7 +140,7 @@ func main() {
|
||||
|
||||
configuration := NewDefaultConfiguration()
|
||||
apiClient := NewAPIClient(configuration)
|
||||
resp, r, err := apiClient..ReportsDataExtractionAPI.GetReport(context.Background(), taskResultId).FileFormat(fileFormat).Name(name).Auditable(auditable).Execute()
|
||||
resp, r, err := apiClient.V2025.ReportsDataExtractionAPI.GetReport(context.Background(), taskResultId).FileFormat(fileFormat).Name(name).Auditable(auditable).Execute()
|
||||
if err != nil {
|
||||
fmt.Fprintf(os.Stderr, "Error when calling `ReportsDataExtractionAPI.GetReport``: %v\n", err)
|
||||
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
|
||||
@@ -156,7 +156,7 @@ func main() {
|
||||
Get Report Result
|
||||
Get the report results for a report that was run or is running. Returns empty report result in case there are no active task definitions with used in payload task definition name.
|
||||
|
||||
[API Spec](https://developer.sailpoint.com/docs/api//get-report-result)
|
||||
[API Spec](https://developer.sailpoint.com/docs/api/v2025/get-report-result)
|
||||
|
||||
### Path Parameters
|
||||
|
||||
@@ -194,7 +194,7 @@ import (
|
||||
"context"
|
||||
"fmt"
|
||||
"os"
|
||||
""
|
||||
v2025 "github.com/sailpoint-oss/golang-sdk/v2/api_v2025"
|
||||
openapiclient "github.com/sailpoint-oss/golang-sdk/v2"
|
||||
)
|
||||
|
||||
@@ -204,7 +204,7 @@ func main() {
|
||||
|
||||
configuration := NewDefaultConfiguration()
|
||||
apiClient := NewAPIClient(configuration)
|
||||
resp, r, err := apiClient..ReportsDataExtractionAPI.GetReportResult(context.Background(), taskResultId).Completed(completed).Execute()
|
||||
resp, r, err := apiClient.V2025.ReportsDataExtractionAPI.GetReportResult(context.Background(), taskResultId).Completed(completed).Execute()
|
||||
if err != nil {
|
||||
fmt.Fprintf(os.Stderr, "Error when calling `ReportsDataExtractionAPI.GetReportResult``: %v\n", err)
|
||||
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
|
||||
@@ -220,7 +220,7 @@ func main() {
|
||||
Run Report
|
||||
Use this API to run a report according to report input details. If non-concurrent task is already running then it returns, otherwise new task creates and returns.
|
||||
|
||||
[API Spec](https://developer.sailpoint.com/docs/api//start-report)
|
||||
[API Spec](https://developer.sailpoint.com/docs/api/v2025/start-report)
|
||||
|
||||
### Path Parameters
|
||||
|
||||
@@ -253,7 +253,7 @@ import (
|
||||
"context"
|
||||
"fmt"
|
||||
"os"
|
||||
""
|
||||
v2025 "github.com/sailpoint-oss/golang-sdk/v2/api_v2025"
|
||||
openapiclient "github.com/sailpoint-oss/golang-sdk/v2"
|
||||
)
|
||||
|
||||
@@ -268,7 +268,7 @@ func main() {
|
||||
|
||||
configuration := NewDefaultConfiguration()
|
||||
apiClient := NewAPIClient(configuration)
|
||||
resp, r, err := apiClient..ReportsDataExtractionAPI.StartReport(context.Background()).ReportDetails(reportDetails).Execute()
|
||||
resp, r, err := apiClient.V2025.ReportsDataExtractionAPI.StartReport(context.Background()).ReportDetails(reportDetails).Execute()
|
||||
if err != nil {
|
||||
fmt.Fprintf(os.Stderr, "Error when calling `ReportsDataExtractionAPI.StartReport``: %v\n", err)
|
||||
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
|
||||
|
||||
@@ -1,12 +1,12 @@
|
||||
---
|
||||
id: requestable-objects
|
||||
id: v2025-requestable-objects
|
||||
title: RequestableObjects
|
||||
pagination_label: RequestableObjects
|
||||
sidebar_label: RequestableObjects
|
||||
sidebar_class_name: gosdk
|
||||
keywords: ['go', 'Golang', 'sdk', 'RequestableObjects', 'RequestableObjects']
|
||||
slug: /tools/sdk/go//methods/requestable-objects
|
||||
tags: ['SDK', 'Software Development Kit', 'RequestableObjects', 'RequestableObjects']
|
||||
keywords: ['go', 'Golang', 'sdk', 'RequestableObjects', 'V2025RequestableObjects']
|
||||
slug: /tools/sdk/go/v2025/methods/requestable-objects
|
||||
tags: ['SDK', 'Software Development Kit', 'RequestableObjects', 'V2025RequestableObjects']
|
||||
---
|
||||
|
||||
# RequestableObjectsAPI
|
||||
@@ -26,7 +26,7 @@ Requestable Objects List
|
||||
Get a list of acccess items that can be requested through the [Access Request endpoints](https://developer.sailpoint.com/docs/api/v2024/access-requests). Access items are marked with `AVAILABLE`, `PENDING` or `ASSIGNED` with respect to the identity provided using `identity-id` query parameter.
|
||||
Any authenticated token can call this endpoint to see their requestable access items.
|
||||
|
||||
[API Spec](https://developer.sailpoint.com/docs/api//list-requestable-objects)
|
||||
[API Spec](https://developer.sailpoint.com/docs/api/v2025/list-requestable-objects)
|
||||
|
||||
### Path Parameters
|
||||
|
||||
@@ -67,7 +67,7 @@ import (
|
||||
"context"
|
||||
"fmt"
|
||||
"os"
|
||||
""
|
||||
v2025 "github.com/sailpoint-oss/golang-sdk/v2/api_v2025"
|
||||
openapiclient "github.com/sailpoint-oss/golang-sdk/v2"
|
||||
)
|
||||
|
||||
@@ -84,7 +84,7 @@ func main() {
|
||||
|
||||
configuration := NewDefaultConfiguration()
|
||||
apiClient := NewAPIClient(configuration)
|
||||
resp, r, err := apiClient..RequestableObjectsAPI.ListRequestableObjects(context.Background()).IdentityId(identityId).Types(types).Term(term).Statuses(statuses).Limit(limit).Offset(offset).Count(count).Filters(filters).Sorters(sorters).Execute()
|
||||
resp, r, err := apiClient.V2025.RequestableObjectsAPI.ListRequestableObjects(context.Background()).IdentityId(identityId).Types(types).Term(term).Statuses(statuses).Limit(limit).Offset(offset).Count(count).Filters(filters).Sorters(sorters).Execute()
|
||||
if err != nil {
|
||||
fmt.Fprintf(os.Stderr, "Error when calling `RequestableObjectsAPI.ListRequestableObjects``: %v\n", err)
|
||||
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
|
||||
|
||||
@@ -1,12 +1,12 @@
|
||||
---
|
||||
id: role-insights
|
||||
id: v2025-role-insights
|
||||
title: RoleInsights
|
||||
pagination_label: RoleInsights
|
||||
sidebar_label: RoleInsights
|
||||
sidebar_class_name: gosdk
|
||||
keywords: ['go', 'Golang', 'sdk', 'RoleInsights', 'RoleInsights']
|
||||
slug: /tools/sdk/go//methods/role-insights
|
||||
tags: ['SDK', 'Software Development Kit', 'RoleInsights', 'RoleInsights']
|
||||
keywords: ['go', 'Golang', 'sdk', 'RoleInsights', 'V2025RoleInsights']
|
||||
slug: /tools/sdk/go/v2025/methods/role-insights
|
||||
tags: ['SDK', 'Software Development Kit', 'RoleInsights', 'V2025RoleInsights']
|
||||
---
|
||||
|
||||
# RoleInsightsAPI
|
||||
@@ -44,7 +44,7 @@ This API is currently in an experimental state. The API is subject to change bas
|
||||
Generate insights for roles
|
||||
Submits a create role insights request to the role insights application. At this time there are no parameters. All business roles will be processed for the customer.
|
||||
|
||||
[API Spec](https://developer.sailpoint.com/docs/api//create-role-insight-requests)
|
||||
[API Spec](https://developer.sailpoint.com/docs/api/v2025/create-role-insight-requests)
|
||||
|
||||
### Path Parameters
|
||||
|
||||
@@ -77,7 +77,7 @@ import (
|
||||
"context"
|
||||
"fmt"
|
||||
"os"
|
||||
""
|
||||
v2025 "github.com/sailpoint-oss/golang-sdk/v2/api_v2025"
|
||||
openapiclient "github.com/sailpoint-oss/golang-sdk/v2"
|
||||
)
|
||||
|
||||
@@ -86,7 +86,7 @@ func main() {
|
||||
|
||||
configuration := NewDefaultConfiguration()
|
||||
apiClient := NewAPIClient(configuration)
|
||||
resp, r, err := apiClient..RoleInsightsAPI.CreateRoleInsightRequests(context.Background()).XSailPointExperimental(xSailPointExperimental).Execute()
|
||||
resp, r, err := apiClient.V2025.RoleInsightsAPI.CreateRoleInsightRequests(context.Background()).XSailPointExperimental(xSailPointExperimental).Execute()
|
||||
if err != nil {
|
||||
fmt.Fprintf(os.Stderr, "Error when calling `RoleInsightsAPI.CreateRoleInsightRequests``: %v\n", err)
|
||||
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
|
||||
@@ -113,7 +113,7 @@ This API is currently in an experimental state. The API is subject to change bas
|
||||
Download entitlement insights for a role
|
||||
This endpoint returns the entitlement insights for a role.
|
||||
|
||||
[API Spec](https://developer.sailpoint.com/docs/api//download-role-insights-entitlements-changes)
|
||||
[API Spec](https://developer.sailpoint.com/docs/api/v2025/download-role-insights-entitlements-changes)
|
||||
|
||||
### Path Parameters
|
||||
|
||||
@@ -153,7 +153,7 @@ import (
|
||||
"context"
|
||||
"fmt"
|
||||
"os"
|
||||
""
|
||||
v2025 "github.com/sailpoint-oss/golang-sdk/v2/api_v2025"
|
||||
openapiclient "github.com/sailpoint-oss/golang-sdk/v2"
|
||||
)
|
||||
|
||||
@@ -165,7 +165,7 @@ func main() {
|
||||
|
||||
configuration := NewDefaultConfiguration()
|
||||
apiClient := NewAPIClient(configuration)
|
||||
resp, r, err := apiClient..RoleInsightsAPI.DownloadRoleInsightsEntitlementsChanges(context.Background(), insightId).XSailPointExperimental(xSailPointExperimental).Sorters(sorters).Filters(filters).Execute()
|
||||
resp, r, err := apiClient.V2025.RoleInsightsAPI.DownloadRoleInsightsEntitlementsChanges(context.Background(), insightId).XSailPointExperimental(xSailPointExperimental).Sorters(sorters).Filters(filters).Execute()
|
||||
if err != nil {
|
||||
fmt.Fprintf(os.Stderr, "Error when calling `RoleInsightsAPI.DownloadRoleInsightsEntitlementsChanges``: %v\n", err)
|
||||
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
|
||||
@@ -192,7 +192,7 @@ This API is currently in an experimental state. The API is subject to change bas
|
||||
Get identities for a suggested entitlement (for a role)
|
||||
Role insights suggests entitlements to be added for a role. This endpoint returns a list of identities in the role, with or without the entitlements, for a suggested entitlement so that the user can see which identities would be affected if the suggested entitlement were to be added to the role.
|
||||
|
||||
[API Spec](https://developer.sailpoint.com/docs/api//get-entitlement-changes-identities)
|
||||
[API Spec](https://developer.sailpoint.com/docs/api/v2025/get-entitlement-changes-identities)
|
||||
|
||||
### Path Parameters
|
||||
|
||||
@@ -238,7 +238,7 @@ import (
|
||||
"context"
|
||||
"fmt"
|
||||
"os"
|
||||
""
|
||||
v2025 "github.com/sailpoint-oss/golang-sdk/v2/api_v2025"
|
||||
openapiclient "github.com/sailpoint-oss/golang-sdk/v2"
|
||||
)
|
||||
|
||||
@@ -255,7 +255,7 @@ func main() {
|
||||
|
||||
configuration := NewDefaultConfiguration()
|
||||
apiClient := NewAPIClient(configuration)
|
||||
resp, r, err := apiClient..RoleInsightsAPI.GetEntitlementChangesIdentities(context.Background(), insightId, entitlementId).XSailPointExperimental(xSailPointExperimental).HasEntitlement(hasEntitlement).Offset(offset).Limit(limit).Count(count).Sorters(sorters).Filters(filters).Execute()
|
||||
resp, r, err := apiClient.V2025.RoleInsightsAPI.GetEntitlementChangesIdentities(context.Background(), insightId, entitlementId).XSailPointExperimental(xSailPointExperimental).HasEntitlement(hasEntitlement).Offset(offset).Limit(limit).Count(count).Sorters(sorters).Filters(filters).Execute()
|
||||
if err != nil {
|
||||
fmt.Fprintf(os.Stderr, "Error when calling `RoleInsightsAPI.GetEntitlementChangesIdentities``: %v\n", err)
|
||||
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
|
||||
@@ -282,7 +282,7 @@ This API is currently in an experimental state. The API is subject to change bas
|
||||
Get a single role insight
|
||||
This endpoint gets role insights information for a role.
|
||||
|
||||
[API Spec](https://developer.sailpoint.com/docs/api//get-role-insight)
|
||||
[API Spec](https://developer.sailpoint.com/docs/api/v2025/get-role-insight)
|
||||
|
||||
### Path Parameters
|
||||
|
||||
@@ -320,7 +320,7 @@ import (
|
||||
"context"
|
||||
"fmt"
|
||||
"os"
|
||||
""
|
||||
v2025 "github.com/sailpoint-oss/golang-sdk/v2/api_v2025"
|
||||
openapiclient "github.com/sailpoint-oss/golang-sdk/v2"
|
||||
)
|
||||
|
||||
@@ -330,7 +330,7 @@ func main() {
|
||||
|
||||
configuration := NewDefaultConfiguration()
|
||||
apiClient := NewAPIClient(configuration)
|
||||
resp, r, err := apiClient..RoleInsightsAPI.GetRoleInsight(context.Background(), insightId).XSailPointExperimental(xSailPointExperimental).Execute()
|
||||
resp, r, err := apiClient.V2025.RoleInsightsAPI.GetRoleInsight(context.Background(), insightId).XSailPointExperimental(xSailPointExperimental).Execute()
|
||||
if err != nil {
|
||||
fmt.Fprintf(os.Stderr, "Error when calling `RoleInsightsAPI.GetRoleInsight``: %v\n", err)
|
||||
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
|
||||
@@ -357,7 +357,7 @@ This API is currently in an experimental state. The API is subject to change bas
|
||||
Get role insights
|
||||
This method returns detailed role insights for each role.
|
||||
|
||||
[API Spec](https://developer.sailpoint.com/docs/api//get-role-insights)
|
||||
[API Spec](https://developer.sailpoint.com/docs/api/v2025/get-role-insights)
|
||||
|
||||
### Path Parameters
|
||||
|
||||
@@ -395,7 +395,7 @@ import (
|
||||
"context"
|
||||
"fmt"
|
||||
"os"
|
||||
""
|
||||
v2025 "github.com/sailpoint-oss/golang-sdk/v2/api_v2025"
|
||||
openapiclient "github.com/sailpoint-oss/golang-sdk/v2"
|
||||
)
|
||||
|
||||
@@ -409,7 +409,7 @@ func main() {
|
||||
|
||||
configuration := NewDefaultConfiguration()
|
||||
apiClient := NewAPIClient(configuration)
|
||||
resp, r, err := apiClient..RoleInsightsAPI.GetRoleInsights(context.Background()).XSailPointExperimental(xSailPointExperimental).Offset(offset).Limit(limit).Count(count).Sorters(sorters).Filters(filters).Execute()
|
||||
resp, r, err := apiClient.V2025.RoleInsightsAPI.GetRoleInsights(context.Background()).XSailPointExperimental(xSailPointExperimental).Offset(offset).Limit(limit).Count(count).Sorters(sorters).Filters(filters).Execute()
|
||||
if err != nil {
|
||||
fmt.Fprintf(os.Stderr, "Error when calling `RoleInsightsAPI.GetRoleInsights``: %v\n", err)
|
||||
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
|
||||
@@ -436,7 +436,7 @@ This API is currently in an experimental state. The API is subject to change bas
|
||||
Get current entitlement for a role
|
||||
This endpoint gets the entitlements for a role. The term "current" is to distinguish from the entitlement(s) an insight might recommend adding.
|
||||
|
||||
[API Spec](https://developer.sailpoint.com/docs/api//get-role-insights-current-entitlements)
|
||||
[API Spec](https://developer.sailpoint.com/docs/api/v2025/get-role-insights-current-entitlements)
|
||||
|
||||
### Path Parameters
|
||||
|
||||
@@ -475,7 +475,7 @@ import (
|
||||
"context"
|
||||
"fmt"
|
||||
"os"
|
||||
""
|
||||
v2025 "github.com/sailpoint-oss/golang-sdk/v2/api_v2025"
|
||||
openapiclient "github.com/sailpoint-oss/golang-sdk/v2"
|
||||
)
|
||||
|
||||
@@ -486,7 +486,7 @@ func main() {
|
||||
|
||||
configuration := NewDefaultConfiguration()
|
||||
apiClient := NewAPIClient(configuration)
|
||||
resp, r, err := apiClient..RoleInsightsAPI.GetRoleInsightsCurrentEntitlements(context.Background(), insightId).XSailPointExperimental(xSailPointExperimental).Filters(filters).Execute()
|
||||
resp, r, err := apiClient.V2025.RoleInsightsAPI.GetRoleInsightsCurrentEntitlements(context.Background(), insightId).XSailPointExperimental(xSailPointExperimental).Filters(filters).Execute()
|
||||
if err != nil {
|
||||
fmt.Fprintf(os.Stderr, "Error when calling `RoleInsightsAPI.GetRoleInsightsCurrentEntitlements``: %v\n", err)
|
||||
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
|
||||
@@ -513,7 +513,7 @@ This API is currently in an experimental state. The API is subject to change bas
|
||||
Get entitlement insights for a role
|
||||
This endpoint returns entitlement insights for a role.
|
||||
|
||||
[API Spec](https://developer.sailpoint.com/docs/api//get-role-insights-entitlements-changes)
|
||||
[API Spec](https://developer.sailpoint.com/docs/api/v2025/get-role-insights-entitlements-changes)
|
||||
|
||||
### Path Parameters
|
||||
|
||||
@@ -553,7 +553,7 @@ import (
|
||||
"context"
|
||||
"fmt"
|
||||
"os"
|
||||
""
|
||||
v2025 "github.com/sailpoint-oss/golang-sdk/v2/api_v2025"
|
||||
openapiclient "github.com/sailpoint-oss/golang-sdk/v2"
|
||||
)
|
||||
|
||||
@@ -565,7 +565,7 @@ func main() {
|
||||
|
||||
configuration := NewDefaultConfiguration()
|
||||
apiClient := NewAPIClient(configuration)
|
||||
resp, r, err := apiClient..RoleInsightsAPI.GetRoleInsightsEntitlementsChanges(context.Background(), insightId).XSailPointExperimental(xSailPointExperimental).Sorters(sorters).Filters(filters).Execute()
|
||||
resp, r, err := apiClient.V2025.RoleInsightsAPI.GetRoleInsightsEntitlementsChanges(context.Background(), insightId).XSailPointExperimental(xSailPointExperimental).Sorters(sorters).Filters(filters).Execute()
|
||||
if err != nil {
|
||||
fmt.Fprintf(os.Stderr, "Error when calling `RoleInsightsAPI.GetRoleInsightsEntitlementsChanges``: %v\n", err)
|
||||
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
|
||||
@@ -595,7 +595,7 @@ This API is currently in an experimental state. The API is subject to change bas
|
||||
Returns metadata from prior request.
|
||||
This endpoint returns details of a prior role insights request.
|
||||
|
||||
[API Spec](https://developer.sailpoint.com/docs/api//get-role-insights-requests)
|
||||
[API Spec](https://developer.sailpoint.com/docs/api/v2025/get-role-insights-requests)
|
||||
|
||||
### Path Parameters
|
||||
|
||||
@@ -633,7 +633,7 @@ import (
|
||||
"context"
|
||||
"fmt"
|
||||
"os"
|
||||
""
|
||||
v2025 "github.com/sailpoint-oss/golang-sdk/v2/api_v2025"
|
||||
openapiclient "github.com/sailpoint-oss/golang-sdk/v2"
|
||||
)
|
||||
|
||||
@@ -643,7 +643,7 @@ func main() {
|
||||
|
||||
configuration := NewDefaultConfiguration()
|
||||
apiClient := NewAPIClient(configuration)
|
||||
resp, r, err := apiClient..RoleInsightsAPI.GetRoleInsightsRequests(context.Background(), id).XSailPointExperimental(xSailPointExperimental).Execute()
|
||||
resp, r, err := apiClient.V2025.RoleInsightsAPI.GetRoleInsightsRequests(context.Background(), id).XSailPointExperimental(xSailPointExperimental).Execute()
|
||||
if err != nil {
|
||||
fmt.Fprintf(os.Stderr, "Error when calling `RoleInsightsAPI.GetRoleInsightsRequests``: %v\n", err)
|
||||
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
|
||||
@@ -670,7 +670,7 @@ This API is currently in an experimental state. The API is subject to change bas
|
||||
Get role insights summary information
|
||||
This method returns high level summary information for role insights for a customer.
|
||||
|
||||
[API Spec](https://developer.sailpoint.com/docs/api//get-role-insights-summary)
|
||||
[API Spec](https://developer.sailpoint.com/docs/api/v2025/get-role-insights-summary)
|
||||
|
||||
### Path Parameters
|
||||
|
||||
@@ -703,7 +703,7 @@ import (
|
||||
"context"
|
||||
"fmt"
|
||||
"os"
|
||||
""
|
||||
v2025 "github.com/sailpoint-oss/golang-sdk/v2/api_v2025"
|
||||
openapiclient "github.com/sailpoint-oss/golang-sdk/v2"
|
||||
)
|
||||
|
||||
@@ -712,7 +712,7 @@ func main() {
|
||||
|
||||
configuration := NewDefaultConfiguration()
|
||||
apiClient := NewAPIClient(configuration)
|
||||
resp, r, err := apiClient..RoleInsightsAPI.GetRoleInsightsSummary(context.Background()).XSailPointExperimental(xSailPointExperimental).Execute()
|
||||
resp, r, err := apiClient.V2025.RoleInsightsAPI.GetRoleInsightsSummary(context.Background()).XSailPointExperimental(xSailPointExperimental).Execute()
|
||||
if err != nil {
|
||||
fmt.Fprintf(os.Stderr, "Error when calling `RoleInsightsAPI.GetRoleInsightsSummary``: %v\n", err)
|
||||
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
|
||||
|
||||
@@ -1,12 +1,12 @@
|
||||
---
|
||||
id: roles
|
||||
id: v2025-roles
|
||||
title: Roles
|
||||
pagination_label: Roles
|
||||
sidebar_label: Roles
|
||||
sidebar_class_name: gosdk
|
||||
keywords: ['go', 'Golang', 'sdk', 'Roles', 'Roles']
|
||||
slug: /tools/sdk/go//methods/roles
|
||||
tags: ['SDK', 'Software Development Kit', 'Roles', 'Roles']
|
||||
keywords: ['go', 'Golang', 'sdk', 'Roles', 'V2025Roles']
|
||||
slug: /tools/sdk/go/v2025/methods/roles
|
||||
tags: ['SDK', 'Software Development Kit', 'Roles', 'V2025Roles']
|
||||
---
|
||||
|
||||
# RolesAPI
|
||||
@@ -80,7 +80,7 @@ In addition, a ROLE_SUBADMIN may not create a role including an access profile i
|
||||
|
||||
The maximum supported length for the description field is 2000 characters. Longer descriptions will be preserved for existing roles. However, any new roles as well as any updates to existing descriptions will be limited to 2000 characters.
|
||||
|
||||
[API Spec](https://developer.sailpoint.com/docs/api//create-role)
|
||||
[API Spec](https://developer.sailpoint.com/docs/api/v2025/create-role)
|
||||
|
||||
### Path Parameters
|
||||
|
||||
@@ -113,7 +113,7 @@ import (
|
||||
"context"
|
||||
"fmt"
|
||||
"os"
|
||||
""
|
||||
v2025 "github.com/sailpoint-oss/golang-sdk/v2/api_v2025"
|
||||
openapiclient "github.com/sailpoint-oss/golang-sdk/v2"
|
||||
)
|
||||
|
||||
@@ -280,7 +280,7 @@ func main() {
|
||||
|
||||
configuration := NewDefaultConfiguration()
|
||||
apiClient := NewAPIClient(configuration)
|
||||
resp, r, err := apiClient..RolesAPI.CreateRole(context.Background()).Role(role).Execute()
|
||||
resp, r, err := apiClient.V2025.RolesAPI.CreateRole(context.Background()).Role(role).Execute()
|
||||
if err != nil {
|
||||
fmt.Fprintf(os.Stderr, "Error when calling `RolesAPI.CreateRole``: %v\n", err)
|
||||
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
|
||||
@@ -299,7 +299,7 @@ When the request is successful, the endpoint returns the bulk delete's task resu
|
||||
This endpoint can only bulk delete up to a limit of 50 roles per request.
|
||||
A user with ROLE_SUBADMIN authority can only call this endpoint if all roles included in the request are associated with sources with management workgroups the ROLE_SUBADMIN is a member of.
|
||||
|
||||
[API Spec](https://developer.sailpoint.com/docs/api//delete-bulk-roles)
|
||||
[API Spec](https://developer.sailpoint.com/docs/api/v2025/delete-bulk-roles)
|
||||
|
||||
### Path Parameters
|
||||
|
||||
@@ -332,7 +332,7 @@ import (
|
||||
"context"
|
||||
"fmt"
|
||||
"os"
|
||||
""
|
||||
v2025 "github.com/sailpoint-oss/golang-sdk/v2/api_v2025"
|
||||
openapiclient "github.com/sailpoint-oss/golang-sdk/v2"
|
||||
)
|
||||
|
||||
@@ -343,7 +343,7 @@ func main() {
|
||||
|
||||
configuration := NewDefaultConfiguration()
|
||||
apiClient := NewAPIClient(configuration)
|
||||
resp, r, err := apiClient..RolesAPI.DeleteBulkRoles(context.Background()).RoleBulkDeleteRequest(roleBulkDeleteRequest).Execute()
|
||||
resp, r, err := apiClient.V2025.RolesAPI.DeleteBulkRoles(context.Background()).RoleBulkDeleteRequest(roleBulkDeleteRequest).Execute()
|
||||
if err != nil {
|
||||
fmt.Fprintf(os.Stderr, "Error when calling `RolesAPI.DeleteBulkRoles``: %v\n", err)
|
||||
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
|
||||
@@ -359,7 +359,7 @@ func main() {
|
||||
Remove a Metadata From Role.
|
||||
This API initialize a request to remove a single Access Model Metadata from a role by attribute key and value. A token with ORG_ADMIN, ROLE_ADMIN ROLE_SUBADMIN authority is required to call this API.
|
||||
|
||||
[API Spec](https://developer.sailpoint.com/docs/api//delete-metadata-from-role-by-key-and-value)
|
||||
[API Spec](https://developer.sailpoint.com/docs/api/v2025/delete-metadata-from-role-by-key-and-value)
|
||||
|
||||
### Path Parameters
|
||||
|
||||
@@ -400,7 +400,7 @@ import (
|
||||
"context"
|
||||
"fmt"
|
||||
"os"
|
||||
""
|
||||
v2025 "github.com/sailpoint-oss/golang-sdk/v2/api_v2025"
|
||||
openapiclient "github.com/sailpoint-oss/golang-sdk/v2"
|
||||
)
|
||||
|
||||
@@ -411,7 +411,7 @@ func main() {
|
||||
|
||||
configuration := NewDefaultConfiguration()
|
||||
apiClient := NewAPIClient(configuration)
|
||||
r, err := apiClient..RolesAPI.DeleteMetadataFromRoleByKeyAndValue(context.Background(), id, attributeKey, attributeValue).Execute()
|
||||
r, err := apiClient.V2025.RolesAPI.DeleteMetadataFromRoleByKeyAndValue(context.Background(), id, attributeKey, attributeValue).Execute()
|
||||
if err != nil {
|
||||
fmt.Fprintf(os.Stderr, "Error when calling `RolesAPI.DeleteMetadataFromRoleByKeyAndValue``: %v\n", err)
|
||||
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
|
||||
@@ -427,7 +427,7 @@ This API deletes a Role by its ID.
|
||||
|
||||
A token with API, ORG_ADMIN, ROLE_ADMIN, or ROLE_SUBADMIN authority is required to call this API. In addition, a token with ROLE_SUBADMIN authority may only call this API if all Access Profiles included in the Role are associated to Sources with management workgroups of which the ROLE_SUBADMIN is a member.
|
||||
|
||||
[API Spec](https://developer.sailpoint.com/docs/api//delete-role)
|
||||
[API Spec](https://developer.sailpoint.com/docs/api/v2025/delete-role)
|
||||
|
||||
### Path Parameters
|
||||
|
||||
@@ -464,7 +464,7 @@ import (
|
||||
"context"
|
||||
"fmt"
|
||||
"os"
|
||||
""
|
||||
v2025 "github.com/sailpoint-oss/golang-sdk/v2/api_v2025"
|
||||
openapiclient "github.com/sailpoint-oss/golang-sdk/v2"
|
||||
)
|
||||
|
||||
@@ -473,7 +473,7 @@ func main() {
|
||||
|
||||
configuration := NewDefaultConfiguration()
|
||||
apiClient := NewAPIClient(configuration)
|
||||
r, err := apiClient..RolesAPI.DeleteRole(context.Background(), id).Execute()
|
||||
r, err := apiClient.V2025.RolesAPI.DeleteRole(context.Background(), id).Execute()
|
||||
if err != nil {
|
||||
fmt.Fprintf(os.Stderr, "Error when calling `RolesAPI.DeleteRole``: %v\n", err)
|
||||
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
|
||||
@@ -487,7 +487,7 @@ func main() {
|
||||
Get Bulk-Update Statuses
|
||||
This API returns a list of all unfinished bulk update process status of the tenant.
|
||||
|
||||
[API Spec](https://developer.sailpoint.com/docs/api//get-bulk-update-status)
|
||||
[API Spec](https://developer.sailpoint.com/docs/api/v2025/get-bulk-update-status)
|
||||
|
||||
### Path Parameters
|
||||
|
||||
@@ -516,7 +516,7 @@ import (
|
||||
"context"
|
||||
"fmt"
|
||||
"os"
|
||||
""
|
||||
v2025 "github.com/sailpoint-oss/golang-sdk/v2/api_v2025"
|
||||
openapiclient "github.com/sailpoint-oss/golang-sdk/v2"
|
||||
)
|
||||
|
||||
@@ -524,7 +524,7 @@ func main() {
|
||||
|
||||
configuration := NewDefaultConfiguration()
|
||||
apiClient := NewAPIClient(configuration)
|
||||
resp, r, err := apiClient..RolesAPI.GetBulkUpdateStatus(context.Background()).Execute()
|
||||
resp, r, err := apiClient.V2025.RolesAPI.GetBulkUpdateStatus(context.Background()).Execute()
|
||||
if err != nil {
|
||||
fmt.Fprintf(os.Stderr, "Error when calling `RolesAPI.GetBulkUpdateStatus``: %v\n", err)
|
||||
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
|
||||
@@ -542,7 +542,7 @@ Get Bulk-Update Status by ID
|
||||
This API initial a request for one bulk update's status by bulk update Id returns the status of the bulk update process.
|
||||
A token with ORG_ADMIN, ROLE_ADMIN ROLE_SUBADMIN authority is required to call this API.
|
||||
|
||||
[API Spec](https://developer.sailpoint.com/docs/api//get-bulk-update-status-by-id)
|
||||
[API Spec](https://developer.sailpoint.com/docs/api/v2025/get-bulk-update-status-by-id)
|
||||
|
||||
### Path Parameters
|
||||
|
||||
@@ -579,7 +579,7 @@ import (
|
||||
"context"
|
||||
"fmt"
|
||||
"os"
|
||||
""
|
||||
v2025 "github.com/sailpoint-oss/golang-sdk/v2/api_v2025"
|
||||
openapiclient "github.com/sailpoint-oss/golang-sdk/v2"
|
||||
)
|
||||
|
||||
@@ -588,7 +588,7 @@ func main() {
|
||||
|
||||
configuration := NewDefaultConfiguration()
|
||||
apiClient := NewAPIClient(configuration)
|
||||
resp, r, err := apiClient..RolesAPI.GetBulkUpdateStatusById(context.Background(), id).Execute()
|
||||
resp, r, err := apiClient.V2025.RolesAPI.GetBulkUpdateStatusById(context.Background(), id).Execute()
|
||||
if err != nil {
|
||||
fmt.Fprintf(os.Stderr, "Error when calling `RolesAPI.GetBulkUpdateStatusById``: %v\n", err)
|
||||
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
|
||||
@@ -605,7 +605,7 @@ Get a Role
|
||||
This API returns a Role by its ID.
|
||||
A token with API, ORG_ADMIN, ROLE_ADMIN, or ROLE_SUBADMIN authority is required to call this API. In addition, a token with ROLE_SUBADMIN authority may only call this API if all Access Profiles included in the Role are associated to Sources with management workgroups of which the ROLE_SUBADMIN is a member.
|
||||
|
||||
[API Spec](https://developer.sailpoint.com/docs/api//get-role)
|
||||
[API Spec](https://developer.sailpoint.com/docs/api/v2025/get-role)
|
||||
|
||||
### Path Parameters
|
||||
|
||||
@@ -642,7 +642,7 @@ import (
|
||||
"context"
|
||||
"fmt"
|
||||
"os"
|
||||
""
|
||||
v2025 "github.com/sailpoint-oss/golang-sdk/v2/api_v2025"
|
||||
openapiclient "github.com/sailpoint-oss/golang-sdk/v2"
|
||||
)
|
||||
|
||||
@@ -651,7 +651,7 @@ func main() {
|
||||
|
||||
configuration := NewDefaultConfiguration()
|
||||
apiClient := NewAPIClient(configuration)
|
||||
resp, r, err := apiClient..RolesAPI.GetRole(context.Background(), id).Execute()
|
||||
resp, r, err := apiClient.V2025.RolesAPI.GetRole(context.Background(), id).Execute()
|
||||
if err != nil {
|
||||
fmt.Fprintf(os.Stderr, "Error when calling `RolesAPI.GetRole``: %v\n", err)
|
||||
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
|
||||
@@ -667,7 +667,7 @@ func main() {
|
||||
List Identities assigned a Role
|
||||
|
||||
|
||||
[API Spec](https://developer.sailpoint.com/docs/api//get-role-assigned-identities)
|
||||
[API Spec](https://developer.sailpoint.com/docs/api/v2025/get-role-assigned-identities)
|
||||
|
||||
### Path Parameters
|
||||
|
||||
@@ -709,7 +709,7 @@ import (
|
||||
"context"
|
||||
"fmt"
|
||||
"os"
|
||||
""
|
||||
v2025 "github.com/sailpoint-oss/golang-sdk/v2/api_v2025"
|
||||
openapiclient "github.com/sailpoint-oss/golang-sdk/v2"
|
||||
)
|
||||
|
||||
@@ -723,7 +723,7 @@ func main() {
|
||||
|
||||
configuration := NewDefaultConfiguration()
|
||||
apiClient := NewAPIClient(configuration)
|
||||
resp, r, err := apiClient..RolesAPI.GetRoleAssignedIdentities(context.Background(), id).Limit(limit).Offset(offset).Count(count).Filters(filters).Sorters(sorters).Execute()
|
||||
resp, r, err := apiClient.V2025.RolesAPI.GetRoleAssignedIdentities(context.Background(), id).Limit(limit).Offset(offset).Count(count).Filters(filters).Sorters(sorters).Execute()
|
||||
if err != nil {
|
||||
fmt.Fprintf(os.Stderr, "Error when calling `RolesAPI.GetRoleAssignedIdentities``: %v\n", err)
|
||||
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
|
||||
@@ -750,7 +750,7 @@ This API is currently in an experimental state. The API is subject to change bas
|
||||
List Role's Entitlements
|
||||
Get a list of entitlements associated with a specified role.
|
||||
|
||||
[API Spec](https://developer.sailpoint.com/docs/api//get-role-entitlements)
|
||||
[API Spec](https://developer.sailpoint.com/docs/api/v2025/get-role-entitlements)
|
||||
|
||||
### Path Parameters
|
||||
|
||||
@@ -793,7 +793,7 @@ import (
|
||||
"context"
|
||||
"fmt"
|
||||
"os"
|
||||
""
|
||||
v2025 "github.com/sailpoint-oss/golang-sdk/v2/api_v2025"
|
||||
openapiclient "github.com/sailpoint-oss/golang-sdk/v2"
|
||||
)
|
||||
|
||||
@@ -808,7 +808,7 @@ func main() {
|
||||
|
||||
configuration := NewDefaultConfiguration()
|
||||
apiClient := NewAPIClient(configuration)
|
||||
resp, r, err := apiClient..RolesAPI.GetRoleEntitlements(context.Background(), id).XSailPointExperimental(xSailPointExperimental).Limit(limit).Offset(offset).Count(count).Filters(filters).Sorters(sorters).Execute()
|
||||
resp, r, err := apiClient.V2025.RolesAPI.GetRoleEntitlements(context.Background(), id).XSailPointExperimental(xSailPointExperimental).Limit(limit).Offset(offset).Count(count).Filters(filters).Sorters(sorters).Execute()
|
||||
if err != nil {
|
||||
fmt.Fprintf(os.Stderr, "Error when calling `RolesAPI.GetRoleEntitlements``: %v\n", err)
|
||||
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
|
||||
@@ -826,7 +826,7 @@ This API returns a list of Roles.
|
||||
|
||||
A token with API, ORG_ADMIN, ROLE_ADMIN, or ROLE_SUBADMIN authority is required to call this API.
|
||||
|
||||
[API Spec](https://developer.sailpoint.com/docs/api//list-roles)
|
||||
[API Spec](https://developer.sailpoint.com/docs/api/v2025/list-roles)
|
||||
|
||||
### Path Parameters
|
||||
|
||||
@@ -866,7 +866,7 @@ import (
|
||||
"context"
|
||||
"fmt"
|
||||
"os"
|
||||
""
|
||||
v2025 "github.com/sailpoint-oss/golang-sdk/v2/api_v2025"
|
||||
openapiclient "github.com/sailpoint-oss/golang-sdk/v2"
|
||||
)
|
||||
|
||||
@@ -882,7 +882,7 @@ func main() {
|
||||
|
||||
configuration := NewDefaultConfiguration()
|
||||
apiClient := NewAPIClient(configuration)
|
||||
resp, r, err := apiClient..RolesAPI.ListRoles(context.Background()).ForSubadmin(forSubadmin).Limit(limit).Offset(offset).Count(count).Filters(filters).Sorters(sorters).ForSegmentIds(forSegmentIds).IncludeUnsegmented(includeUnsegmented).Execute()
|
||||
resp, r, err := apiClient.V2025.RolesAPI.ListRoles(context.Background()).ForSubadmin(forSubadmin).Limit(limit).Offset(offset).Count(count).Filters(filters).Sorters(sorters).ForSegmentIds(forSegmentIds).IncludeUnsegmented(includeUnsegmented).Execute()
|
||||
if err != nil {
|
||||
fmt.Fprintf(os.Stderr, "Error when calling `RolesAPI.ListRoles``: %v\n", err)
|
||||
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
|
||||
@@ -918,7 +918,7 @@ The maximum supported length for the description field is 2000 characters. Longe
|
||||
|
||||
When you use this API to modify a role's membership identities, you can only modify up to a limit of 500 membership identities at a time.
|
||||
|
||||
[API Spec](https://developer.sailpoint.com/docs/api//patch-role)
|
||||
[API Spec](https://developer.sailpoint.com/docs/api/v2025/patch-role)
|
||||
|
||||
### Path Parameters
|
||||
|
||||
@@ -956,7 +956,7 @@ import (
|
||||
"context"
|
||||
"fmt"
|
||||
"os"
|
||||
""
|
||||
v2025 "github.com/sailpoint-oss/golang-sdk/v2/api_v2025"
|
||||
openapiclient "github.com/sailpoint-oss/golang-sdk/v2"
|
||||
)
|
||||
|
||||
@@ -966,7 +966,7 @@ func main() {
|
||||
|
||||
configuration := NewDefaultConfiguration()
|
||||
apiClient := NewAPIClient(configuration)
|
||||
resp, r, err := apiClient..RolesAPI.PatchRole(context.Background(), id).JsonPatchOperation(jsonPatchOperation).Execute()
|
||||
resp, r, err := apiClient.V2025.RolesAPI.PatchRole(context.Background(), id).JsonPatchOperation(jsonPatchOperation).Execute()
|
||||
if err != nil {
|
||||
fmt.Fprintf(os.Stderr, "Error when calling `RolesAPI.PatchRole``: %v\n", err)
|
||||
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
|
||||
@@ -983,7 +983,7 @@ Filter Roles by Metadata
|
||||
This API returns a list of Role that filter by metadata and filter, it support filter by both path parameter and attribute key and values.
|
||||
A token with API, ORG_ADMIN, ROLE_ADMIN, ROLE_SUBADMIN, HELPDESK, CERT_ADMIN, REPORT_ADMIN or SOURCE_ADMIN authority is required to call this API.
|
||||
|
||||
[API Spec](https://developer.sailpoint.com/docs/api//search-roles-by-filter)
|
||||
[API Spec](https://developer.sailpoint.com/docs/api/v2025/search-roles-by-filter)
|
||||
|
||||
### Path Parameters
|
||||
|
||||
@@ -1023,7 +1023,7 @@ import (
|
||||
"context"
|
||||
"fmt"
|
||||
"os"
|
||||
""
|
||||
v2025 "github.com/sailpoint-oss/golang-sdk/v2/api_v2025"
|
||||
openapiclient "github.com/sailpoint-oss/golang-sdk/v2"
|
||||
)
|
||||
|
||||
@@ -1045,7 +1045,7 @@ func main() {
|
||||
|
||||
configuration := NewDefaultConfiguration()
|
||||
apiClient := NewAPIClient(configuration)
|
||||
resp, r, err := apiClient..RolesAPI.SearchRolesByFilter(context.Background()).ForSubadmin(forSubadmin).Limit(limit).Offset(offset).Count(count).Sorters(sorters).ForSegmentIds(forSegmentIds).IncludeUnsegmented(includeUnsegmented).RoleListFilterDTO(roleListFilterDTO).Execute()
|
||||
resp, r, err := apiClient.V2025.RolesAPI.SearchRolesByFilter(context.Background()).ForSubadmin(forSubadmin).Limit(limit).Offset(offset).Count(count).Sorters(sorters).ForSegmentIds(forSegmentIds).IncludeUnsegmented(includeUnsegmented).RoleListFilterDTO(roleListFilterDTO).Execute()
|
||||
if err != nil {
|
||||
fmt.Fprintf(os.Stderr, "Error when calling `RolesAPI.SearchRolesByFilter``: %v\n", err)
|
||||
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
|
||||
@@ -1061,7 +1061,7 @@ func main() {
|
||||
Add a Metadata to Role.
|
||||
This API initialize a request to add a single Access Model Metadata to a role by attribute key and attribute value. A token with ORG_ADMIN, ROLE_ADMIN ROLE_SUBADMIN authority is required to call this API. The maximum number of attributes in one role is 25. Custom metadata update, including ADD and REPLACE need suit licensed.
|
||||
|
||||
[API Spec](https://developer.sailpoint.com/docs/api//update-attribute-key-and-value-to-role)
|
||||
[API Spec](https://developer.sailpoint.com/docs/api/v2025/update-attribute-key-and-value-to-role)
|
||||
|
||||
### Path Parameters
|
||||
|
||||
@@ -1102,7 +1102,7 @@ import (
|
||||
"context"
|
||||
"fmt"
|
||||
"os"
|
||||
""
|
||||
v2025 "github.com/sailpoint-oss/golang-sdk/v2/api_v2025"
|
||||
openapiclient "github.com/sailpoint-oss/golang-sdk/v2"
|
||||
)
|
||||
|
||||
@@ -1113,7 +1113,7 @@ func main() {
|
||||
|
||||
configuration := NewDefaultConfiguration()
|
||||
apiClient := NewAPIClient(configuration)
|
||||
resp, r, err := apiClient..RolesAPI.UpdateAttributeKeyAndValueToRole(context.Background(), id, attributeKey, attributeValue).Execute()
|
||||
resp, r, err := apiClient.V2025.RolesAPI.UpdateAttributeKeyAndValueToRole(context.Background(), id, attributeKey, attributeValue).Execute()
|
||||
if err != nil {
|
||||
fmt.Fprintf(os.Stderr, "Error when calling `RolesAPI.UpdateAttributeKeyAndValueToRole``: %v\n", err)
|
||||
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
|
||||
@@ -1132,7 +1132,7 @@ A token with ORG_ADMIN, ROLE_ADMIN ROLE_SUBADMIN authority is required to call t
|
||||
The maximum metadata value count for a single role is 25.
|
||||
Custom metadata update, including add, replace need suit licensed.
|
||||
|
||||
[API Spec](https://developer.sailpoint.com/docs/api//update-roles-metadata-by-filter)
|
||||
[API Spec](https://developer.sailpoint.com/docs/api/v2025/update-roles-metadata-by-filter)
|
||||
|
||||
### Path Parameters
|
||||
|
||||
@@ -1165,7 +1165,7 @@ import (
|
||||
"context"
|
||||
"fmt"
|
||||
"os"
|
||||
""
|
||||
v2025 "github.com/sailpoint-oss/golang-sdk/v2/api_v2025"
|
||||
openapiclient "github.com/sailpoint-oss/golang-sdk/v2"
|
||||
)
|
||||
|
||||
@@ -1182,7 +1182,7 @@ func main() {
|
||||
|
||||
configuration := NewDefaultConfiguration()
|
||||
apiClient := NewAPIClient(configuration)
|
||||
resp, r, err := apiClient..RolesAPI.UpdateRolesMetadataByFilter(context.Background()).RoleMetadataBulkUpdateByFilterRequest(roleMetadataBulkUpdateByFilterRequest).Execute()
|
||||
resp, r, err := apiClient.V2025.RolesAPI.UpdateRolesMetadataByFilter(context.Background()).RoleMetadataBulkUpdateByFilterRequest(roleMetadataBulkUpdateByFilterRequest).Execute()
|
||||
if err != nil {
|
||||
fmt.Fprintf(os.Stderr, "Error when calling `RolesAPI.UpdateRolesMetadataByFilter``: %v\n", err)
|
||||
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
|
||||
@@ -1201,7 +1201,7 @@ A token with ORG_ADMIN, ROLE_ADMIN ROLE_SUBADMIN authority is required to call t
|
||||
The maximum role count in a single update request is 3000. The maximum metadata value count for a single role is 25.
|
||||
Custom metadata update, including add, replace need suit licensed.
|
||||
|
||||
[API Spec](https://developer.sailpoint.com/docs/api//update-roles-metadata-by-ids)
|
||||
[API Spec](https://developer.sailpoint.com/docs/api/v2025/update-roles-metadata-by-ids)
|
||||
|
||||
### Path Parameters
|
||||
|
||||
@@ -1234,7 +1234,7 @@ import (
|
||||
"context"
|
||||
"fmt"
|
||||
"os"
|
||||
""
|
||||
v2025 "github.com/sailpoint-oss/golang-sdk/v2/api_v2025"
|
||||
openapiclient "github.com/sailpoint-oss/golang-sdk/v2"
|
||||
)
|
||||
|
||||
@@ -1251,7 +1251,7 @@ func main() {
|
||||
|
||||
configuration := NewDefaultConfiguration()
|
||||
apiClient := NewAPIClient(configuration)
|
||||
resp, r, err := apiClient..RolesAPI.UpdateRolesMetadataByIds(context.Background()).RoleMetadataBulkUpdateByIdRequest(roleMetadataBulkUpdateByIdRequest).Execute()
|
||||
resp, r, err := apiClient.V2025.RolesAPI.UpdateRolesMetadataByIds(context.Background()).RoleMetadataBulkUpdateByIdRequest(roleMetadataBulkUpdateByIdRequest).Execute()
|
||||
if err != nil {
|
||||
fmt.Fprintf(os.Stderr, "Error when calling `RolesAPI.UpdateRolesMetadataByIds``: %v\n", err)
|
||||
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
|
||||
@@ -1270,7 +1270,7 @@ A token with ORG_ADMIN, ROLE_ADMIN ROLE_SUBADMIN authority is required to call t
|
||||
The maximum metadata value count for a single role is 25.
|
||||
Custom metadata update, including add, replace need suit licensed.
|
||||
|
||||
[API Spec](https://developer.sailpoint.com/docs/api//update-roles-metadata-by-query)
|
||||
[API Spec](https://developer.sailpoint.com/docs/api/v2025/update-roles-metadata-by-query)
|
||||
|
||||
### Path Parameters
|
||||
|
||||
@@ -1303,7 +1303,7 @@ import (
|
||||
"context"
|
||||
"fmt"
|
||||
"os"
|
||||
""
|
||||
v2025 "github.com/sailpoint-oss/golang-sdk/v2/api_v2025"
|
||||
openapiclient "github.com/sailpoint-oss/golang-sdk/v2"
|
||||
)
|
||||
|
||||
@@ -1335,7 +1335,7 @@ func main() {
|
||||
|
||||
configuration := NewDefaultConfiguration()
|
||||
apiClient := NewAPIClient(configuration)
|
||||
resp, r, err := apiClient..RolesAPI.UpdateRolesMetadataByQuery(context.Background()).RoleMetadataBulkUpdateByQueryRequest(roleMetadataBulkUpdateByQueryRequest).Execute()
|
||||
resp, r, err := apiClient.V2025.RolesAPI.UpdateRolesMetadataByQuery(context.Background()).RoleMetadataBulkUpdateByQueryRequest(roleMetadataBulkUpdateByQueryRequest).Execute()
|
||||
if err != nil {
|
||||
fmt.Fprintf(os.Stderr, "Error when calling `RolesAPI.UpdateRolesMetadataByQuery``: %v\n", err)
|
||||
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
|
||||
|
||||
@@ -1,12 +1,12 @@
|
||||
---
|
||||
id: sim-integrations
|
||||
id: v2025-sim-integrations
|
||||
title: SIMIntegrations
|
||||
pagination_label: SIMIntegrations
|
||||
sidebar_label: SIMIntegrations
|
||||
sidebar_class_name: gosdk
|
||||
keywords: ['go', 'Golang', 'sdk', 'SIMIntegrations', 'SIMIntegrations']
|
||||
slug: /tools/sdk/go//methods/sim-integrations
|
||||
tags: ['SDK', 'Software Development Kit', 'SIMIntegrations', 'SIMIntegrations']
|
||||
keywords: ['go', 'Golang', 'sdk', 'SIMIntegrations', 'V2025SIMIntegrations']
|
||||
slug: /tools/sdk/go/v2025/methods/sim-integrations
|
||||
tags: ['SDK', 'Software Development Kit', 'SIMIntegrations', 'V2025SIMIntegrations']
|
||||
---
|
||||
|
||||
# SIMIntegrationsAPI
|
||||
@@ -46,7 +46,7 @@ This API is currently in an experimental state. The API is subject to change bas
|
||||
Create new SIM integration
|
||||
Create a new SIM Integrations.
|
||||
|
||||
[API Spec](https://developer.sailpoint.com/docs/api//create-sim-integration)
|
||||
[API Spec](https://developer.sailpoint.com/docs/api/v2025/create-sim-integration)
|
||||
|
||||
### Path Parameters
|
||||
|
||||
@@ -80,7 +80,7 @@ import (
|
||||
"context"
|
||||
"fmt"
|
||||
"os"
|
||||
""
|
||||
v2025 "github.com/sailpoint-oss/golang-sdk/v2/api_v2025"
|
||||
openapiclient "github.com/sailpoint-oss/golang-sdk/v2"
|
||||
)
|
||||
|
||||
@@ -107,7 +107,7 @@ func main() {
|
||||
|
||||
configuration := NewDefaultConfiguration()
|
||||
apiClient := NewAPIClient(configuration)
|
||||
resp, r, err := apiClient..SIMIntegrationsAPI.CreateSIMIntegration(context.Background()).XSailPointExperimental(xSailPointExperimental).SimIntegrationDetails(simIntegrationDetails).Execute()
|
||||
resp, r, err := apiClient.V2025.SIMIntegrationsAPI.CreateSIMIntegration(context.Background()).XSailPointExperimental(xSailPointExperimental).SimIntegrationDetails(simIntegrationDetails).Execute()
|
||||
if err != nil {
|
||||
fmt.Fprintf(os.Stderr, "Error when calling `SIMIntegrationsAPI.CreateSIMIntegration``: %v\n", err)
|
||||
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
|
||||
@@ -134,7 +134,7 @@ This API is currently in an experimental state. The API is subject to change bas
|
||||
Delete a SIM integration
|
||||
Get the details of a SIM integration.
|
||||
|
||||
[API Spec](https://developer.sailpoint.com/docs/api//delete-sim-integration)
|
||||
[API Spec](https://developer.sailpoint.com/docs/api/v2025/delete-sim-integration)
|
||||
|
||||
### Path Parameters
|
||||
|
||||
@@ -172,7 +172,7 @@ import (
|
||||
"context"
|
||||
"fmt"
|
||||
"os"
|
||||
""
|
||||
v2025 "github.com/sailpoint-oss/golang-sdk/v2/api_v2025"
|
||||
openapiclient "github.com/sailpoint-oss/golang-sdk/v2"
|
||||
)
|
||||
|
||||
@@ -182,7 +182,7 @@ func main() {
|
||||
|
||||
configuration := NewDefaultConfiguration()
|
||||
apiClient := NewAPIClient(configuration)
|
||||
r, err := apiClient..SIMIntegrationsAPI.DeleteSIMIntegration(context.Background(), id).XSailPointExperimental(xSailPointExperimental).Execute()
|
||||
r, err := apiClient.V2025.SIMIntegrationsAPI.DeleteSIMIntegration(context.Background(), id).XSailPointExperimental(xSailPointExperimental).Execute()
|
||||
if err != nil {
|
||||
fmt.Fprintf(os.Stderr, "Error when calling `SIMIntegrationsAPI.DeleteSIMIntegration``: %v\n", err)
|
||||
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
|
||||
@@ -207,7 +207,7 @@ This API is currently in an experimental state. The API is subject to change bas
|
||||
Get a SIM integration details.
|
||||
Get the details of a SIM integration.
|
||||
|
||||
[API Spec](https://developer.sailpoint.com/docs/api//get-sim-integration)
|
||||
[API Spec](https://developer.sailpoint.com/docs/api/v2025/get-sim-integration)
|
||||
|
||||
### Path Parameters
|
||||
|
||||
@@ -245,7 +245,7 @@ import (
|
||||
"context"
|
||||
"fmt"
|
||||
"os"
|
||||
""
|
||||
v2025 "github.com/sailpoint-oss/golang-sdk/v2/api_v2025"
|
||||
openapiclient "github.com/sailpoint-oss/golang-sdk/v2"
|
||||
)
|
||||
|
||||
@@ -255,7 +255,7 @@ func main() {
|
||||
|
||||
configuration := NewDefaultConfiguration()
|
||||
apiClient := NewAPIClient(configuration)
|
||||
resp, r, err := apiClient..SIMIntegrationsAPI.GetSIMIntegration(context.Background(), id).XSailPointExperimental(xSailPointExperimental).Execute()
|
||||
resp, r, err := apiClient.V2025.SIMIntegrationsAPI.GetSIMIntegration(context.Background(), id).XSailPointExperimental(xSailPointExperimental).Execute()
|
||||
if err != nil {
|
||||
fmt.Fprintf(os.Stderr, "Error when calling `SIMIntegrationsAPI.GetSIMIntegration``: %v\n", err)
|
||||
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
|
||||
@@ -282,7 +282,7 @@ This API is currently in an experimental state. The API is subject to change bas
|
||||
List the existing SIM integrations.
|
||||
List the existing SIM integrations.
|
||||
|
||||
[API Spec](https://developer.sailpoint.com/docs/api//get-sim-integrations)
|
||||
[API Spec](https://developer.sailpoint.com/docs/api/v2025/get-sim-integrations)
|
||||
|
||||
### Path Parameters
|
||||
|
||||
@@ -315,7 +315,7 @@ import (
|
||||
"context"
|
||||
"fmt"
|
||||
"os"
|
||||
""
|
||||
v2025 "github.com/sailpoint-oss/golang-sdk/v2/api_v2025"
|
||||
openapiclient "github.com/sailpoint-oss/golang-sdk/v2"
|
||||
)
|
||||
|
||||
@@ -324,7 +324,7 @@ func main() {
|
||||
|
||||
configuration := NewDefaultConfiguration()
|
||||
apiClient := NewAPIClient(configuration)
|
||||
resp, r, err := apiClient..SIMIntegrationsAPI.GetSIMIntegrations(context.Background()).XSailPointExperimental(xSailPointExperimental).Execute()
|
||||
resp, r, err := apiClient.V2025.SIMIntegrationsAPI.GetSIMIntegrations(context.Background()).XSailPointExperimental(xSailPointExperimental).Execute()
|
||||
if err != nil {
|
||||
fmt.Fprintf(os.Stderr, "Error when calling `SIMIntegrationsAPI.GetSIMIntegrations``: %v\n", err)
|
||||
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
|
||||
@@ -351,7 +351,7 @@ This API is currently in an experimental state. The API is subject to change bas
|
||||
Patch a SIM beforeProvisioningRule attribute.
|
||||
Patch a SIM beforeProvisioningRule attribute given a JsonPatch object.
|
||||
|
||||
[API Spec](https://developer.sailpoint.com/docs/api//patch-before-provisioning-rule)
|
||||
[API Spec](https://developer.sailpoint.com/docs/api/v2025/patch-before-provisioning-rule)
|
||||
|
||||
### Path Parameters
|
||||
|
||||
@@ -390,7 +390,7 @@ import (
|
||||
"context"
|
||||
"fmt"
|
||||
"os"
|
||||
""
|
||||
v2025 "github.com/sailpoint-oss/golang-sdk/v2/api_v2025"
|
||||
openapiclient "github.com/sailpoint-oss/golang-sdk/v2"
|
||||
)
|
||||
|
||||
@@ -411,7 +411,7 @@ func main() {
|
||||
|
||||
configuration := NewDefaultConfiguration()
|
||||
apiClient := NewAPIClient(configuration)
|
||||
resp, r, err := apiClient..SIMIntegrationsAPI.PatchBeforeProvisioningRule(context.Background(), id).XSailPointExperimental(xSailPointExperimental).JsonPatch(jsonPatch).Execute()
|
||||
resp, r, err := apiClient.V2025.SIMIntegrationsAPI.PatchBeforeProvisioningRule(context.Background(), id).XSailPointExperimental(xSailPointExperimental).JsonPatch(jsonPatch).Execute()
|
||||
if err != nil {
|
||||
fmt.Fprintf(os.Stderr, "Error when calling `SIMIntegrationsAPI.PatchBeforeProvisioningRule``: %v\n", err)
|
||||
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
|
||||
@@ -438,7 +438,7 @@ This API is currently in an experimental state. The API is subject to change bas
|
||||
Patch a SIM attribute.
|
||||
Patch a SIM attribute given a JsonPatch object.
|
||||
|
||||
[API Spec](https://developer.sailpoint.com/docs/api//patch-sim-attributes)
|
||||
[API Spec](https://developer.sailpoint.com/docs/api/v2025/patch-sim-attributes)
|
||||
|
||||
### Path Parameters
|
||||
|
||||
@@ -477,7 +477,7 @@ import (
|
||||
"context"
|
||||
"fmt"
|
||||
"os"
|
||||
""
|
||||
v2025 "github.com/sailpoint-oss/golang-sdk/v2/api_v2025"
|
||||
openapiclient "github.com/sailpoint-oss/golang-sdk/v2"
|
||||
)
|
||||
|
||||
@@ -498,7 +498,7 @@ func main() {
|
||||
|
||||
configuration := NewDefaultConfiguration()
|
||||
apiClient := NewAPIClient(configuration)
|
||||
resp, r, err := apiClient..SIMIntegrationsAPI.PatchSIMAttributes(context.Background(), id).XSailPointExperimental(xSailPointExperimental).JsonPatch(jsonPatch).Execute()
|
||||
resp, r, err := apiClient.V2025.SIMIntegrationsAPI.PatchSIMAttributes(context.Background(), id).XSailPointExperimental(xSailPointExperimental).JsonPatch(jsonPatch).Execute()
|
||||
if err != nil {
|
||||
fmt.Fprintf(os.Stderr, "Error when calling `SIMIntegrationsAPI.PatchSIMAttributes``: %v\n", err)
|
||||
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
|
||||
@@ -525,7 +525,7 @@ This API is currently in an experimental state. The API is subject to change bas
|
||||
Update an existing SIM integration
|
||||
Update an existing SIM integration.
|
||||
|
||||
[API Spec](https://developer.sailpoint.com/docs/api//put-sim-integration)
|
||||
[API Spec](https://developer.sailpoint.com/docs/api/v2025/put-sim-integration)
|
||||
|
||||
### Path Parameters
|
||||
|
||||
@@ -564,7 +564,7 @@ import (
|
||||
"context"
|
||||
"fmt"
|
||||
"os"
|
||||
""
|
||||
v2025 "github.com/sailpoint-oss/golang-sdk/v2/api_v2025"
|
||||
openapiclient "github.com/sailpoint-oss/golang-sdk/v2"
|
||||
)
|
||||
|
||||
@@ -592,7 +592,7 @@ func main() {
|
||||
|
||||
configuration := NewDefaultConfiguration()
|
||||
apiClient := NewAPIClient(configuration)
|
||||
resp, r, err := apiClient..SIMIntegrationsAPI.PutSIMIntegration(context.Background(), id).XSailPointExperimental(xSailPointExperimental).SimIntegrationDetails(simIntegrationDetails).Execute()
|
||||
resp, r, err := apiClient.V2025.SIMIntegrationsAPI.PutSIMIntegration(context.Background(), id).XSailPointExperimental(xSailPointExperimental).SimIntegrationDetails(simIntegrationDetails).Execute()
|
||||
if err != nil {
|
||||
fmt.Fprintf(os.Stderr, "Error when calling `SIMIntegrationsAPI.PutSIMIntegration``: %v\n", err)
|
||||
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
|
||||
|
||||
@@ -1,12 +1,12 @@
|
||||
---
|
||||
id: sod-policies
|
||||
id: v2025-sod-policies
|
||||
title: SODPolicies
|
||||
pagination_label: SODPolicies
|
||||
sidebar_label: SODPolicies
|
||||
sidebar_class_name: gosdk
|
||||
keywords: ['go', 'Golang', 'sdk', 'SODPolicies', 'SODPolicies']
|
||||
slug: /tools/sdk/go//methods/sod-policies
|
||||
tags: ['SDK', 'Software Development Kit', 'SODPolicies', 'SODPolicies']
|
||||
keywords: ['go', 'Golang', 'sdk', 'SODPolicies', 'V2025SODPolicies']
|
||||
slug: /tools/sdk/go/v2025/methods/sod-policies
|
||||
tags: ['SDK', 'Software Development Kit', 'SODPolicies', 'V2025SODPolicies']
|
||||
---
|
||||
|
||||
# SODPoliciesAPI
|
||||
@@ -65,7 +65,7 @@ Create SOD policy
|
||||
This creates both General and Conflicting Access Based policy, with a limit of 50 entitlements for each (left & right) criteria for Conflicting Access Based SOD policy.
|
||||
Requires role of ORG_ADMIN.
|
||||
|
||||
[API Spec](https://developer.sailpoint.com/docs/api//create-sod-policy)
|
||||
[API Spec](https://developer.sailpoint.com/docs/api/v2025/create-sod-policy)
|
||||
|
||||
### Path Parameters
|
||||
|
||||
@@ -98,7 +98,7 @@ import (
|
||||
"context"
|
||||
"fmt"
|
||||
"os"
|
||||
""
|
||||
v2025 "github.com/sailpoint-oss/golang-sdk/v2/api_v2025"
|
||||
openapiclient "github.com/sailpoint-oss/golang-sdk/v2"
|
||||
)
|
||||
|
||||
@@ -162,7 +162,7 @@ func main() {
|
||||
|
||||
configuration := NewDefaultConfiguration()
|
||||
apiClient := NewAPIClient(configuration)
|
||||
resp, r, err := apiClient..SODPoliciesAPI.CreateSodPolicy(context.Background()).SodPolicy(sodPolicy).Execute()
|
||||
resp, r, err := apiClient.V2025.SODPoliciesAPI.CreateSodPolicy(context.Background()).SodPolicy(sodPolicy).Execute()
|
||||
if err != nil {
|
||||
fmt.Fprintf(os.Stderr, "Error when calling `SODPoliciesAPI.CreateSodPolicy``: %v\n", err)
|
||||
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
|
||||
@@ -179,7 +179,7 @@ Delete SOD policy by ID
|
||||
This deletes a specified SOD policy.
|
||||
Requires role of ORG_ADMIN.
|
||||
|
||||
[API Spec](https://developer.sailpoint.com/docs/api//delete-sod-policy)
|
||||
[API Spec](https://developer.sailpoint.com/docs/api/v2025/delete-sod-policy)
|
||||
|
||||
### Path Parameters
|
||||
|
||||
@@ -217,7 +217,7 @@ import (
|
||||
"context"
|
||||
"fmt"
|
||||
"os"
|
||||
""
|
||||
v2025 "github.com/sailpoint-oss/golang-sdk/v2/api_v2025"
|
||||
openapiclient "github.com/sailpoint-oss/golang-sdk/v2"
|
||||
)
|
||||
|
||||
@@ -227,7 +227,7 @@ func main() {
|
||||
|
||||
configuration := NewDefaultConfiguration()
|
||||
apiClient := NewAPIClient(configuration)
|
||||
r, err := apiClient..SODPoliciesAPI.DeleteSodPolicy(context.Background(), id).Logical(logical).Execute()
|
||||
r, err := apiClient.V2025.SODPoliciesAPI.DeleteSodPolicy(context.Background(), id).Logical(logical).Execute()
|
||||
if err != nil {
|
||||
fmt.Fprintf(os.Stderr, "Error when calling `SODPoliciesAPI.DeleteSodPolicy``: %v\n", err)
|
||||
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
|
||||
@@ -241,7 +241,7 @@ func main() {
|
||||
Delete SOD policy schedule
|
||||
This deletes schedule for a specified SOD policy by ID.
|
||||
|
||||
[API Spec](https://developer.sailpoint.com/docs/api//delete-sod-policy-schedule)
|
||||
[API Spec](https://developer.sailpoint.com/docs/api/v2025/delete-sod-policy-schedule)
|
||||
|
||||
### Path Parameters
|
||||
|
||||
@@ -278,7 +278,7 @@ import (
|
||||
"context"
|
||||
"fmt"
|
||||
"os"
|
||||
""
|
||||
v2025 "github.com/sailpoint-oss/golang-sdk/v2/api_v2025"
|
||||
openapiclient "github.com/sailpoint-oss/golang-sdk/v2"
|
||||
)
|
||||
|
||||
@@ -287,7 +287,7 @@ func main() {
|
||||
|
||||
configuration := NewDefaultConfiguration()
|
||||
apiClient := NewAPIClient(configuration)
|
||||
r, err := apiClient..SODPoliciesAPI.DeleteSodPolicySchedule(context.Background(), id).Execute()
|
||||
r, err := apiClient.V2025.SODPoliciesAPI.DeleteSodPolicySchedule(context.Background(), id).Execute()
|
||||
if err != nil {
|
||||
fmt.Fprintf(os.Stderr, "Error when calling `SODPoliciesAPI.DeleteSodPolicySchedule``: %v\n", err)
|
||||
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
|
||||
@@ -301,7 +301,7 @@ func main() {
|
||||
Download custom violation report
|
||||
This allows to download a specified named violation report for a given report reference.
|
||||
|
||||
[API Spec](https://developer.sailpoint.com/docs/api//get-custom-violation-report)
|
||||
[API Spec](https://developer.sailpoint.com/docs/api/v2025/get-custom-violation-report)
|
||||
|
||||
### Path Parameters
|
||||
|
||||
@@ -340,7 +340,7 @@ import (
|
||||
"context"
|
||||
"fmt"
|
||||
"os"
|
||||
""
|
||||
v2025 "github.com/sailpoint-oss/golang-sdk/v2/api_v2025"
|
||||
openapiclient "github.com/sailpoint-oss/golang-sdk/v2"
|
||||
)
|
||||
|
||||
@@ -350,7 +350,7 @@ func main() {
|
||||
|
||||
configuration := NewDefaultConfiguration()
|
||||
apiClient := NewAPIClient(configuration)
|
||||
resp, r, err := apiClient..SODPoliciesAPI.GetCustomViolationReport(context.Background(), reportResultId, fileName).Execute()
|
||||
resp, r, err := apiClient.V2025.SODPoliciesAPI.GetCustomViolationReport(context.Background(), reportResultId, fileName).Execute()
|
||||
if err != nil {
|
||||
fmt.Fprintf(os.Stderr, "Error when calling `SODPoliciesAPI.GetCustomViolationReport``: %v\n", err)
|
||||
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
|
||||
@@ -366,7 +366,7 @@ func main() {
|
||||
Download violation report
|
||||
This allows to download a violation report for a given report reference.
|
||||
|
||||
[API Spec](https://developer.sailpoint.com/docs/api//get-default-violation-report)
|
||||
[API Spec](https://developer.sailpoint.com/docs/api/v2025/get-default-violation-report)
|
||||
|
||||
### Path Parameters
|
||||
|
||||
@@ -403,7 +403,7 @@ import (
|
||||
"context"
|
||||
"fmt"
|
||||
"os"
|
||||
""
|
||||
v2025 "github.com/sailpoint-oss/golang-sdk/v2/api_v2025"
|
||||
openapiclient "github.com/sailpoint-oss/golang-sdk/v2"
|
||||
)
|
||||
|
||||
@@ -412,7 +412,7 @@ func main() {
|
||||
|
||||
configuration := NewDefaultConfiguration()
|
||||
apiClient := NewAPIClient(configuration)
|
||||
resp, r, err := apiClient..SODPoliciesAPI.GetDefaultViolationReport(context.Background(), reportResultId).Execute()
|
||||
resp, r, err := apiClient.V2025.SODPoliciesAPI.GetDefaultViolationReport(context.Background(), reportResultId).Execute()
|
||||
if err != nil {
|
||||
fmt.Fprintf(os.Stderr, "Error when calling `SODPoliciesAPI.GetDefaultViolationReport``: %v\n", err)
|
||||
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
|
||||
@@ -428,7 +428,7 @@ func main() {
|
||||
Get multi-report run task status
|
||||
This endpoint gets the status for a violation report for all policy run.
|
||||
|
||||
[API Spec](https://developer.sailpoint.com/docs/api//get-sod-all-report-run-status)
|
||||
[API Spec](https://developer.sailpoint.com/docs/api/v2025/get-sod-all-report-run-status)
|
||||
|
||||
### Path Parameters
|
||||
|
||||
@@ -457,7 +457,7 @@ import (
|
||||
"context"
|
||||
"fmt"
|
||||
"os"
|
||||
""
|
||||
v2025 "github.com/sailpoint-oss/golang-sdk/v2/api_v2025"
|
||||
openapiclient "github.com/sailpoint-oss/golang-sdk/v2"
|
||||
)
|
||||
|
||||
@@ -465,7 +465,7 @@ func main() {
|
||||
|
||||
configuration := NewDefaultConfiguration()
|
||||
apiClient := NewAPIClient(configuration)
|
||||
resp, r, err := apiClient..SODPoliciesAPI.GetSodAllReportRunStatus(context.Background()).Execute()
|
||||
resp, r, err := apiClient.V2025.SODPoliciesAPI.GetSodAllReportRunStatus(context.Background()).Execute()
|
||||
if err != nil {
|
||||
fmt.Fprintf(os.Stderr, "Error when calling `SODPoliciesAPI.GetSodAllReportRunStatus``: %v\n", err)
|
||||
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
|
||||
@@ -482,7 +482,7 @@ Get SOD policy by ID
|
||||
This gets specified SOD policy.
|
||||
Requires role of ORG_ADMIN.
|
||||
|
||||
[API Spec](https://developer.sailpoint.com/docs/api//get-sod-policy)
|
||||
[API Spec](https://developer.sailpoint.com/docs/api/v2025/get-sod-policy)
|
||||
|
||||
### Path Parameters
|
||||
|
||||
@@ -519,7 +519,7 @@ import (
|
||||
"context"
|
||||
"fmt"
|
||||
"os"
|
||||
""
|
||||
v2025 "github.com/sailpoint-oss/golang-sdk/v2/api_v2025"
|
||||
openapiclient "github.com/sailpoint-oss/golang-sdk/v2"
|
||||
)
|
||||
|
||||
@@ -528,7 +528,7 @@ func main() {
|
||||
|
||||
configuration := NewDefaultConfiguration()
|
||||
apiClient := NewAPIClient(configuration)
|
||||
resp, r, err := apiClient..SODPoliciesAPI.GetSodPolicy(context.Background(), id).Execute()
|
||||
resp, r, err := apiClient.V2025.SODPoliciesAPI.GetSodPolicy(context.Background(), id).Execute()
|
||||
if err != nil {
|
||||
fmt.Fprintf(os.Stderr, "Error when calling `SODPoliciesAPI.GetSodPolicy``: %v\n", err)
|
||||
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
|
||||
@@ -544,7 +544,7 @@ func main() {
|
||||
Get SOD policy schedule
|
||||
This endpoint gets a specified SOD policy's schedule.
|
||||
|
||||
[API Spec](https://developer.sailpoint.com/docs/api//get-sod-policy-schedule)
|
||||
[API Spec](https://developer.sailpoint.com/docs/api/v2025/get-sod-policy-schedule)
|
||||
|
||||
### Path Parameters
|
||||
|
||||
@@ -581,7 +581,7 @@ import (
|
||||
"context"
|
||||
"fmt"
|
||||
"os"
|
||||
""
|
||||
v2025 "github.com/sailpoint-oss/golang-sdk/v2/api_v2025"
|
||||
openapiclient "github.com/sailpoint-oss/golang-sdk/v2"
|
||||
)
|
||||
|
||||
@@ -590,7 +590,7 @@ func main() {
|
||||
|
||||
configuration := NewDefaultConfiguration()
|
||||
apiClient := NewAPIClient(configuration)
|
||||
resp, r, err := apiClient..SODPoliciesAPI.GetSodPolicySchedule(context.Background(), id).Execute()
|
||||
resp, r, err := apiClient.V2025.SODPoliciesAPI.GetSodPolicySchedule(context.Background(), id).Execute()
|
||||
if err != nil {
|
||||
fmt.Fprintf(os.Stderr, "Error when calling `SODPoliciesAPI.GetSodPolicySchedule``: %v\n", err)
|
||||
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
|
||||
@@ -606,7 +606,7 @@ func main() {
|
||||
Get violation report run status
|
||||
This gets the status for a violation report run task that has already been invoked.
|
||||
|
||||
[API Spec](https://developer.sailpoint.com/docs/api//get-sod-violation-report-run-status)
|
||||
[API Spec](https://developer.sailpoint.com/docs/api/v2025/get-sod-violation-report-run-status)
|
||||
|
||||
### Path Parameters
|
||||
|
||||
@@ -643,7 +643,7 @@ import (
|
||||
"context"
|
||||
"fmt"
|
||||
"os"
|
||||
""
|
||||
v2025 "github.com/sailpoint-oss/golang-sdk/v2/api_v2025"
|
||||
openapiclient "github.com/sailpoint-oss/golang-sdk/v2"
|
||||
)
|
||||
|
||||
@@ -652,7 +652,7 @@ func main() {
|
||||
|
||||
configuration := NewDefaultConfiguration()
|
||||
apiClient := NewAPIClient(configuration)
|
||||
resp, r, err := apiClient..SODPoliciesAPI.GetSodViolationReportRunStatus(context.Background(), reportResultId).Execute()
|
||||
resp, r, err := apiClient.V2025.SODPoliciesAPI.GetSodViolationReportRunStatus(context.Background(), reportResultId).Execute()
|
||||
if err != nil {
|
||||
fmt.Fprintf(os.Stderr, "Error when calling `SODPoliciesAPI.GetSodViolationReportRunStatus``: %v\n", err)
|
||||
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
|
||||
@@ -668,7 +668,7 @@ func main() {
|
||||
Get SOD violation report status
|
||||
This gets the status for a violation report run task that has already been invoked.
|
||||
|
||||
[API Spec](https://developer.sailpoint.com/docs/api//get-sod-violation-report-status)
|
||||
[API Spec](https://developer.sailpoint.com/docs/api/v2025/get-sod-violation-report-status)
|
||||
|
||||
### Path Parameters
|
||||
|
||||
@@ -705,7 +705,7 @@ import (
|
||||
"context"
|
||||
"fmt"
|
||||
"os"
|
||||
""
|
||||
v2025 "github.com/sailpoint-oss/golang-sdk/v2/api_v2025"
|
||||
openapiclient "github.com/sailpoint-oss/golang-sdk/v2"
|
||||
)
|
||||
|
||||
@@ -714,7 +714,7 @@ func main() {
|
||||
|
||||
configuration := NewDefaultConfiguration()
|
||||
apiClient := NewAPIClient(configuration)
|
||||
resp, r, err := apiClient..SODPoliciesAPI.GetSodViolationReportStatus(context.Background(), id).Execute()
|
||||
resp, r, err := apiClient.V2025.SODPoliciesAPI.GetSodViolationReportStatus(context.Background(), id).Execute()
|
||||
if err != nil {
|
||||
fmt.Fprintf(os.Stderr, "Error when calling `SODPoliciesAPI.GetSodViolationReportStatus``: %v\n", err)
|
||||
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
|
||||
@@ -731,7 +731,7 @@ List SOD policies
|
||||
This gets list of all SOD policies.
|
||||
Requires role of ORG_ADMIN
|
||||
|
||||
[API Spec](https://developer.sailpoint.com/docs/api//list-sod-policies)
|
||||
[API Spec](https://developer.sailpoint.com/docs/api/v2025/list-sod-policies)
|
||||
|
||||
### Path Parameters
|
||||
|
||||
@@ -768,7 +768,7 @@ import (
|
||||
"context"
|
||||
"fmt"
|
||||
"os"
|
||||
""
|
||||
v2025 "github.com/sailpoint-oss/golang-sdk/v2/api_v2025"
|
||||
openapiclient "github.com/sailpoint-oss/golang-sdk/v2"
|
||||
)
|
||||
|
||||
@@ -781,7 +781,7 @@ func main() {
|
||||
|
||||
configuration := NewDefaultConfiguration()
|
||||
apiClient := NewAPIClient(configuration)
|
||||
resp, r, err := apiClient..SODPoliciesAPI.ListSodPolicies(context.Background()).Limit(limit).Offset(offset).Count(count).Filters(filters).Sorters(sorters).Execute()
|
||||
resp, r, err := apiClient.V2025.SODPoliciesAPI.ListSodPolicies(context.Background()).Limit(limit).Offset(offset).Count(count).Filters(filters).Sorters(sorters).Execute()
|
||||
if err != nil {
|
||||
fmt.Fprintf(os.Stderr, "Error when calling `SODPoliciesAPI.ListSodPolicies``: %v\n", err)
|
||||
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
|
||||
@@ -799,7 +799,7 @@ Allows updating SOD Policy fields other than ["id","created","creatorId","policy
|
||||
Requires role of ORG_ADMIN.
|
||||
This endpoint can only patch CONFLICTING_ACCESS_BASED type policies. Do not use this endpoint to patch general policies - doing so will build an API exception.
|
||||
|
||||
[API Spec](https://developer.sailpoint.com/docs/api//patch-sod-policy)
|
||||
[API Spec](https://developer.sailpoint.com/docs/api/v2025/patch-sod-policy)
|
||||
|
||||
### Path Parameters
|
||||
|
||||
@@ -837,7 +837,7 @@ import (
|
||||
"context"
|
||||
"fmt"
|
||||
"os"
|
||||
""
|
||||
v2025 "github.com/sailpoint-oss/golang-sdk/v2/api_v2025"
|
||||
openapiclient "github.com/sailpoint-oss/golang-sdk/v2"
|
||||
)
|
||||
|
||||
@@ -847,7 +847,7 @@ func main() {
|
||||
|
||||
configuration := NewDefaultConfiguration()
|
||||
apiClient := NewAPIClient(configuration)
|
||||
resp, r, err := apiClient..SODPoliciesAPI.PatchSodPolicy(context.Background(), id).JsonPatchOperation(jsonPatchOperation).Execute()
|
||||
resp, r, err := apiClient.V2025.SODPoliciesAPI.PatchSodPolicy(context.Background(), id).JsonPatchOperation(jsonPatchOperation).Execute()
|
||||
if err != nil {
|
||||
fmt.Fprintf(os.Stderr, "Error when calling `SODPoliciesAPI.PatchSodPolicy``: %v\n", err)
|
||||
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
|
||||
@@ -863,7 +863,7 @@ func main() {
|
||||
Update SOD Policy schedule
|
||||
This updates schedule for a specified SOD policy.
|
||||
|
||||
[API Spec](https://developer.sailpoint.com/docs/api//put-policy-schedule)
|
||||
[API Spec](https://developer.sailpoint.com/docs/api/v2025/put-policy-schedule)
|
||||
|
||||
### Path Parameters
|
||||
|
||||
@@ -901,7 +901,7 @@ import (
|
||||
"context"
|
||||
"fmt"
|
||||
"os"
|
||||
""
|
||||
v2025 "github.com/sailpoint-oss/golang-sdk/v2/api_v2025"
|
||||
openapiclient "github.com/sailpoint-oss/golang-sdk/v2"
|
||||
)
|
||||
|
||||
@@ -996,7 +996,7 @@ func main() {
|
||||
|
||||
configuration := NewDefaultConfiguration()
|
||||
apiClient := NewAPIClient(configuration)
|
||||
resp, r, err := apiClient..SODPoliciesAPI.PutPolicySchedule(context.Background(), id).SodPolicySchedule(sodPolicySchedule).Execute()
|
||||
resp, r, err := apiClient.V2025.SODPoliciesAPI.PutPolicySchedule(context.Background(), id).SodPolicySchedule(sodPolicySchedule).Execute()
|
||||
if err != nil {
|
||||
fmt.Fprintf(os.Stderr, "Error when calling `SODPoliciesAPI.PutPolicySchedule``: %v\n", err)
|
||||
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
|
||||
@@ -1013,7 +1013,7 @@ Update SOD policy by ID
|
||||
This updates a specified SOD policy.
|
||||
Requires role of ORG_ADMIN.
|
||||
|
||||
[API Spec](https://developer.sailpoint.com/docs/api//put-sod-policy)
|
||||
[API Spec](https://developer.sailpoint.com/docs/api/v2025/put-sod-policy)
|
||||
|
||||
### Path Parameters
|
||||
|
||||
@@ -1051,7 +1051,7 @@ import (
|
||||
"context"
|
||||
"fmt"
|
||||
"os"
|
||||
""
|
||||
v2025 "github.com/sailpoint-oss/golang-sdk/v2/api_v2025"
|
||||
openapiclient "github.com/sailpoint-oss/golang-sdk/v2"
|
||||
)
|
||||
|
||||
@@ -1116,7 +1116,7 @@ func main() {
|
||||
|
||||
configuration := NewDefaultConfiguration()
|
||||
apiClient := NewAPIClient(configuration)
|
||||
resp, r, err := apiClient..SODPoliciesAPI.PutSodPolicy(context.Background(), id).SodPolicy(sodPolicy).Execute()
|
||||
resp, r, err := apiClient.V2025.SODPoliciesAPI.PutSodPolicy(context.Background(), id).SodPolicy(sodPolicy).Execute()
|
||||
if err != nil {
|
||||
fmt.Fprintf(os.Stderr, "Error when calling `SODPoliciesAPI.PutSodPolicy``: %v\n", err)
|
||||
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
|
||||
@@ -1132,7 +1132,7 @@ func main() {
|
||||
Evaluate one policy by ID
|
||||
Runs the scheduled report for the policy retrieved by passed policy ID. The report schedule is fetched from the policy retrieved by ID.
|
||||
|
||||
[API Spec](https://developer.sailpoint.com/docs/api//start-evaluate-sod-policy)
|
||||
[API Spec](https://developer.sailpoint.com/docs/api/v2025/start-evaluate-sod-policy)
|
||||
|
||||
### Path Parameters
|
||||
|
||||
@@ -1169,7 +1169,7 @@ import (
|
||||
"context"
|
||||
"fmt"
|
||||
"os"
|
||||
""
|
||||
v2025 "github.com/sailpoint-oss/golang-sdk/v2/api_v2025"
|
||||
openapiclient "github.com/sailpoint-oss/golang-sdk/v2"
|
||||
)
|
||||
|
||||
@@ -1178,7 +1178,7 @@ func main() {
|
||||
|
||||
configuration := NewDefaultConfiguration()
|
||||
apiClient := NewAPIClient(configuration)
|
||||
resp, r, err := apiClient..SODPoliciesAPI.StartEvaluateSodPolicy(context.Background(), id).Execute()
|
||||
resp, r, err := apiClient.V2025.SODPoliciesAPI.StartEvaluateSodPolicy(context.Background(), id).Execute()
|
||||
if err != nil {
|
||||
fmt.Fprintf(os.Stderr, "Error when calling `SODPoliciesAPI.StartEvaluateSodPolicy``: %v\n", err)
|
||||
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
|
||||
@@ -1194,7 +1194,7 @@ func main() {
|
||||
Runs all policies for org
|
||||
Runs multi-policy report for the org. If a policy reports more than 5000 violations, the report mentions that the violation limit was exceeded for that policy. If the request is empty, the report runs for all policies. Otherwise, the report runs for only the filtered policy list provided.
|
||||
|
||||
[API Spec](https://developer.sailpoint.com/docs/api//start-sod-all-policies-for-org)
|
||||
[API Spec](https://developer.sailpoint.com/docs/api/v2025/start-sod-all-policies-for-org)
|
||||
|
||||
### Path Parameters
|
||||
|
||||
@@ -1227,7 +1227,7 @@ import (
|
||||
"context"
|
||||
"fmt"
|
||||
"os"
|
||||
""
|
||||
v2025 "github.com/sailpoint-oss/golang-sdk/v2/api_v2025"
|
||||
openapiclient "github.com/sailpoint-oss/golang-sdk/v2"
|
||||
)
|
||||
|
||||
@@ -1238,7 +1238,7 @@ func main() {
|
||||
|
||||
configuration := NewDefaultConfiguration()
|
||||
apiClient := NewAPIClient(configuration)
|
||||
resp, r, err := apiClient..SODPoliciesAPI.StartSodAllPoliciesForOrg(context.Background()).MultiPolicyRequest(multiPolicyRequest).Execute()
|
||||
resp, r, err := apiClient.V2025.SODPoliciesAPI.StartSodAllPoliciesForOrg(context.Background()).MultiPolicyRequest(multiPolicyRequest).Execute()
|
||||
if err != nil {
|
||||
fmt.Fprintf(os.Stderr, "Error when calling `SODPoliciesAPI.StartSodAllPoliciesForOrg``: %v\n", err)
|
||||
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
|
||||
@@ -1254,7 +1254,7 @@ func main() {
|
||||
Runs SOD policy violation report
|
||||
This invokes processing of violation report for given SOD policy. If the policy reports more than 5000 violations, the report returns with violation limit exceeded message.
|
||||
|
||||
[API Spec](https://developer.sailpoint.com/docs/api//start-sod-policy)
|
||||
[API Spec](https://developer.sailpoint.com/docs/api/v2025/start-sod-policy)
|
||||
|
||||
### Path Parameters
|
||||
|
||||
@@ -1291,7 +1291,7 @@ import (
|
||||
"context"
|
||||
"fmt"
|
||||
"os"
|
||||
""
|
||||
v2025 "github.com/sailpoint-oss/golang-sdk/v2/api_v2025"
|
||||
openapiclient "github.com/sailpoint-oss/golang-sdk/v2"
|
||||
)
|
||||
|
||||
@@ -1300,7 +1300,7 @@ func main() {
|
||||
|
||||
configuration := NewDefaultConfiguration()
|
||||
apiClient := NewAPIClient(configuration)
|
||||
resp, r, err := apiClient..SODPoliciesAPI.StartSodPolicy(context.Background(), id).Execute()
|
||||
resp, r, err := apiClient.V2025.SODPoliciesAPI.StartSodPolicy(context.Background(), id).Execute()
|
||||
if err != nil {
|
||||
fmt.Fprintf(os.Stderr, "Error when calling `SODPoliciesAPI.StartSodPolicy``: %v\n", err)
|
||||
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
|
||||
|
||||
@@ -1,12 +1,12 @@
|
||||
---
|
||||
id: sod-violations
|
||||
id: v2025-sod-violations
|
||||
title: SODViolations
|
||||
pagination_label: SODViolations
|
||||
sidebar_label: SODViolations
|
||||
sidebar_class_name: gosdk
|
||||
keywords: ['go', 'Golang', 'sdk', 'SODViolations', 'SODViolations']
|
||||
slug: /tools/sdk/go//methods/sod-violations
|
||||
tags: ['SDK', 'Software Development Kit', 'SODViolations', 'SODViolations']
|
||||
keywords: ['go', 'Golang', 'sdk', 'SODViolations', 'V2025SODViolations']
|
||||
slug: /tools/sdk/go/v2025/methods/sod-violations
|
||||
tags: ['SDK', 'Software Development Kit', 'SODViolations', 'V2025SODViolations']
|
||||
---
|
||||
|
||||
# SODViolationsAPI
|
||||
@@ -41,7 +41,7 @@ Method | HTTP request | Description
|
||||
Predict SOD violations for identity.
|
||||
This API is used to check if granting some additional accesses would cause the subject to be in violation of any SOD policies. Returns the violations that would be caused.
|
||||
|
||||
[API Spec](https://developer.sailpoint.com/docs/api//start-predict-sod-violations)
|
||||
[API Spec](https://developer.sailpoint.com/docs/api/v2025/start-predict-sod-violations)
|
||||
|
||||
### Path Parameters
|
||||
|
||||
@@ -74,7 +74,7 @@ import (
|
||||
"context"
|
||||
"fmt"
|
||||
"os"
|
||||
""
|
||||
v2025 "github.com/sailpoint-oss/golang-sdk/v2/api_v2025"
|
||||
openapiclient "github.com/sailpoint-oss/golang-sdk/v2"
|
||||
)
|
||||
|
||||
@@ -94,7 +94,7 @@ func main() {
|
||||
|
||||
configuration := NewDefaultConfiguration()
|
||||
apiClient := NewAPIClient(configuration)
|
||||
resp, r, err := apiClient..SODViolationsAPI.StartPredictSodViolations(context.Background()).IdentityWithNewAccess(identityWithNewAccess).Execute()
|
||||
resp, r, err := apiClient.V2025.SODViolationsAPI.StartPredictSodViolations(context.Background()).IdentityWithNewAccess(identityWithNewAccess).Execute()
|
||||
if err != nil {
|
||||
fmt.Fprintf(os.Stderr, "Error when calling `SODViolationsAPI.StartPredictSodViolations``: %v\n", err)
|
||||
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
|
||||
@@ -110,7 +110,7 @@ func main() {
|
||||
Check SOD violations
|
||||
This API initiates a SOD policy verification asynchronously.
|
||||
|
||||
[API Spec](https://developer.sailpoint.com/docs/api//start-violation-check)
|
||||
[API Spec](https://developer.sailpoint.com/docs/api/v2025/start-violation-check)
|
||||
|
||||
### Path Parameters
|
||||
|
||||
@@ -143,7 +143,7 @@ import (
|
||||
"context"
|
||||
"fmt"
|
||||
"os"
|
||||
""
|
||||
v2025 "github.com/sailpoint-oss/golang-sdk/v2/api_v2025"
|
||||
openapiclient "github.com/sailpoint-oss/golang-sdk/v2"
|
||||
)
|
||||
|
||||
@@ -152,7 +152,7 @@ func main() {
|
||||
|
||||
configuration := NewDefaultConfiguration()
|
||||
apiClient := NewAPIClient(configuration)
|
||||
resp, r, err := apiClient..SODViolationsAPI.StartViolationCheck(context.Background()).IdentityWithNewAccess1(identityWithNewAccess1).Execute()
|
||||
resp, r, err := apiClient.V2025.SODViolationsAPI.StartViolationCheck(context.Background()).IdentityWithNewAccess1(identityWithNewAccess1).Execute()
|
||||
if err != nil {
|
||||
fmt.Fprintf(os.Stderr, "Error when calling `SODViolationsAPI.StartViolationCheck``: %v\n", err)
|
||||
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
|
||||
|
||||
@@ -1,12 +1,12 @@
|
||||
---
|
||||
id: sp-config
|
||||
id: v2025-sp-config
|
||||
title: SPConfig
|
||||
pagination_label: SPConfig
|
||||
sidebar_label: SPConfig
|
||||
sidebar_class_name: gosdk
|
||||
keywords: ['go', 'Golang', 'sdk', 'SPConfig', 'SPConfig']
|
||||
slug: /tools/sdk/go//methods/sp-config
|
||||
tags: ['SDK', 'Software Development Kit', 'SPConfig', 'SPConfig']
|
||||
keywords: ['go', 'Golang', 'sdk', 'SPConfig', 'V2025SPConfig']
|
||||
slug: /tools/sdk/go/v2025/methods/sp-config
|
||||
tags: ['SDK', 'Software Development Kit', 'SPConfig', 'V2025SPConfig']
|
||||
---
|
||||
|
||||
# SPConfigAPI
|
||||
@@ -29,7 +29,7 @@ Initiates configuration objects export job
|
||||
This post will export objects from the tenant to a JSON configuration file.
|
||||
For more information about the object types that currently support export functionality, refer to [SaaS Configuration](https://developer.sailpoint.com/idn/docs/saas-configuration/#supported-objects).
|
||||
|
||||
[API Spec](https://developer.sailpoint.com/docs/api//export-sp-config)
|
||||
[API Spec](https://developer.sailpoint.com/docs/api/v2025/export-sp-config)
|
||||
|
||||
### Path Parameters
|
||||
|
||||
@@ -62,7 +62,7 @@ import (
|
||||
"context"
|
||||
"fmt"
|
||||
"os"
|
||||
""
|
||||
v2025 "github.com/sailpoint-oss/golang-sdk/v2/api_v2025"
|
||||
openapiclient "github.com/sailpoint-oss/golang-sdk/v2"
|
||||
)
|
||||
|
||||
@@ -73,7 +73,7 @@ func main() {
|
||||
|
||||
configuration := NewDefaultConfiguration()
|
||||
apiClient := NewAPIClient(configuration)
|
||||
resp, r, err := apiClient..SPConfigAPI.ExportSpConfig(context.Background()).ExportPayload(exportPayload).Execute()
|
||||
resp, r, err := apiClient.V2025.SPConfigAPI.ExportSpConfig(context.Background()).ExportPayload(exportPayload).Execute()
|
||||
if err != nil {
|
||||
fmt.Fprintf(os.Stderr, "Error when calling `SPConfigAPI.ExportSpConfig``: %v\n", err)
|
||||
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
|
||||
@@ -91,7 +91,7 @@ This endpoint gets the export file resulting from the export job with the reques
|
||||
The request will need one of the following security scopes:
|
||||
- sp:config:read - sp:config:manage
|
||||
|
||||
[API Spec](https://developer.sailpoint.com/docs/api//get-sp-config-export)
|
||||
[API Spec](https://developer.sailpoint.com/docs/api/v2025/get-sp-config-export)
|
||||
|
||||
### Path Parameters
|
||||
|
||||
@@ -128,7 +128,7 @@ import (
|
||||
"context"
|
||||
"fmt"
|
||||
"os"
|
||||
""
|
||||
v2025 "github.com/sailpoint-oss/golang-sdk/v2/api_v2025"
|
||||
openapiclient "github.com/sailpoint-oss/golang-sdk/v2"
|
||||
)
|
||||
|
||||
@@ -137,7 +137,7 @@ func main() {
|
||||
|
||||
configuration := NewDefaultConfiguration()
|
||||
apiClient := NewAPIClient(configuration)
|
||||
resp, r, err := apiClient..SPConfigAPI.GetSpConfigExport(context.Background(), id).Execute()
|
||||
resp, r, err := apiClient.V2025.SPConfigAPI.GetSpConfigExport(context.Background(), id).Execute()
|
||||
if err != nil {
|
||||
fmt.Fprintf(os.Stderr, "Error when calling `SPConfigAPI.GetSpConfigExport``: %v\n", err)
|
||||
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
|
||||
@@ -155,7 +155,7 @@ This gets the status of the export job identified by the `id` parameter.
|
||||
The request will need one of the following security scopes:
|
||||
- sp:config:read - sp:config:manage
|
||||
|
||||
[API Spec](https://developer.sailpoint.com/docs/api//get-sp-config-export-status)
|
||||
[API Spec](https://developer.sailpoint.com/docs/api/v2025/get-sp-config-export-status)
|
||||
|
||||
### Path Parameters
|
||||
|
||||
@@ -192,7 +192,7 @@ import (
|
||||
"context"
|
||||
"fmt"
|
||||
"os"
|
||||
""
|
||||
v2025 "github.com/sailpoint-oss/golang-sdk/v2/api_v2025"
|
||||
openapiclient "github.com/sailpoint-oss/golang-sdk/v2"
|
||||
)
|
||||
|
||||
@@ -201,7 +201,7 @@ func main() {
|
||||
|
||||
configuration := NewDefaultConfiguration()
|
||||
apiClient := NewAPIClient(configuration)
|
||||
resp, r, err := apiClient..SPConfigAPI.GetSpConfigExportStatus(context.Background(), id).Execute()
|
||||
resp, r, err := apiClient.V2025.SPConfigAPI.GetSpConfigExportStatus(context.Background(), id).Execute()
|
||||
if err != nil {
|
||||
fmt.Fprintf(os.Stderr, "Error when calling `SPConfigAPI.GetSpConfigExportStatus``: %v\n", err)
|
||||
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
|
||||
@@ -219,7 +219,7 @@ This gets import file resulting from the import job with the requested id and do
|
||||
The request will need the following security scope:
|
||||
- sp:config:manage
|
||||
|
||||
[API Spec](https://developer.sailpoint.com/docs/api//get-sp-config-import)
|
||||
[API Spec](https://developer.sailpoint.com/docs/api/v2025/get-sp-config-import)
|
||||
|
||||
### Path Parameters
|
||||
|
||||
@@ -256,7 +256,7 @@ import (
|
||||
"context"
|
||||
"fmt"
|
||||
"os"
|
||||
""
|
||||
v2025 "github.com/sailpoint-oss/golang-sdk/v2/api_v2025"
|
||||
openapiclient "github.com/sailpoint-oss/golang-sdk/v2"
|
||||
)
|
||||
|
||||
@@ -265,7 +265,7 @@ func main() {
|
||||
|
||||
configuration := NewDefaultConfiguration()
|
||||
apiClient := NewAPIClient(configuration)
|
||||
resp, r, err := apiClient..SPConfigAPI.GetSpConfigImport(context.Background(), id).Execute()
|
||||
resp, r, err := apiClient.V2025.SPConfigAPI.GetSpConfigImport(context.Background(), id).Execute()
|
||||
if err != nil {
|
||||
fmt.Fprintf(os.Stderr, "Error when calling `SPConfigAPI.GetSpConfigImport``: %v\n", err)
|
||||
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
|
||||
@@ -285,7 +285,7 @@ Get import job status
|
||||
refer to [SaaS Configuration](https://developer.sailpoint.com/idn/docs/saas-configuration/#supported-objects).'
|
||||
|
||||
|
||||
[API Spec](https://developer.sailpoint.com/docs/api//get-sp-config-import-status)
|
||||
[API Spec](https://developer.sailpoint.com/docs/api/v2025/get-sp-config-import-status)
|
||||
|
||||
### Path Parameters
|
||||
|
||||
@@ -322,7 +322,7 @@ import (
|
||||
"context"
|
||||
"fmt"
|
||||
"os"
|
||||
""
|
||||
v2025 "github.com/sailpoint-oss/golang-sdk/v2/api_v2025"
|
||||
openapiclient "github.com/sailpoint-oss/golang-sdk/v2"
|
||||
)
|
||||
|
||||
@@ -331,7 +331,7 @@ func main() {
|
||||
|
||||
configuration := NewDefaultConfiguration()
|
||||
apiClient := NewAPIClient(configuration)
|
||||
resp, r, err := apiClient..SPConfigAPI.GetSpConfigImportStatus(context.Background(), id).Execute()
|
||||
resp, r, err := apiClient.V2025.SPConfigAPI.GetSpConfigImportStatus(context.Background(), id).Execute()
|
||||
if err != nil {
|
||||
fmt.Fprintf(os.Stderr, "Error when calling `SPConfigAPI.GetSpConfigImportStatus``: %v\n", err)
|
||||
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
|
||||
@@ -357,7 +357,7 @@ You cannot currently import from the Non-Employee Lifecycle Management (NELM) so
|
||||
For more information about the object types that currently support import functionality, refer to [SaaS Configuration](https://developer.sailpoint.com/idn/docs/saas-configuration/#supported-objects).
|
||||
|
||||
|
||||
[API Spec](https://developer.sailpoint.com/docs/api//import-sp-config)
|
||||
[API Spec](https://developer.sailpoint.com/docs/api/v2025/import-sp-config)
|
||||
|
||||
### Path Parameters
|
||||
|
||||
@@ -392,7 +392,7 @@ import (
|
||||
"context"
|
||||
"fmt"
|
||||
"os"
|
||||
""
|
||||
v2025 "github.com/sailpoint-oss/golang-sdk/v2/api_v2025"
|
||||
openapiclient "github.com/sailpoint-oss/golang-sdk/v2"
|
||||
)
|
||||
|
||||
@@ -403,7 +403,7 @@ func main() {
|
||||
|
||||
configuration := NewDefaultConfiguration()
|
||||
apiClient := NewAPIClient(configuration)
|
||||
resp, r, err := apiClient..SPConfigAPI.ImportSpConfig(context.Background()).Data(data).Preview(preview).Options(options).Execute()
|
||||
resp, r, err := apiClient.V2025.SPConfigAPI.ImportSpConfig(context.Background()).Data(data).Preview(preview).Options(options).Execute()
|
||||
if err != nil {
|
||||
fmt.Fprintf(os.Stderr, "Error when calling `SPConfigAPI.ImportSpConfig``: %v\n", err)
|
||||
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
|
||||
@@ -419,7 +419,7 @@ func main() {
|
||||
List Config Objects
|
||||
Get a list of object configurations that the tenant export/import service knows.
|
||||
|
||||
[API Spec](https://developer.sailpoint.com/docs/api//list-sp-config-objects)
|
||||
[API Spec](https://developer.sailpoint.com/docs/api/v2025/list-sp-config-objects)
|
||||
|
||||
### Path Parameters
|
||||
|
||||
@@ -448,7 +448,7 @@ import (
|
||||
"context"
|
||||
"fmt"
|
||||
"os"
|
||||
""
|
||||
v2025 "github.com/sailpoint-oss/golang-sdk/v2/api_v2025"
|
||||
openapiclient "github.com/sailpoint-oss/golang-sdk/v2"
|
||||
)
|
||||
|
||||
@@ -456,7 +456,7 @@ func main() {
|
||||
|
||||
configuration := NewDefaultConfiguration()
|
||||
apiClient := NewAPIClient(configuration)
|
||||
resp, r, err := apiClient..SPConfigAPI.ListSpConfigObjects(context.Background()).Execute()
|
||||
resp, r, err := apiClient.V2025.SPConfigAPI.ListSpConfigObjects(context.Background()).Execute()
|
||||
if err != nil {
|
||||
fmt.Fprintf(os.Stderr, "Error when calling `SPConfigAPI.ListSpConfigObjects``: %v\n", err)
|
||||
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
|
||||
|
||||
@@ -1,12 +1,12 @@
|
||||
---
|
||||
id: saved-search
|
||||
id: v2025-saved-search
|
||||
title: SavedSearch
|
||||
pagination_label: SavedSearch
|
||||
sidebar_label: SavedSearch
|
||||
sidebar_class_name: gosdk
|
||||
keywords: ['go', 'Golang', 'sdk', 'SavedSearch', 'SavedSearch']
|
||||
slug: /tools/sdk/go//methods/saved-search
|
||||
tags: ['SDK', 'Software Development Kit', 'SavedSearch', 'SavedSearch']
|
||||
keywords: ['go', 'Golang', 'sdk', 'SavedSearch', 'V2025SavedSearch']
|
||||
slug: /tools/sdk/go/v2025/methods/saved-search
|
||||
tags: ['SDK', 'Software Development Kit', 'SavedSearch', 'V2025SavedSearch']
|
||||
---
|
||||
|
||||
# SavedSearchAPI
|
||||
@@ -38,7 +38,7 @@ Create a saved search
|
||||
Creates a new saved search.
|
||||
|
||||
|
||||
[API Spec](https://developer.sailpoint.com/docs/api//create-saved-search)
|
||||
[API Spec](https://developer.sailpoint.com/docs/api/v2025/create-saved-search)
|
||||
|
||||
### Path Parameters
|
||||
|
||||
@@ -71,7 +71,7 @@ import (
|
||||
"context"
|
||||
"fmt"
|
||||
"os"
|
||||
""
|
||||
v2025 "github.com/sailpoint-oss/golang-sdk/v2/api_v2025"
|
||||
openapiclient "github.com/sailpoint-oss/golang-sdk/v2"
|
||||
)
|
||||
|
||||
@@ -80,7 +80,7 @@ func main() {
|
||||
|
||||
configuration := NewDefaultConfiguration()
|
||||
apiClient := NewAPIClient(configuration)
|
||||
resp, r, err := apiClient..SavedSearchAPI.CreateSavedSearch(context.Background()).CreateSavedSearchRequest(createSavedSearchRequest).Execute()
|
||||
resp, r, err := apiClient.V2025.SavedSearchAPI.CreateSavedSearch(context.Background()).CreateSavedSearchRequest(createSavedSearchRequest).Execute()
|
||||
if err != nil {
|
||||
fmt.Fprintf(os.Stderr, "Error when calling `SavedSearchAPI.CreateSavedSearch``: %v\n", err)
|
||||
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
|
||||
@@ -97,7 +97,7 @@ Delete document by ID
|
||||
Deletes the specified saved search.
|
||||
|
||||
|
||||
[API Spec](https://developer.sailpoint.com/docs/api//delete-saved-search)
|
||||
[API Spec](https://developer.sailpoint.com/docs/api/v2025/delete-saved-search)
|
||||
|
||||
### Path Parameters
|
||||
|
||||
@@ -134,7 +134,7 @@ import (
|
||||
"context"
|
||||
"fmt"
|
||||
"os"
|
||||
""
|
||||
v2025 "github.com/sailpoint-oss/golang-sdk/v2/api_v2025"
|
||||
openapiclient "github.com/sailpoint-oss/golang-sdk/v2"
|
||||
)
|
||||
|
||||
@@ -143,7 +143,7 @@ func main() {
|
||||
|
||||
configuration := NewDefaultConfiguration()
|
||||
apiClient := NewAPIClient(configuration)
|
||||
r, err := apiClient..SavedSearchAPI.DeleteSavedSearch(context.Background(), id).Execute()
|
||||
r, err := apiClient.V2025.SavedSearchAPI.DeleteSavedSearch(context.Background(), id).Execute()
|
||||
if err != nil {
|
||||
fmt.Fprintf(os.Stderr, "Error when calling `SavedSearchAPI.DeleteSavedSearch``: %v\n", err)
|
||||
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
|
||||
@@ -158,7 +158,7 @@ Execute a saved search by ID
|
||||
Executes the specified saved search.
|
||||
|
||||
|
||||
[API Spec](https://developer.sailpoint.com/docs/api//execute-saved-search)
|
||||
[API Spec](https://developer.sailpoint.com/docs/api/v2025/execute-saved-search)
|
||||
|
||||
### Path Parameters
|
||||
|
||||
@@ -196,7 +196,7 @@ import (
|
||||
"context"
|
||||
"fmt"
|
||||
"os"
|
||||
""
|
||||
v2025 "github.com/sailpoint-oss/golang-sdk/v2/api_v2025"
|
||||
openapiclient "github.com/sailpoint-oss/golang-sdk/v2"
|
||||
)
|
||||
|
||||
@@ -216,7 +216,7 @@ func main() {
|
||||
|
||||
configuration := NewDefaultConfiguration()
|
||||
apiClient := NewAPIClient(configuration)
|
||||
r, err := apiClient..SavedSearchAPI.ExecuteSavedSearch(context.Background(), id).SearchArguments(searchArguments).Execute()
|
||||
r, err := apiClient.V2025.SavedSearchAPI.ExecuteSavedSearch(context.Background(), id).SearchArguments(searchArguments).Execute()
|
||||
if err != nil {
|
||||
fmt.Fprintf(os.Stderr, "Error when calling `SavedSearchAPI.ExecuteSavedSearch``: %v\n", err)
|
||||
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
|
||||
@@ -231,7 +231,7 @@ Return saved search by ID
|
||||
Returns the specified saved search.
|
||||
|
||||
|
||||
[API Spec](https://developer.sailpoint.com/docs/api//get-saved-search)
|
||||
[API Spec](https://developer.sailpoint.com/docs/api/v2025/get-saved-search)
|
||||
|
||||
### Path Parameters
|
||||
|
||||
@@ -268,7 +268,7 @@ import (
|
||||
"context"
|
||||
"fmt"
|
||||
"os"
|
||||
""
|
||||
v2025 "github.com/sailpoint-oss/golang-sdk/v2/api_v2025"
|
||||
openapiclient "github.com/sailpoint-oss/golang-sdk/v2"
|
||||
)
|
||||
|
||||
@@ -277,7 +277,7 @@ func main() {
|
||||
|
||||
configuration := NewDefaultConfiguration()
|
||||
apiClient := NewAPIClient(configuration)
|
||||
resp, r, err := apiClient..SavedSearchAPI.GetSavedSearch(context.Background(), id).Execute()
|
||||
resp, r, err := apiClient.V2025.SavedSearchAPI.GetSavedSearch(context.Background(), id).Execute()
|
||||
if err != nil {
|
||||
fmt.Fprintf(os.Stderr, "Error when calling `SavedSearchAPI.GetSavedSearch``: %v\n", err)
|
||||
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
|
||||
@@ -294,7 +294,7 @@ A list of Saved Searches
|
||||
Returns a list of saved searches.
|
||||
|
||||
|
||||
[API Spec](https://developer.sailpoint.com/docs/api//list-saved-searches)
|
||||
[API Spec](https://developer.sailpoint.com/docs/api/v2025/list-saved-searches)
|
||||
|
||||
### Path Parameters
|
||||
|
||||
@@ -330,7 +330,7 @@ import (
|
||||
"context"
|
||||
"fmt"
|
||||
"os"
|
||||
""
|
||||
v2025 "github.com/sailpoint-oss/golang-sdk/v2/api_v2025"
|
||||
openapiclient "github.com/sailpoint-oss/golang-sdk/v2"
|
||||
)
|
||||
|
||||
@@ -342,7 +342,7 @@ func main() {
|
||||
|
||||
configuration := NewDefaultConfiguration()
|
||||
apiClient := NewAPIClient(configuration)
|
||||
resp, r, err := apiClient..SavedSearchAPI.ListSavedSearches(context.Background()).Offset(offset).Limit(limit).Count(count).Filters(filters).Execute()
|
||||
resp, r, err := apiClient.V2025.SavedSearchAPI.ListSavedSearches(context.Background()).Offset(offset).Limit(limit).Count(count).Filters(filters).Execute()
|
||||
if err != nil {
|
||||
fmt.Fprintf(os.Stderr, "Error when calling `SavedSearchAPI.ListSavedSearches``: %v\n", err)
|
||||
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
|
||||
@@ -361,7 +361,7 @@ Updates an existing saved search.
|
||||
>**NOTE: You cannot update the `owner` of the saved search.**
|
||||
|
||||
|
||||
[API Spec](https://developer.sailpoint.com/docs/api//put-saved-search)
|
||||
[API Spec](https://developer.sailpoint.com/docs/api/v2025/put-saved-search)
|
||||
|
||||
### Path Parameters
|
||||
|
||||
@@ -399,7 +399,7 @@ import (
|
||||
"context"
|
||||
"fmt"
|
||||
"os"
|
||||
""
|
||||
v2025 "github.com/sailpoint-oss/golang-sdk/v2/api_v2025"
|
||||
openapiclient "github.com/sailpoint-oss/golang-sdk/v2"
|
||||
)
|
||||
|
||||
@@ -453,7 +453,7 @@ func main() {
|
||||
|
||||
configuration := NewDefaultConfiguration()
|
||||
apiClient := NewAPIClient(configuration)
|
||||
resp, r, err := apiClient..SavedSearchAPI.PutSavedSearch(context.Background(), id).SavedSearch(savedSearch).Execute()
|
||||
resp, r, err := apiClient.V2025.SavedSearchAPI.PutSavedSearch(context.Background(), id).SavedSearch(savedSearch).Execute()
|
||||
if err != nil {
|
||||
fmt.Fprintf(os.Stderr, "Error when calling `SavedSearchAPI.PutSavedSearch``: %v\n", err)
|
||||
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
|
||||
|
||||
@@ -1,12 +1,12 @@
|
||||
---
|
||||
id: scheduled-search
|
||||
id: v2025-scheduled-search
|
||||
title: ScheduledSearch
|
||||
pagination_label: ScheduledSearch
|
||||
sidebar_label: ScheduledSearch
|
||||
sidebar_class_name: gosdk
|
||||
keywords: ['go', 'Golang', 'sdk', 'ScheduledSearch', 'ScheduledSearch']
|
||||
slug: /tools/sdk/go//methods/scheduled-search
|
||||
tags: ['SDK', 'Software Development Kit', 'ScheduledSearch', 'ScheduledSearch']
|
||||
keywords: ['go', 'Golang', 'sdk', 'ScheduledSearch', 'V2025ScheduledSearch']
|
||||
slug: /tools/sdk/go/v2025/methods/scheduled-search
|
||||
tags: ['SDK', 'Software Development Kit', 'ScheduledSearch', 'V2025ScheduledSearch']
|
||||
---
|
||||
|
||||
# ScheduledSearchAPI
|
||||
@@ -54,7 +54,7 @@ Create a new scheduled search
|
||||
Creates a new scheduled search.
|
||||
|
||||
|
||||
[API Spec](https://developer.sailpoint.com/docs/api//create-scheduled-search)
|
||||
[API Spec](https://developer.sailpoint.com/docs/api/v2025/create-scheduled-search)
|
||||
|
||||
### Path Parameters
|
||||
|
||||
@@ -87,7 +87,7 @@ import (
|
||||
"context"
|
||||
"fmt"
|
||||
"os"
|
||||
""
|
||||
v2025 "github.com/sailpoint-oss/golang-sdk/v2/api_v2025"
|
||||
openapiclient "github.com/sailpoint-oss/golang-sdk/v2"
|
||||
)
|
||||
|
||||
@@ -96,7 +96,7 @@ func main() {
|
||||
|
||||
configuration := NewDefaultConfiguration()
|
||||
apiClient := NewAPIClient(configuration)
|
||||
resp, r, err := apiClient..ScheduledSearchAPI.CreateScheduledSearch(context.Background()).CreateScheduledSearchRequest(createScheduledSearchRequest).Execute()
|
||||
resp, r, err := apiClient.V2025.ScheduledSearchAPI.CreateScheduledSearch(context.Background()).CreateScheduledSearchRequest(createScheduledSearchRequest).Execute()
|
||||
if err != nil {
|
||||
fmt.Fprintf(os.Stderr, "Error when calling `ScheduledSearchAPI.CreateScheduledSearch``: %v\n", err)
|
||||
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
|
||||
@@ -113,7 +113,7 @@ Delete a Scheduled Search
|
||||
Deletes the specified scheduled search.
|
||||
|
||||
|
||||
[API Spec](https://developer.sailpoint.com/docs/api//delete-scheduled-search)
|
||||
[API Spec](https://developer.sailpoint.com/docs/api/v2025/delete-scheduled-search)
|
||||
|
||||
### Path Parameters
|
||||
|
||||
@@ -150,7 +150,7 @@ import (
|
||||
"context"
|
||||
"fmt"
|
||||
"os"
|
||||
""
|
||||
v2025 "github.com/sailpoint-oss/golang-sdk/v2/api_v2025"
|
||||
openapiclient "github.com/sailpoint-oss/golang-sdk/v2"
|
||||
)
|
||||
|
||||
@@ -159,7 +159,7 @@ func main() {
|
||||
|
||||
configuration := NewDefaultConfiguration()
|
||||
apiClient := NewAPIClient(configuration)
|
||||
r, err := apiClient..ScheduledSearchAPI.DeleteScheduledSearch(context.Background(), id).Execute()
|
||||
r, err := apiClient.V2025.ScheduledSearchAPI.DeleteScheduledSearch(context.Background(), id).Execute()
|
||||
if err != nil {
|
||||
fmt.Fprintf(os.Stderr, "Error when calling `ScheduledSearchAPI.DeleteScheduledSearch``: %v\n", err)
|
||||
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
|
||||
@@ -173,7 +173,7 @@ func main() {
|
||||
Get a Scheduled Search
|
||||
Returns the specified scheduled search.
|
||||
|
||||
[API Spec](https://developer.sailpoint.com/docs/api//get-scheduled-search)
|
||||
[API Spec](https://developer.sailpoint.com/docs/api/v2025/get-scheduled-search)
|
||||
|
||||
### Path Parameters
|
||||
|
||||
@@ -210,7 +210,7 @@ import (
|
||||
"context"
|
||||
"fmt"
|
||||
"os"
|
||||
""
|
||||
v2025 "github.com/sailpoint-oss/golang-sdk/v2/api_v2025"
|
||||
openapiclient "github.com/sailpoint-oss/golang-sdk/v2"
|
||||
)
|
||||
|
||||
@@ -219,7 +219,7 @@ func main() {
|
||||
|
||||
configuration := NewDefaultConfiguration()
|
||||
apiClient := NewAPIClient(configuration)
|
||||
resp, r, err := apiClient..ScheduledSearchAPI.GetScheduledSearch(context.Background(), id).Execute()
|
||||
resp, r, err := apiClient.V2025.ScheduledSearchAPI.GetScheduledSearch(context.Background(), id).Execute()
|
||||
if err != nil {
|
||||
fmt.Fprintf(os.Stderr, "Error when calling `ScheduledSearchAPI.GetScheduledSearch``: %v\n", err)
|
||||
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
|
||||
@@ -236,7 +236,7 @@ List scheduled searches
|
||||
Returns a list of scheduled searches.
|
||||
|
||||
|
||||
[API Spec](https://developer.sailpoint.com/docs/api//list-scheduled-search)
|
||||
[API Spec](https://developer.sailpoint.com/docs/api/v2025/list-scheduled-search)
|
||||
|
||||
### Path Parameters
|
||||
|
||||
@@ -272,7 +272,7 @@ import (
|
||||
"context"
|
||||
"fmt"
|
||||
"os"
|
||||
""
|
||||
v2025 "github.com/sailpoint-oss/golang-sdk/v2/api_v2025"
|
||||
openapiclient "github.com/sailpoint-oss/golang-sdk/v2"
|
||||
)
|
||||
|
||||
@@ -284,7 +284,7 @@ func main() {
|
||||
|
||||
configuration := NewDefaultConfiguration()
|
||||
apiClient := NewAPIClient(configuration)
|
||||
resp, r, err := apiClient..ScheduledSearchAPI.ListScheduledSearch(context.Background()).Offset(offset).Limit(limit).Count(count).Filters(filters).Execute()
|
||||
resp, r, err := apiClient.V2025.ScheduledSearchAPI.ListScheduledSearch(context.Background()).Offset(offset).Limit(limit).Count(count).Filters(filters).Execute()
|
||||
if err != nil {
|
||||
fmt.Fprintf(os.Stderr, "Error when calling `ScheduledSearchAPI.ListScheduledSearch``: %v\n", err)
|
||||
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
|
||||
@@ -301,7 +301,7 @@ Unsubscribe a recipient from Scheduled Search
|
||||
Unsubscribes a recipient from the specified scheduled search.
|
||||
|
||||
|
||||
[API Spec](https://developer.sailpoint.com/docs/api//unsubscribe-scheduled-search)
|
||||
[API Spec](https://developer.sailpoint.com/docs/api/v2025/unsubscribe-scheduled-search)
|
||||
|
||||
### Path Parameters
|
||||
|
||||
@@ -339,7 +339,7 @@ import (
|
||||
"context"
|
||||
"fmt"
|
||||
"os"
|
||||
""
|
||||
v2025 "github.com/sailpoint-oss/golang-sdk/v2/api_v2025"
|
||||
openapiclient "github.com/sailpoint-oss/golang-sdk/v2"
|
||||
)
|
||||
|
||||
@@ -352,7 +352,7 @@ func main() {
|
||||
|
||||
configuration := NewDefaultConfiguration()
|
||||
apiClient := NewAPIClient(configuration)
|
||||
r, err := apiClient..ScheduledSearchAPI.UnsubscribeScheduledSearch(context.Background(), id).TypedReference(typedReference).Execute()
|
||||
r, err := apiClient.V2025.ScheduledSearchAPI.UnsubscribeScheduledSearch(context.Background(), id).TypedReference(typedReference).Execute()
|
||||
if err != nil {
|
||||
fmt.Fprintf(os.Stderr, "Error when calling `ScheduledSearchAPI.UnsubscribeScheduledSearch``: %v\n", err)
|
||||
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
|
||||
@@ -367,7 +367,7 @@ Update an existing Scheduled Search
|
||||
Updates an existing scheduled search.
|
||||
|
||||
|
||||
[API Spec](https://developer.sailpoint.com/docs/api//update-scheduled-search)
|
||||
[API Spec](https://developer.sailpoint.com/docs/api/v2025/update-scheduled-search)
|
||||
|
||||
### Path Parameters
|
||||
|
||||
@@ -405,7 +405,7 @@ import (
|
||||
"context"
|
||||
"fmt"
|
||||
"os"
|
||||
""
|
||||
v2025 "github.com/sailpoint-oss/golang-sdk/v2/api_v2025"
|
||||
openapiclient "github.com/sailpoint-oss/golang-sdk/v2"
|
||||
)
|
||||
|
||||
@@ -505,7 +505,7 @@ func main() {
|
||||
|
||||
configuration := NewDefaultConfiguration()
|
||||
apiClient := NewAPIClient(configuration)
|
||||
resp, r, err := apiClient..ScheduledSearchAPI.UpdateScheduledSearch(context.Background(), id).ScheduledSearch(scheduledSearch).Execute()
|
||||
resp, r, err := apiClient.V2025.ScheduledSearchAPI.UpdateScheduledSearch(context.Background(), id).ScheduledSearch(scheduledSearch).Execute()
|
||||
if err != nil {
|
||||
fmt.Fprintf(os.Stderr, "Error when calling `ScheduledSearchAPI.UpdateScheduledSearch``: %v\n", err)
|
||||
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
|
||||
|
||||
@@ -1,12 +1,12 @@
|
||||
---
|
||||
id: search
|
||||
id: v2025-search
|
||||
title: Search
|
||||
pagination_label: Search
|
||||
sidebar_label: Search
|
||||
sidebar_class_name: gosdk
|
||||
keywords: ['go', 'Golang', 'sdk', 'Search', 'Search']
|
||||
slug: /tools/sdk/go//methods/search
|
||||
tags: ['SDK', 'Software Development Kit', 'Search', 'Search']
|
||||
keywords: ['go', 'Golang', 'sdk', 'Search', 'V2025Search']
|
||||
slug: /tools/sdk/go/v2025/methods/search
|
||||
tags: ['SDK', 'Software Development Kit', 'Search', 'V2025Search']
|
||||
---
|
||||
|
||||
# SearchAPI
|
||||
@@ -48,7 +48,7 @@ Method | HTTP request | Description
|
||||
Perform a Search Query Aggregation
|
||||
Performs a search query aggregation and returns the aggregation result. By default, you can page a maximum of 10,000 search result records. To page past 10,000 records, you can use searchAfter paging. Refer to [Paginating Search Queries](https://developer.sailpoint.com/idn/api/standard-collection-parameters#paginating-search-queries) for more information about how to implement searchAfter paging.
|
||||
|
||||
[API Spec](https://developer.sailpoint.com/docs/api//search-aggregate)
|
||||
[API Spec](https://developer.sailpoint.com/docs/api/v2025/search-aggregate)
|
||||
|
||||
### Path Parameters
|
||||
|
||||
@@ -84,7 +84,7 @@ import (
|
||||
"context"
|
||||
"fmt"
|
||||
"os"
|
||||
""
|
||||
v2025 "github.com/sailpoint-oss/golang-sdk/v2/api_v2025"
|
||||
openapiclient "github.com/sailpoint-oss/golang-sdk/v2"
|
||||
)
|
||||
|
||||
@@ -212,7 +212,7 @@ func main() {
|
||||
|
||||
configuration := NewDefaultConfiguration()
|
||||
apiClient := NewAPIClient(configuration)
|
||||
resp, r, err := apiClient..SearchAPI.SearchAggregate(context.Background()).Search(search).Offset(offset).Limit(limit).Count(count).Execute()
|
||||
resp, r, err := apiClient.V2025.SearchAPI.SearchAggregate(context.Background()).Search(search).Offset(offset).Limit(limit).Count(count).Execute()
|
||||
if err != nil {
|
||||
fmt.Fprintf(os.Stderr, "Error when calling `SearchAPI.SearchAggregate``: %v\n", err)
|
||||
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
|
||||
@@ -228,7 +228,7 @@ func main() {
|
||||
Count Documents Satisfying a Query
|
||||
Performs a search with a provided query and returns the count of results in the X-Total-Count header.
|
||||
|
||||
[API Spec](https://developer.sailpoint.com/docs/api//search-count)
|
||||
[API Spec](https://developer.sailpoint.com/docs/api/v2025/search-count)
|
||||
|
||||
### Path Parameters
|
||||
|
||||
@@ -261,7 +261,7 @@ import (
|
||||
"context"
|
||||
"fmt"
|
||||
"os"
|
||||
""
|
||||
v2025 "github.com/sailpoint-oss/golang-sdk/v2/api_v2025"
|
||||
openapiclient "github.com/sailpoint-oss/golang-sdk/v2"
|
||||
)
|
||||
|
||||
@@ -386,7 +386,7 @@ func main() {
|
||||
|
||||
configuration := NewDefaultConfiguration()
|
||||
apiClient := NewAPIClient(configuration)
|
||||
r, err := apiClient..SearchAPI.SearchCount(context.Background()).Search(search).Execute()
|
||||
r, err := apiClient.V2025.SearchAPI.SearchCount(context.Background()).Search(search).Execute()
|
||||
if err != nil {
|
||||
fmt.Fprintf(os.Stderr, "Error when calling `SearchAPI.SearchCount``: %v\n", err)
|
||||
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
|
||||
@@ -400,7 +400,7 @@ func main() {
|
||||
Get a Document by ID
|
||||
Fetches a single document from the specified index, using the specified document ID.
|
||||
|
||||
[API Spec](https://developer.sailpoint.com/docs/api//search-get)
|
||||
[API Spec](https://developer.sailpoint.com/docs/api/v2025/search-get)
|
||||
|
||||
### Path Parameters
|
||||
|
||||
@@ -439,7 +439,7 @@ import (
|
||||
"context"
|
||||
"fmt"
|
||||
"os"
|
||||
""
|
||||
v2025 "github.com/sailpoint-oss/golang-sdk/v2/api_v2025"
|
||||
openapiclient "github.com/sailpoint-oss/golang-sdk/v2"
|
||||
)
|
||||
|
||||
@@ -449,7 +449,7 @@ func main() {
|
||||
|
||||
configuration := NewDefaultConfiguration()
|
||||
apiClient := NewAPIClient(configuration)
|
||||
resp, r, err := apiClient..SearchAPI.SearchGet(context.Background(), index, id).Execute()
|
||||
resp, r, err := apiClient.V2025.SearchAPI.SearchGet(context.Background(), index, id).Execute()
|
||||
if err != nil {
|
||||
fmt.Fprintf(os.Stderr, "Error when calling `SearchAPI.SearchGet``: %v\n", err)
|
||||
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
|
||||
@@ -465,7 +465,7 @@ func main() {
|
||||
Perform Search
|
||||
Perform a search with the provided query and return a matching result collection. To page past 10,000 records, you can use `searchAfter` paging. Refer to [Paginating Search Queries](https://developer.sailpoint.com/idn/api/standard-collection-parameters#paginating-search-queries) for more information about how to implement `searchAfter` paging.
|
||||
|
||||
[API Spec](https://developer.sailpoint.com/docs/api//search-post)
|
||||
[API Spec](https://developer.sailpoint.com/docs/api/v2025/search-post)
|
||||
|
||||
### Path Parameters
|
||||
|
||||
@@ -501,7 +501,7 @@ import (
|
||||
"context"
|
||||
"fmt"
|
||||
"os"
|
||||
""
|
||||
v2025 "github.com/sailpoint-oss/golang-sdk/v2/api_v2025"
|
||||
openapiclient "github.com/sailpoint-oss/golang-sdk/v2"
|
||||
)
|
||||
|
||||
@@ -629,7 +629,7 @@ func main() {
|
||||
|
||||
configuration := NewDefaultConfiguration()
|
||||
apiClient := NewAPIClient(configuration)
|
||||
resp, r, err := apiClient..SearchAPI.SearchPost(context.Background()).Search(search).Offset(offset).Limit(limit).Count(count).Execute()
|
||||
resp, r, err := apiClient.V2025.SearchAPI.SearchPost(context.Background()).Search(search).Offset(offset).Limit(limit).Count(count).Execute()
|
||||
if err != nil {
|
||||
fmt.Fprintf(os.Stderr, "Error when calling `SearchAPI.SearchPost``: %v\n", err)
|
||||
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
|
||||
|
||||
@@ -1,12 +1,12 @@
|
||||
---
|
||||
id: search-attribute-configuration
|
||||
id: v2025-search-attribute-configuration
|
||||
title: SearchAttributeConfiguration
|
||||
pagination_label: SearchAttributeConfiguration
|
||||
sidebar_label: SearchAttributeConfiguration
|
||||
sidebar_class_name: gosdk
|
||||
keywords: ['go', 'Golang', 'sdk', 'SearchAttributeConfiguration', 'SearchAttributeConfiguration']
|
||||
slug: /tools/sdk/go//methods/search-attribute-configuration
|
||||
tags: ['SDK', 'Software Development Kit', 'SearchAttributeConfiguration', 'SearchAttributeConfiguration']
|
||||
keywords: ['go', 'Golang', 'sdk', 'SearchAttributeConfiguration', 'V2025SearchAttributeConfiguration']
|
||||
slug: /tools/sdk/go/v2025/methods/search-attribute-configuration
|
||||
tags: ['SDK', 'Software Development Kit', 'SearchAttributeConfiguration', 'V2025SearchAttributeConfiguration']
|
||||
---
|
||||
|
||||
# SearchAttributeConfigurationAPI
|
||||
@@ -56,7 +56,7 @@ Create Extended Search Attributes
|
||||
Create and configure extended search attributes. This API accepts an attribute name, an attribute display name and a list of name/value pair associates of application IDs to attribute names. It will then validate the inputs and configure/create the attribute promotion configuration in the Link ObjectConfig.
|
||||
>**Note: Give searchable attributes unique names. Do not give them the same names used for account attributes or source attributes. Also, do not give them the same names present in account schema for a current or future source, regardless of whether that source is included in the searchable attributes' `applicationAttributes`.**
|
||||
|
||||
[API Spec](https://developer.sailpoint.com/docs/api//create-search-attribute-config)
|
||||
[API Spec](https://developer.sailpoint.com/docs/api/v2025/create-search-attribute-config)
|
||||
|
||||
### Path Parameters
|
||||
|
||||
@@ -90,7 +90,7 @@ import (
|
||||
"context"
|
||||
"fmt"
|
||||
"os"
|
||||
""
|
||||
v2025 "github.com/sailpoint-oss/golang-sdk/v2/api_v2025"
|
||||
openapiclient "github.com/sailpoint-oss/golang-sdk/v2"
|
||||
)
|
||||
|
||||
@@ -107,7 +107,7 @@ func main() {
|
||||
|
||||
configuration := NewDefaultConfiguration()
|
||||
apiClient := NewAPIClient(configuration)
|
||||
resp, r, err := apiClient..SearchAttributeConfigurationAPI.CreateSearchAttributeConfig(context.Background()).XSailPointExperimental(xSailPointExperimental).SearchAttributeConfig(searchAttributeConfig).Execute()
|
||||
resp, r, err := apiClient.V2025.SearchAttributeConfigurationAPI.CreateSearchAttributeConfig(context.Background()).XSailPointExperimental(xSailPointExperimental).SearchAttributeConfig(searchAttributeConfig).Execute()
|
||||
if err != nil {
|
||||
fmt.Fprintf(os.Stderr, "Error when calling `SearchAttributeConfigurationAPI.CreateSearchAttributeConfig``: %v\n", err)
|
||||
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
|
||||
@@ -134,7 +134,7 @@ This API is currently in an experimental state. The API is subject to change bas
|
||||
Delete Extended Search Attribute
|
||||
Delete an extended attribute configuration by name.
|
||||
|
||||
[API Spec](https://developer.sailpoint.com/docs/api//delete-search-attribute-config)
|
||||
[API Spec](https://developer.sailpoint.com/docs/api/v2025/delete-search-attribute-config)
|
||||
|
||||
### Path Parameters
|
||||
|
||||
@@ -172,7 +172,7 @@ import (
|
||||
"context"
|
||||
"fmt"
|
||||
"os"
|
||||
""
|
||||
v2025 "github.com/sailpoint-oss/golang-sdk/v2/api_v2025"
|
||||
openapiclient "github.com/sailpoint-oss/golang-sdk/v2"
|
||||
)
|
||||
|
||||
@@ -182,7 +182,7 @@ func main() {
|
||||
|
||||
configuration := NewDefaultConfiguration()
|
||||
apiClient := NewAPIClient(configuration)
|
||||
r, err := apiClient..SearchAttributeConfigurationAPI.DeleteSearchAttributeConfig(context.Background(), name).XSailPointExperimental(xSailPointExperimental).Execute()
|
||||
r, err := apiClient.V2025.SearchAttributeConfigurationAPI.DeleteSearchAttributeConfig(context.Background(), name).XSailPointExperimental(xSailPointExperimental).Execute()
|
||||
if err != nil {
|
||||
fmt.Fprintf(os.Stderr, "Error when calling `SearchAttributeConfigurationAPI.DeleteSearchAttributeConfig``: %v\n", err)
|
||||
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
|
||||
@@ -207,7 +207,7 @@ This API is currently in an experimental state. The API is subject to change bas
|
||||
List Extended Search Attributes
|
||||
Get a list of attribute/application attributes currently configured in Identity Security Cloud (ISC).
|
||||
|
||||
[API Spec](https://developer.sailpoint.com/docs/api//get-search-attribute-config)
|
||||
[API Spec](https://developer.sailpoint.com/docs/api/v2025/get-search-attribute-config)
|
||||
|
||||
### Path Parameters
|
||||
|
||||
@@ -242,7 +242,7 @@ import (
|
||||
"context"
|
||||
"fmt"
|
||||
"os"
|
||||
""
|
||||
v2025 "github.com/sailpoint-oss/golang-sdk/v2/api_v2025"
|
||||
openapiclient "github.com/sailpoint-oss/golang-sdk/v2"
|
||||
)
|
||||
|
||||
@@ -253,7 +253,7 @@ func main() {
|
||||
|
||||
configuration := NewDefaultConfiguration()
|
||||
apiClient := NewAPIClient(configuration)
|
||||
resp, r, err := apiClient..SearchAttributeConfigurationAPI.GetSearchAttributeConfig(context.Background()).XSailPointExperimental(xSailPointExperimental).Limit(limit).Offset(offset).Execute()
|
||||
resp, r, err := apiClient.V2025.SearchAttributeConfigurationAPI.GetSearchAttributeConfig(context.Background()).XSailPointExperimental(xSailPointExperimental).Limit(limit).Offset(offset).Execute()
|
||||
if err != nil {
|
||||
fmt.Fprintf(os.Stderr, "Error when calling `SearchAttributeConfigurationAPI.GetSearchAttributeConfig``: %v\n", err)
|
||||
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
|
||||
@@ -280,7 +280,7 @@ This API is currently in an experimental state. The API is subject to change bas
|
||||
Get Extended Search Attribute
|
||||
Get an extended attribute configuration by name.
|
||||
|
||||
[API Spec](https://developer.sailpoint.com/docs/api//get-single-search-attribute-config)
|
||||
[API Spec](https://developer.sailpoint.com/docs/api/v2025/get-single-search-attribute-config)
|
||||
|
||||
### Path Parameters
|
||||
|
||||
@@ -318,7 +318,7 @@ import (
|
||||
"context"
|
||||
"fmt"
|
||||
"os"
|
||||
""
|
||||
v2025 "github.com/sailpoint-oss/golang-sdk/v2/api_v2025"
|
||||
openapiclient "github.com/sailpoint-oss/golang-sdk/v2"
|
||||
)
|
||||
|
||||
@@ -328,7 +328,7 @@ func main() {
|
||||
|
||||
configuration := NewDefaultConfiguration()
|
||||
apiClient := NewAPIClient(configuration)
|
||||
resp, r, err := apiClient..SearchAttributeConfigurationAPI.GetSingleSearchAttributeConfig(context.Background(), name).XSailPointExperimental(xSailPointExperimental).Execute()
|
||||
resp, r, err := apiClient.V2025.SearchAttributeConfigurationAPI.GetSingleSearchAttributeConfig(context.Background(), name).XSailPointExperimental(xSailPointExperimental).Execute()
|
||||
if err != nil {
|
||||
fmt.Fprintf(os.Stderr, "Error when calling `SearchAttributeConfigurationAPI.GetSingleSearchAttributeConfig``: %v\n", err)
|
||||
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
|
||||
@@ -357,7 +357,7 @@ Update an existing search attribute configuration.
|
||||
You can patch these fields:
|
||||
* name * displayName * applicationAttributes
|
||||
|
||||
[API Spec](https://developer.sailpoint.com/docs/api//patch-search-attribute-config)
|
||||
[API Spec](https://developer.sailpoint.com/docs/api/v2025/patch-search-attribute-config)
|
||||
|
||||
### Path Parameters
|
||||
|
||||
@@ -396,7 +396,7 @@ import (
|
||||
"context"
|
||||
"fmt"
|
||||
"os"
|
||||
""
|
||||
v2025 "github.com/sailpoint-oss/golang-sdk/v2/api_v2025"
|
||||
openapiclient "github.com/sailpoint-oss/golang-sdk/v2"
|
||||
)
|
||||
|
||||
@@ -407,7 +407,7 @@ func main() {
|
||||
|
||||
configuration := NewDefaultConfiguration()
|
||||
apiClient := NewAPIClient(configuration)
|
||||
resp, r, err := apiClient..SearchAttributeConfigurationAPI.PatchSearchAttributeConfig(context.Background(), name).XSailPointExperimental(xSailPointExperimental).JsonPatchOperation(jsonPatchOperation).Execute()
|
||||
resp, r, err := apiClient.V2025.SearchAttributeConfigurationAPI.PatchSearchAttributeConfig(context.Background(), name).XSailPointExperimental(xSailPointExperimental).JsonPatchOperation(jsonPatchOperation).Execute()
|
||||
if err != nil {
|
||||
fmt.Fprintf(os.Stderr, "Error when calling `SearchAttributeConfigurationAPI.PatchSearchAttributeConfig``: %v\n", err)
|
||||
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
|
||||
|
||||
@@ -1,12 +1,12 @@
|
||||
---
|
||||
id: segments
|
||||
id: v2025-segments
|
||||
title: Segments
|
||||
pagination_label: Segments
|
||||
sidebar_label: Segments
|
||||
sidebar_class_name: gosdk
|
||||
keywords: ['go', 'Golang', 'sdk', 'Segments', 'Segments']
|
||||
slug: /tools/sdk/go//methods/segments
|
||||
tags: ['SDK', 'Software Development Kit', 'Segments', 'Segments']
|
||||
keywords: ['go', 'Golang', 'sdk', 'Segments', 'V2025Segments']
|
||||
slug: /tools/sdk/go/v2025/methods/segments
|
||||
tags: ['SDK', 'Software Development Kit', 'Segments', 'V2025Segments']
|
||||
---
|
||||
|
||||
# SegmentsAPI
|
||||
@@ -44,7 +44,7 @@ Create Segment
|
||||
This API creates a segment.
|
||||
>**Note:** Segment definitions may take time to propagate to all identities.
|
||||
|
||||
[API Spec](https://developer.sailpoint.com/docs/api//create-segment)
|
||||
[API Spec](https://developer.sailpoint.com/docs/api/v2025/create-segment)
|
||||
|
||||
### Path Parameters
|
||||
|
||||
@@ -77,7 +77,7 @@ import (
|
||||
"context"
|
||||
"fmt"
|
||||
"os"
|
||||
""
|
||||
v2025 "github.com/sailpoint-oss/golang-sdk/v2/api_v2025"
|
||||
openapiclient "github.com/sailpoint-oss/golang-sdk/v2"
|
||||
)
|
||||
|
||||
@@ -109,7 +109,7 @@ func main() {
|
||||
|
||||
configuration := NewDefaultConfiguration()
|
||||
apiClient := NewAPIClient(configuration)
|
||||
resp, r, err := apiClient..SegmentsAPI.CreateSegment(context.Background()).Segment(segment).Execute()
|
||||
resp, r, err := apiClient.V2025.SegmentsAPI.CreateSegment(context.Background()).Segment(segment).Execute()
|
||||
if err != nil {
|
||||
fmt.Fprintf(os.Stderr, "Error when calling `SegmentsAPI.CreateSegment``: %v\n", err)
|
||||
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
|
||||
@@ -126,7 +126,7 @@ Delete Segment by ID
|
||||
This API deletes the segment specified by the given ID.
|
||||
>**Note:** that segment deletion may take some time to become effective.
|
||||
|
||||
[API Spec](https://developer.sailpoint.com/docs/api//delete-segment)
|
||||
[API Spec](https://developer.sailpoint.com/docs/api/v2025/delete-segment)
|
||||
|
||||
### Path Parameters
|
||||
|
||||
@@ -163,7 +163,7 @@ import (
|
||||
"context"
|
||||
"fmt"
|
||||
"os"
|
||||
""
|
||||
v2025 "github.com/sailpoint-oss/golang-sdk/v2/api_v2025"
|
||||
openapiclient "github.com/sailpoint-oss/golang-sdk/v2"
|
||||
)
|
||||
|
||||
@@ -172,7 +172,7 @@ func main() {
|
||||
|
||||
configuration := NewDefaultConfiguration()
|
||||
apiClient := NewAPIClient(configuration)
|
||||
r, err := apiClient..SegmentsAPI.DeleteSegment(context.Background(), id).Execute()
|
||||
r, err := apiClient.V2025.SegmentsAPI.DeleteSegment(context.Background(), id).Execute()
|
||||
if err != nil {
|
||||
fmt.Fprintf(os.Stderr, "Error when calling `SegmentsAPI.DeleteSegment``: %v\n", err)
|
||||
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
|
||||
@@ -186,7 +186,7 @@ func main() {
|
||||
Get Segment by ID
|
||||
This API returns the segment specified by the given ID.
|
||||
|
||||
[API Spec](https://developer.sailpoint.com/docs/api//get-segment)
|
||||
[API Spec](https://developer.sailpoint.com/docs/api/v2025/get-segment)
|
||||
|
||||
### Path Parameters
|
||||
|
||||
@@ -223,7 +223,7 @@ import (
|
||||
"context"
|
||||
"fmt"
|
||||
"os"
|
||||
""
|
||||
v2025 "github.com/sailpoint-oss/golang-sdk/v2/api_v2025"
|
||||
openapiclient "github.com/sailpoint-oss/golang-sdk/v2"
|
||||
)
|
||||
|
||||
@@ -232,7 +232,7 @@ func main() {
|
||||
|
||||
configuration := NewDefaultConfiguration()
|
||||
apiClient := NewAPIClient(configuration)
|
||||
resp, r, err := apiClient..SegmentsAPI.GetSegment(context.Background(), id).Execute()
|
||||
resp, r, err := apiClient.V2025.SegmentsAPI.GetSegment(context.Background(), id).Execute()
|
||||
if err != nil {
|
||||
fmt.Fprintf(os.Stderr, "Error when calling `SegmentsAPI.GetSegment``: %v\n", err)
|
||||
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
|
||||
@@ -248,7 +248,7 @@ func main() {
|
||||
List Segments
|
||||
This API returns a list of all segments.
|
||||
|
||||
[API Spec](https://developer.sailpoint.com/docs/api//list-segments)
|
||||
[API Spec](https://developer.sailpoint.com/docs/api/v2025/list-segments)
|
||||
|
||||
### Path Parameters
|
||||
|
||||
@@ -283,7 +283,7 @@ import (
|
||||
"context"
|
||||
"fmt"
|
||||
"os"
|
||||
""
|
||||
v2025 "github.com/sailpoint-oss/golang-sdk/v2/api_v2025"
|
||||
openapiclient "github.com/sailpoint-oss/golang-sdk/v2"
|
||||
)
|
||||
|
||||
@@ -294,7 +294,7 @@ func main() {
|
||||
|
||||
configuration := NewDefaultConfiguration()
|
||||
apiClient := NewAPIClient(configuration)
|
||||
resp, r, err := apiClient..SegmentsAPI.ListSegments(context.Background()).Limit(limit).Offset(offset).Count(count).Execute()
|
||||
resp, r, err := apiClient.V2025.SegmentsAPI.ListSegments(context.Background()).Limit(limit).Offset(offset).Count(count).Execute()
|
||||
if err != nil {
|
||||
fmt.Fprintf(os.Stderr, "Error when calling `SegmentsAPI.ListSegments``: %v\n", err)
|
||||
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
|
||||
@@ -311,7 +311,7 @@ Update Segment
|
||||
Use this API to update segment fields by using the [JSON Patch](https://tools.ietf.org/html/rfc6902) standard.
|
||||
>**Note:** Changes to a segment may take some time to propagate to all identities.
|
||||
|
||||
[API Spec](https://developer.sailpoint.com/docs/api//patch-segment)
|
||||
[API Spec](https://developer.sailpoint.com/docs/api/v2025/patch-segment)
|
||||
|
||||
### Path Parameters
|
||||
|
||||
@@ -349,7 +349,7 @@ import (
|
||||
"context"
|
||||
"fmt"
|
||||
"os"
|
||||
""
|
||||
v2025 "github.com/sailpoint-oss/golang-sdk/v2/api_v2025"
|
||||
openapiclient "github.com/sailpoint-oss/golang-sdk/v2"
|
||||
)
|
||||
|
||||
@@ -359,7 +359,7 @@ func main() {
|
||||
|
||||
configuration := NewDefaultConfiguration()
|
||||
apiClient := NewAPIClient(configuration)
|
||||
resp, r, err := apiClient..SegmentsAPI.PatchSegment(context.Background(), id).RequestBody(requestBody).Execute()
|
||||
resp, r, err := apiClient.V2025.SegmentsAPI.PatchSegment(context.Background(), id).RequestBody(requestBody).Execute()
|
||||
if err != nil {
|
||||
fmt.Fprintf(os.Stderr, "Error when calling `SegmentsAPI.PatchSegment``: %v\n", err)
|
||||
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
|
||||
|
||||
@@ -1,12 +1,12 @@
|
||||
---
|
||||
id: service-desk-integration
|
||||
id: v2025-service-desk-integration
|
||||
title: ServiceDeskIntegration
|
||||
pagination_label: ServiceDeskIntegration
|
||||
sidebar_label: ServiceDeskIntegration
|
||||
sidebar_class_name: gosdk
|
||||
keywords: ['go', 'Golang', 'sdk', 'ServiceDeskIntegration', 'ServiceDeskIntegration']
|
||||
slug: /tools/sdk/go//methods/service-desk-integration
|
||||
tags: ['SDK', 'Software Development Kit', 'ServiceDeskIntegration', 'ServiceDeskIntegration']
|
||||
keywords: ['go', 'Golang', 'sdk', 'ServiceDeskIntegration', 'V2025ServiceDeskIntegration']
|
||||
slug: /tools/sdk/go/v2025/methods/service-desk-integration
|
||||
tags: ['SDK', 'Software Development Kit', 'ServiceDeskIntegration', 'V2025ServiceDeskIntegration']
|
||||
---
|
||||
|
||||
# ServiceDeskIntegrationAPI
|
||||
@@ -55,7 +55,7 @@ Method | HTTP request | Description
|
||||
Create new Service Desk integration
|
||||
Create a new Service Desk integration.
|
||||
|
||||
[API Spec](https://developer.sailpoint.com/docs/api//create-service-desk-integration)
|
||||
[API Spec](https://developer.sailpoint.com/docs/api/v2025/create-service-desk-integration)
|
||||
|
||||
### Path Parameters
|
||||
|
||||
@@ -88,7 +88,7 @@ import (
|
||||
"context"
|
||||
"fmt"
|
||||
"os"
|
||||
""
|
||||
v2025 "github.com/sailpoint-oss/golang-sdk/v2/api_v2025"
|
||||
openapiclient "github.com/sailpoint-oss/golang-sdk/v2"
|
||||
)
|
||||
|
||||
@@ -130,7 +130,7 @@ func main() {
|
||||
|
||||
configuration := NewDefaultConfiguration()
|
||||
apiClient := NewAPIClient(configuration)
|
||||
resp, r, err := apiClient..ServiceDeskIntegrationAPI.CreateServiceDeskIntegration(context.Background()).ServiceDeskIntegrationDto(serviceDeskIntegrationDto).Execute()
|
||||
resp, r, err := apiClient.V2025.ServiceDeskIntegrationAPI.CreateServiceDeskIntegration(context.Background()).ServiceDeskIntegrationDto(serviceDeskIntegrationDto).Execute()
|
||||
if err != nil {
|
||||
fmt.Fprintf(os.Stderr, "Error when calling `ServiceDeskIntegrationAPI.CreateServiceDeskIntegration``: %v\n", err)
|
||||
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
|
||||
@@ -146,7 +146,7 @@ func main() {
|
||||
Delete a Service Desk integration
|
||||
Delete an existing Service Desk integration by ID.
|
||||
|
||||
[API Spec](https://developer.sailpoint.com/docs/api//delete-service-desk-integration)
|
||||
[API Spec](https://developer.sailpoint.com/docs/api/v2025/delete-service-desk-integration)
|
||||
|
||||
### Path Parameters
|
||||
|
||||
@@ -183,7 +183,7 @@ import (
|
||||
"context"
|
||||
"fmt"
|
||||
"os"
|
||||
""
|
||||
v2025 "github.com/sailpoint-oss/golang-sdk/v2/api_v2025"
|
||||
openapiclient "github.com/sailpoint-oss/golang-sdk/v2"
|
||||
)
|
||||
|
||||
@@ -192,7 +192,7 @@ func main() {
|
||||
|
||||
configuration := NewDefaultConfiguration()
|
||||
apiClient := NewAPIClient(configuration)
|
||||
r, err := apiClient..ServiceDeskIntegrationAPI.DeleteServiceDeskIntegration(context.Background(), id).Execute()
|
||||
r, err := apiClient.V2025.ServiceDeskIntegrationAPI.DeleteServiceDeskIntegration(context.Background(), id).Execute()
|
||||
if err != nil {
|
||||
fmt.Fprintf(os.Stderr, "Error when calling `ServiceDeskIntegrationAPI.DeleteServiceDeskIntegration``: %v\n", err)
|
||||
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
|
||||
@@ -206,7 +206,7 @@ func main() {
|
||||
Get a Service Desk integration
|
||||
Get an existing Service Desk integration by ID.
|
||||
|
||||
[API Spec](https://developer.sailpoint.com/docs/api//get-service-desk-integration)
|
||||
[API Spec](https://developer.sailpoint.com/docs/api/v2025/get-service-desk-integration)
|
||||
|
||||
### Path Parameters
|
||||
|
||||
@@ -243,7 +243,7 @@ import (
|
||||
"context"
|
||||
"fmt"
|
||||
"os"
|
||||
""
|
||||
v2025 "github.com/sailpoint-oss/golang-sdk/v2/api_v2025"
|
||||
openapiclient "github.com/sailpoint-oss/golang-sdk/v2"
|
||||
)
|
||||
|
||||
@@ -252,7 +252,7 @@ func main() {
|
||||
|
||||
configuration := NewDefaultConfiguration()
|
||||
apiClient := NewAPIClient(configuration)
|
||||
resp, r, err := apiClient..ServiceDeskIntegrationAPI.GetServiceDeskIntegration(context.Background(), id).Execute()
|
||||
resp, r, err := apiClient.V2025.ServiceDeskIntegrationAPI.GetServiceDeskIntegration(context.Background(), id).Execute()
|
||||
if err != nil {
|
||||
fmt.Fprintf(os.Stderr, "Error when calling `ServiceDeskIntegrationAPI.GetServiceDeskIntegration``: %v\n", err)
|
||||
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
|
||||
@@ -268,7 +268,7 @@ func main() {
|
||||
Service Desk integration template by scriptName
|
||||
This API endpoint returns an existing Service Desk integration template by scriptName.
|
||||
|
||||
[API Spec](https://developer.sailpoint.com/docs/api//get-service-desk-integration-template)
|
||||
[API Spec](https://developer.sailpoint.com/docs/api/v2025/get-service-desk-integration-template)
|
||||
|
||||
### Path Parameters
|
||||
|
||||
@@ -305,7 +305,7 @@ import (
|
||||
"context"
|
||||
"fmt"
|
||||
"os"
|
||||
""
|
||||
v2025 "github.com/sailpoint-oss/golang-sdk/v2/api_v2025"
|
||||
openapiclient "github.com/sailpoint-oss/golang-sdk/v2"
|
||||
)
|
||||
|
||||
@@ -314,7 +314,7 @@ func main() {
|
||||
|
||||
configuration := NewDefaultConfiguration()
|
||||
apiClient := NewAPIClient(configuration)
|
||||
resp, r, err := apiClient..ServiceDeskIntegrationAPI.GetServiceDeskIntegrationTemplate(context.Background(), scriptName).Execute()
|
||||
resp, r, err := apiClient.V2025.ServiceDeskIntegrationAPI.GetServiceDeskIntegrationTemplate(context.Background(), scriptName).Execute()
|
||||
if err != nil {
|
||||
fmt.Fprintf(os.Stderr, "Error when calling `ServiceDeskIntegrationAPI.GetServiceDeskIntegrationTemplate``: %v\n", err)
|
||||
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
|
||||
@@ -330,7 +330,7 @@ func main() {
|
||||
List Service Desk integration types
|
||||
This API endpoint returns the current list of supported Service Desk integration types.
|
||||
|
||||
[API Spec](https://developer.sailpoint.com/docs/api//get-service-desk-integration-types)
|
||||
[API Spec](https://developer.sailpoint.com/docs/api/v2025/get-service-desk-integration-types)
|
||||
|
||||
### Path Parameters
|
||||
|
||||
@@ -359,7 +359,7 @@ import (
|
||||
"context"
|
||||
"fmt"
|
||||
"os"
|
||||
""
|
||||
v2025 "github.com/sailpoint-oss/golang-sdk/v2/api_v2025"
|
||||
openapiclient "github.com/sailpoint-oss/golang-sdk/v2"
|
||||
)
|
||||
|
||||
@@ -367,7 +367,7 @@ func main() {
|
||||
|
||||
configuration := NewDefaultConfiguration()
|
||||
apiClient := NewAPIClient(configuration)
|
||||
resp, r, err := apiClient..ServiceDeskIntegrationAPI.GetServiceDeskIntegrationTypes(context.Background()).Execute()
|
||||
resp, r, err := apiClient.V2025.ServiceDeskIntegrationAPI.GetServiceDeskIntegrationTypes(context.Background()).Execute()
|
||||
if err != nil {
|
||||
fmt.Fprintf(os.Stderr, "Error when calling `ServiceDeskIntegrationAPI.GetServiceDeskIntegrationTypes``: %v\n", err)
|
||||
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
|
||||
@@ -383,7 +383,7 @@ func main() {
|
||||
List existing Service Desk integrations
|
||||
Get a list of Service Desk integration objects.
|
||||
|
||||
[API Spec](https://developer.sailpoint.com/docs/api//get-service-desk-integrations)
|
||||
[API Spec](https://developer.sailpoint.com/docs/api/v2025/get-service-desk-integrations)
|
||||
|
||||
### Path Parameters
|
||||
|
||||
@@ -420,7 +420,7 @@ import (
|
||||
"context"
|
||||
"fmt"
|
||||
"os"
|
||||
""
|
||||
v2025 "github.com/sailpoint-oss/golang-sdk/v2/api_v2025"
|
||||
openapiclient "github.com/sailpoint-oss/golang-sdk/v2"
|
||||
)
|
||||
|
||||
@@ -433,7 +433,7 @@ func main() {
|
||||
|
||||
configuration := NewDefaultConfiguration()
|
||||
apiClient := NewAPIClient(configuration)
|
||||
resp, r, err := apiClient..ServiceDeskIntegrationAPI.GetServiceDeskIntegrations(context.Background()).Offset(offset).Limit(limit).Sorters(sorters).Filters(filters).Count(count).Execute()
|
||||
resp, r, err := apiClient.V2025.ServiceDeskIntegrationAPI.GetServiceDeskIntegrations(context.Background()).Offset(offset).Limit(limit).Sorters(sorters).Filters(filters).Count(count).Execute()
|
||||
if err != nil {
|
||||
fmt.Fprintf(os.Stderr, "Error when calling `ServiceDeskIntegrationAPI.GetServiceDeskIntegrations``: %v\n", err)
|
||||
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
|
||||
@@ -449,7 +449,7 @@ func main() {
|
||||
Get the time check configuration
|
||||
Get the time check configuration of queued SDIM tickets.
|
||||
|
||||
[API Spec](https://developer.sailpoint.com/docs/api//get-status-check-details)
|
||||
[API Spec](https://developer.sailpoint.com/docs/api/v2025/get-status-check-details)
|
||||
|
||||
### Path Parameters
|
||||
|
||||
@@ -478,7 +478,7 @@ import (
|
||||
"context"
|
||||
"fmt"
|
||||
"os"
|
||||
""
|
||||
v2025 "github.com/sailpoint-oss/golang-sdk/v2/api_v2025"
|
||||
openapiclient "github.com/sailpoint-oss/golang-sdk/v2"
|
||||
)
|
||||
|
||||
@@ -486,7 +486,7 @@ func main() {
|
||||
|
||||
configuration := NewDefaultConfiguration()
|
||||
apiClient := NewAPIClient(configuration)
|
||||
resp, r, err := apiClient..ServiceDeskIntegrationAPI.GetStatusCheckDetails(context.Background()).Execute()
|
||||
resp, r, err := apiClient.V2025.ServiceDeskIntegrationAPI.GetStatusCheckDetails(context.Background()).Execute()
|
||||
if err != nil {
|
||||
fmt.Fprintf(os.Stderr, "Error when calling `ServiceDeskIntegrationAPI.GetStatusCheckDetails``: %v\n", err)
|
||||
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
|
||||
@@ -502,7 +502,7 @@ func main() {
|
||||
Patch a Service Desk Integration
|
||||
Update an existing Service Desk integration by ID with a PATCH request.
|
||||
|
||||
[API Spec](https://developer.sailpoint.com/docs/api//patch-service-desk-integration)
|
||||
[API Spec](https://developer.sailpoint.com/docs/api/v2025/patch-service-desk-integration)
|
||||
|
||||
### Path Parameters
|
||||
|
||||
@@ -540,7 +540,7 @@ import (
|
||||
"context"
|
||||
"fmt"
|
||||
"os"
|
||||
""
|
||||
v2025 "github.com/sailpoint-oss/golang-sdk/v2/api_v2025"
|
||||
openapiclient "github.com/sailpoint-oss/golang-sdk/v2"
|
||||
)
|
||||
|
||||
@@ -550,7 +550,7 @@ func main() {
|
||||
|
||||
configuration := NewDefaultConfiguration()
|
||||
apiClient := NewAPIClient(configuration)
|
||||
resp, r, err := apiClient..ServiceDeskIntegrationAPI.PatchServiceDeskIntegration(context.Background(), id).PatchServiceDeskIntegrationRequest(patchServiceDeskIntegrationRequest).Execute()
|
||||
resp, r, err := apiClient.V2025.ServiceDeskIntegrationAPI.PatchServiceDeskIntegration(context.Background(), id).PatchServiceDeskIntegrationRequest(patchServiceDeskIntegrationRequest).Execute()
|
||||
if err != nil {
|
||||
fmt.Fprintf(os.Stderr, "Error when calling `ServiceDeskIntegrationAPI.PatchServiceDeskIntegration``: %v\n", err)
|
||||
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
|
||||
@@ -566,7 +566,7 @@ func main() {
|
||||
Update a Service Desk integration
|
||||
Update an existing Service Desk integration by ID.
|
||||
|
||||
[API Spec](https://developer.sailpoint.com/docs/api//put-service-desk-integration)
|
||||
[API Spec](https://developer.sailpoint.com/docs/api/v2025/put-service-desk-integration)
|
||||
|
||||
### Path Parameters
|
||||
|
||||
@@ -604,7 +604,7 @@ import (
|
||||
"context"
|
||||
"fmt"
|
||||
"os"
|
||||
""
|
||||
v2025 "github.com/sailpoint-oss/golang-sdk/v2/api_v2025"
|
||||
openapiclient "github.com/sailpoint-oss/golang-sdk/v2"
|
||||
)
|
||||
|
||||
@@ -647,7 +647,7 @@ func main() {
|
||||
|
||||
configuration := NewDefaultConfiguration()
|
||||
apiClient := NewAPIClient(configuration)
|
||||
resp, r, err := apiClient..ServiceDeskIntegrationAPI.PutServiceDeskIntegration(context.Background(), id).ServiceDeskIntegrationDto(serviceDeskIntegrationDto).Execute()
|
||||
resp, r, err := apiClient.V2025.ServiceDeskIntegrationAPI.PutServiceDeskIntegration(context.Background(), id).ServiceDeskIntegrationDto(serviceDeskIntegrationDto).Execute()
|
||||
if err != nil {
|
||||
fmt.Fprintf(os.Stderr, "Error when calling `ServiceDeskIntegrationAPI.PutServiceDeskIntegration``: %v\n", err)
|
||||
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
|
||||
@@ -663,7 +663,7 @@ func main() {
|
||||
Update the time check configuration
|
||||
Update the time check configuration of queued SDIM tickets.
|
||||
|
||||
[API Spec](https://developer.sailpoint.com/docs/api//update-status-check-details)
|
||||
[API Spec](https://developer.sailpoint.com/docs/api/v2025/update-status-check-details)
|
||||
|
||||
### Path Parameters
|
||||
|
||||
@@ -696,7 +696,7 @@ import (
|
||||
"context"
|
||||
"fmt"
|
||||
"os"
|
||||
""
|
||||
v2025 "github.com/sailpoint-oss/golang-sdk/v2/api_v2025"
|
||||
openapiclient "github.com/sailpoint-oss/golang-sdk/v2"
|
||||
)
|
||||
|
||||
@@ -708,7 +708,7 @@ func main() {
|
||||
|
||||
configuration := NewDefaultConfiguration()
|
||||
apiClient := NewAPIClient(configuration)
|
||||
resp, r, err := apiClient..ServiceDeskIntegrationAPI.UpdateStatusCheckDetails(context.Background()).QueuedCheckConfigDetails(queuedCheckConfigDetails).Execute()
|
||||
resp, r, err := apiClient.V2025.ServiceDeskIntegrationAPI.UpdateStatusCheckDetails(context.Background()).QueuedCheckConfigDetails(queuedCheckConfigDetails).Execute()
|
||||
if err != nil {
|
||||
fmt.Fprintf(os.Stderr, "Error when calling `ServiceDeskIntegrationAPI.UpdateStatusCheckDetails``: %v\n", err)
|
||||
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
|
||||
|
||||
@@ -1,12 +1,12 @@
|
||||
---
|
||||
id: source-usages
|
||||
id: v2025-source-usages
|
||||
title: SourceUsages
|
||||
pagination_label: SourceUsages
|
||||
sidebar_label: SourceUsages
|
||||
sidebar_class_name: gosdk
|
||||
keywords: ['go', 'Golang', 'sdk', 'SourceUsages', 'SourceUsages']
|
||||
slug: /tools/sdk/go//methods/source-usages
|
||||
tags: ['SDK', 'Software Development Kit', 'SourceUsages', 'SourceUsages']
|
||||
keywords: ['go', 'Golang', 'sdk', 'SourceUsages', 'V2025SourceUsages']
|
||||
slug: /tools/sdk/go/v2025/methods/source-usages
|
||||
tags: ['SDK', 'Software Development Kit', 'SourceUsages', 'V2025SourceUsages']
|
||||
---
|
||||
|
||||
# SourceUsagesAPI
|
||||
@@ -26,7 +26,7 @@ Method | HTTP request | Description
|
||||
Finds status of source usage
|
||||
This API returns the status of the source usage insights setup by IDN source ID.
|
||||
|
||||
[API Spec](https://developer.sailpoint.com/docs/api//get-status-by-source-id)
|
||||
[API Spec](https://developer.sailpoint.com/docs/api/v2025/get-status-by-source-id)
|
||||
|
||||
### Path Parameters
|
||||
|
||||
@@ -63,7 +63,7 @@ import (
|
||||
"context"
|
||||
"fmt"
|
||||
"os"
|
||||
""
|
||||
v2025 "github.com/sailpoint-oss/golang-sdk/v2/api_v2025"
|
||||
openapiclient "github.com/sailpoint-oss/golang-sdk/v2"
|
||||
)
|
||||
|
||||
@@ -72,7 +72,7 @@ func main() {
|
||||
|
||||
configuration := NewDefaultConfiguration()
|
||||
apiClient := NewAPIClient(configuration)
|
||||
resp, r, err := apiClient..SourceUsagesAPI.GetStatusBySourceId(context.Background(), sourceId).Execute()
|
||||
resp, r, err := apiClient.V2025.SourceUsagesAPI.GetStatusBySourceId(context.Background(), sourceId).Execute()
|
||||
if err != nil {
|
||||
fmt.Fprintf(os.Stderr, "Error when calling `SourceUsagesAPI.GetStatusBySourceId``: %v\n", err)
|
||||
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
|
||||
@@ -88,7 +88,7 @@ func main() {
|
||||
Returns source usage insights
|
||||
This API returns a summary of source usage insights for past 12 months.
|
||||
|
||||
[API Spec](https://developer.sailpoint.com/docs/api//get-usages-by-source-id)
|
||||
[API Spec](https://developer.sailpoint.com/docs/api/v2025/get-usages-by-source-id)
|
||||
|
||||
### Path Parameters
|
||||
|
||||
@@ -129,7 +129,7 @@ import (
|
||||
"context"
|
||||
"fmt"
|
||||
"os"
|
||||
""
|
||||
v2025 "github.com/sailpoint-oss/golang-sdk/v2/api_v2025"
|
||||
openapiclient "github.com/sailpoint-oss/golang-sdk/v2"
|
||||
)
|
||||
|
||||
@@ -142,7 +142,7 @@ func main() {
|
||||
|
||||
configuration := NewDefaultConfiguration()
|
||||
apiClient := NewAPIClient(configuration)
|
||||
resp, r, err := apiClient..SourceUsagesAPI.GetUsagesBySourceId(context.Background(), sourceId).Limit(limit).Offset(offset).Count(count).Sorters(sorters).Execute()
|
||||
resp, r, err := apiClient.V2025.SourceUsagesAPI.GetUsagesBySourceId(context.Background(), sourceId).Limit(limit).Offset(offset).Count(count).Sorters(sorters).Execute()
|
||||
if err != nil {
|
||||
fmt.Fprintf(os.Stderr, "Error when calling `SourceUsagesAPI.GetUsagesBySourceId``: %v\n", err)
|
||||
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
|
||||
|
||||
File diff suppressed because it is too large
Load Diff
@@ -1,12 +1,12 @@
|
||||
---
|
||||
id: suggested-entitlement-description
|
||||
id: v2025-suggested-entitlement-description
|
||||
title: SuggestedEntitlementDescription
|
||||
pagination_label: SuggestedEntitlementDescription
|
||||
sidebar_label: SuggestedEntitlementDescription
|
||||
sidebar_class_name: gosdk
|
||||
keywords: ['go', 'Golang', 'sdk', 'SuggestedEntitlementDescription', 'SuggestedEntitlementDescription']
|
||||
slug: /tools/sdk/go//methods/suggested-entitlement-description
|
||||
tags: ['SDK', 'Software Development Kit', 'SuggestedEntitlementDescription', 'SuggestedEntitlementDescription']
|
||||
keywords: ['go', 'Golang', 'sdk', 'SuggestedEntitlementDescription', 'V2025SuggestedEntitlementDescription']
|
||||
slug: /tools/sdk/go/v2025/methods/suggested-entitlement-description
|
||||
tags: ['SDK', 'Software Development Kit', 'SuggestedEntitlementDescription', 'V2025SuggestedEntitlementDescription']
|
||||
---
|
||||
|
||||
# SuggestedEntitlementDescriptionAPI
|
||||
@@ -35,7 +35,7 @@ Submit Sed Batch Stats Request
|
||||
of the batchId.'
|
||||
|
||||
|
||||
[API Spec](https://developer.sailpoint.com/docs/api//get-sed-batch-stats)
|
||||
[API Spec](https://developer.sailpoint.com/docs/api/v2025/get-sed-batch-stats)
|
||||
|
||||
### Path Parameters
|
||||
|
||||
@@ -72,7 +72,7 @@ import (
|
||||
"context"
|
||||
"fmt"
|
||||
"os"
|
||||
""
|
||||
v2025 "github.com/sailpoint-oss/golang-sdk/v2/api_v2025"
|
||||
openapiclient "github.com/sailpoint-oss/golang-sdk/v2"
|
||||
)
|
||||
|
||||
@@ -81,7 +81,7 @@ func main() {
|
||||
|
||||
configuration := NewDefaultConfiguration()
|
||||
apiClient := NewAPIClient(configuration)
|
||||
resp, r, err := apiClient..SuggestedEntitlementDescriptionAPI.GetSedBatchStats(context.Background(), batchId).Execute()
|
||||
resp, r, err := apiClient.V2025.SuggestedEntitlementDescriptionAPI.GetSedBatchStats(context.Background(), batchId).Execute()
|
||||
if err != nil {
|
||||
fmt.Fprintf(os.Stderr, "Error when calling `SuggestedEntitlementDescriptionAPI.GetSedBatchStats``: %v\n", err)
|
||||
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
|
||||
@@ -98,7 +98,7 @@ List Sed Batch Request
|
||||
List Sed Batches.
|
||||
API responses with Sed Batch Status
|
||||
|
||||
[API Spec](https://developer.sailpoint.com/docs/api//get-sed-batches)
|
||||
[API Spec](https://developer.sailpoint.com/docs/api/v2025/get-sed-batches)
|
||||
|
||||
### Path Parameters
|
||||
|
||||
@@ -127,7 +127,7 @@ import (
|
||||
"context"
|
||||
"fmt"
|
||||
"os"
|
||||
""
|
||||
v2025 "github.com/sailpoint-oss/golang-sdk/v2/api_v2025"
|
||||
openapiclient "github.com/sailpoint-oss/golang-sdk/v2"
|
||||
)
|
||||
|
||||
@@ -135,7 +135,7 @@ func main() {
|
||||
|
||||
configuration := NewDefaultConfiguration()
|
||||
apiClient := NewAPIClient(configuration)
|
||||
resp, r, err := apiClient..SuggestedEntitlementDescriptionAPI.GetSedBatches(context.Background()).Execute()
|
||||
resp, r, err := apiClient.V2025.SuggestedEntitlementDescriptionAPI.GetSedBatches(context.Background()).Execute()
|
||||
if err != nil {
|
||||
fmt.Fprintf(os.Stderr, "Error when calling `SuggestedEntitlementDescriptionAPI.GetSedBatches``: %v\n", err)
|
||||
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
|
||||
@@ -165,7 +165,7 @@ SED field descriptions:
|
||||
|
||||
**fullText**: will filter suggested entitlement description records by text found in any of the following fields: entitlement name, entitlement display name, suggested description, source name
|
||||
|
||||
[API Spec](https://developer.sailpoint.com/docs/api//list-seds)
|
||||
[API Spec](https://developer.sailpoint.com/docs/api/v2025/list-seds)
|
||||
|
||||
### Path Parameters
|
||||
|
||||
@@ -205,7 +205,7 @@ import (
|
||||
"context"
|
||||
"fmt"
|
||||
"os"
|
||||
""
|
||||
v2025 "github.com/sailpoint-oss/golang-sdk/v2/api_v2025"
|
||||
openapiclient "github.com/sailpoint-oss/golang-sdk/v2"
|
||||
)
|
||||
|
||||
@@ -221,7 +221,7 @@ func main() {
|
||||
|
||||
configuration := NewDefaultConfiguration()
|
||||
apiClient := NewAPIClient(configuration)
|
||||
resp, r, err := apiClient..SuggestedEntitlementDescriptionAPI.ListSeds(context.Background()).Limit(limit).Offset(offset).Count(count).Filters(filters).Sorters(sorters).CountOnly(countOnly).RequestedByAnyone(requestedByAnyone).ShowPendingStatusOnly(showPendingStatusOnly).Execute()
|
||||
resp, r, err := apiClient.V2025.SuggestedEntitlementDescriptionAPI.ListSeds(context.Background()).Limit(limit).Offset(offset).Count(count).Filters(filters).Sorters(sorters).CountOnly(countOnly).RequestedByAnyone(requestedByAnyone).ShowPendingStatusOnly(showPendingStatusOnly).Execute()
|
||||
if err != nil {
|
||||
fmt.Fprintf(os.Stderr, "Error when calling `SuggestedEntitlementDescriptionAPI.ListSeds``: %v\n", err)
|
||||
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
|
||||
@@ -237,7 +237,7 @@ func main() {
|
||||
Patch Suggested Entitlement Description
|
||||
Patch Suggested Entitlement Description
|
||||
|
||||
[API Spec](https://developer.sailpoint.com/docs/api//patch-sed)
|
||||
[API Spec](https://developer.sailpoint.com/docs/api/v2025/patch-sed)
|
||||
|
||||
### Path Parameters
|
||||
|
||||
@@ -275,7 +275,7 @@ import (
|
||||
"context"
|
||||
"fmt"
|
||||
"os"
|
||||
""
|
||||
v2025 "github.com/sailpoint-oss/golang-sdk/v2/api_v2025"
|
||||
openapiclient "github.com/sailpoint-oss/golang-sdk/v2"
|
||||
)
|
||||
|
||||
@@ -285,7 +285,7 @@ func main() {
|
||||
|
||||
configuration := NewDefaultConfiguration()
|
||||
apiClient := NewAPIClient(configuration)
|
||||
resp, r, err := apiClient..SuggestedEntitlementDescriptionAPI.PatchSed(context.Background(), id).SedPatch(sedPatch).Execute()
|
||||
resp, r, err := apiClient.V2025.SuggestedEntitlementDescriptionAPI.PatchSed(context.Background(), id).SedPatch(sedPatch).Execute()
|
||||
if err != nil {
|
||||
fmt.Fprintf(os.Stderr, "Error when calling `SuggestedEntitlementDescriptionAPI.PatchSed``: %v\n", err)
|
||||
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
|
||||
@@ -302,7 +302,7 @@ Submit Bulk Approval Request
|
||||
Submit Bulk Approval Request for SED.
|
||||
Request body takes list of SED Ids. API responses with list of SED Approval Status
|
||||
|
||||
[API Spec](https://developer.sailpoint.com/docs/api//submit-sed-approval)
|
||||
[API Spec](https://developer.sailpoint.com/docs/api/v2025/submit-sed-approval)
|
||||
|
||||
### Path Parameters
|
||||
|
||||
@@ -335,7 +335,7 @@ import (
|
||||
"context"
|
||||
"fmt"
|
||||
"os"
|
||||
""
|
||||
v2025 "github.com/sailpoint-oss/golang-sdk/v2/api_v2025"
|
||||
openapiclient "github.com/sailpoint-oss/golang-sdk/v2"
|
||||
)
|
||||
|
||||
@@ -344,7 +344,7 @@ func main() {
|
||||
|
||||
configuration := NewDefaultConfiguration()
|
||||
apiClient := NewAPIClient(configuration)
|
||||
resp, r, err := apiClient..SuggestedEntitlementDescriptionAPI.SubmitSedApproval(context.Background()).SedApproval(sedApproval).Execute()
|
||||
resp, r, err := apiClient.V2025.SuggestedEntitlementDescriptionAPI.SubmitSedApproval(context.Background()).SedApproval(sedApproval).Execute()
|
||||
if err != nil {
|
||||
fmt.Fprintf(os.Stderr, "Error when calling `SuggestedEntitlementDescriptionAPI.SubmitSedApproval``: %v\n", err)
|
||||
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
|
||||
@@ -361,7 +361,7 @@ Submit Sed Assignment Request
|
||||
Submit Assignment Request.
|
||||
Request body has an assignee, and list of SED Ids that are assigned to that assignee API responses with batchId that groups all approval requests together
|
||||
|
||||
[API Spec](https://developer.sailpoint.com/docs/api//submit-sed-assignment)
|
||||
[API Spec](https://developer.sailpoint.com/docs/api/v2025/submit-sed-assignment)
|
||||
|
||||
### Path Parameters
|
||||
|
||||
@@ -394,7 +394,7 @@ import (
|
||||
"context"
|
||||
"fmt"
|
||||
"os"
|
||||
""
|
||||
v2025 "github.com/sailpoint-oss/golang-sdk/v2/api_v2025"
|
||||
openapiclient "github.com/sailpoint-oss/golang-sdk/v2"
|
||||
)
|
||||
|
||||
@@ -409,7 +409,7 @@ func main() {
|
||||
|
||||
configuration := NewDefaultConfiguration()
|
||||
apiClient := NewAPIClient(configuration)
|
||||
resp, r, err := apiClient..SuggestedEntitlementDescriptionAPI.SubmitSedAssignment(context.Background()).SedAssignment(sedAssignment).Execute()
|
||||
resp, r, err := apiClient.V2025.SuggestedEntitlementDescriptionAPI.SubmitSedAssignment(context.Background()).SedAssignment(sedAssignment).Execute()
|
||||
if err != nil {
|
||||
fmt.Fprintf(os.Stderr, "Error when calling `SuggestedEntitlementDescriptionAPI.SubmitSedAssignment``: %v\n", err)
|
||||
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
|
||||
@@ -426,7 +426,7 @@ Submit Sed Batch Request
|
||||
Submit Sed Batch Request.
|
||||
Request body has one of the following: - a list of entitlement Ids - a list of SED Ids that user wants to have description generated by LLM. API responses with batchId that groups Ids together
|
||||
|
||||
[API Spec](https://developer.sailpoint.com/docs/api//submit-sed-batch-request)
|
||||
[API Spec](https://developer.sailpoint.com/docs/api/v2025/submit-sed-batch-request)
|
||||
|
||||
### Path Parameters
|
||||
|
||||
@@ -459,7 +459,7 @@ import (
|
||||
"context"
|
||||
"fmt"
|
||||
"os"
|
||||
""
|
||||
v2025 "github.com/sailpoint-oss/golang-sdk/v2/api_v2025"
|
||||
openapiclient "github.com/sailpoint-oss/golang-sdk/v2"
|
||||
)
|
||||
|
||||
@@ -471,7 +471,7 @@ func main() {
|
||||
|
||||
configuration := NewDefaultConfiguration()
|
||||
apiClient := NewAPIClient(configuration)
|
||||
resp, r, err := apiClient..SuggestedEntitlementDescriptionAPI.SubmitSedBatchRequest(context.Background()).SedBatchRequest(sedBatchRequest).Execute()
|
||||
resp, r, err := apiClient.V2025.SuggestedEntitlementDescriptionAPI.SubmitSedBatchRequest(context.Background()).SedBatchRequest(sedBatchRequest).Execute()
|
||||
if err != nil {
|
||||
fmt.Fprintf(os.Stderr, "Error when calling `SuggestedEntitlementDescriptionAPI.SubmitSedBatchRequest``: %v\n", err)
|
||||
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
|
||||
|
||||
@@ -1,12 +1,12 @@
|
||||
---
|
||||
id: tagged-objects
|
||||
id: v2025-tagged-objects
|
||||
title: TaggedObjects
|
||||
pagination_label: TaggedObjects
|
||||
sidebar_label: TaggedObjects
|
||||
sidebar_class_name: gosdk
|
||||
keywords: ['go', 'Golang', 'sdk', 'TaggedObjects', 'TaggedObjects']
|
||||
slug: /tools/sdk/go//methods/tagged-objects
|
||||
tags: ['SDK', 'Software Development Kit', 'TaggedObjects', 'TaggedObjects']
|
||||
keywords: ['go', 'Golang', 'sdk', 'TaggedObjects', 'V2025TaggedObjects']
|
||||
slug: /tools/sdk/go/v2025/methods/tagged-objects
|
||||
tags: ['SDK', 'Software Development Kit', 'TaggedObjects', 'V2025TaggedObjects']
|
||||
---
|
||||
|
||||
# TaggedObjectsAPI
|
||||
@@ -82,7 +82,7 @@ Method | HTTP request | Description
|
||||
Delete Object Tags
|
||||
Delete all tags from a tagged object.
|
||||
|
||||
[API Spec](https://developer.sailpoint.com/docs/api//delete-tagged-object)
|
||||
[API Spec](https://developer.sailpoint.com/docs/api/v2025/delete-tagged-object)
|
||||
|
||||
### Path Parameters
|
||||
|
||||
@@ -121,7 +121,7 @@ import (
|
||||
"context"
|
||||
"fmt"
|
||||
"os"
|
||||
""
|
||||
v2025 "github.com/sailpoint-oss/golang-sdk/v2/api_v2025"
|
||||
openapiclient "github.com/sailpoint-oss/golang-sdk/v2"
|
||||
)
|
||||
|
||||
@@ -131,7 +131,7 @@ func main() {
|
||||
|
||||
configuration := NewDefaultConfiguration()
|
||||
apiClient := NewAPIClient(configuration)
|
||||
r, err := apiClient..TaggedObjectsAPI.DeleteTaggedObject(context.Background(), type_, id).Execute()
|
||||
r, err := apiClient.V2025.TaggedObjectsAPI.DeleteTaggedObject(context.Background(), type_, id).Execute()
|
||||
if err != nil {
|
||||
fmt.Fprintf(os.Stderr, "Error when calling `TaggedObjectsAPI.DeleteTaggedObject``: %v\n", err)
|
||||
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
|
||||
@@ -145,7 +145,7 @@ func main() {
|
||||
Remove Tags from Multiple Objects
|
||||
This API removes tags from multiple objects.
|
||||
|
||||
[API Spec](https://developer.sailpoint.com/docs/api//delete-tags-to-many-object)
|
||||
[API Spec](https://developer.sailpoint.com/docs/api/v2025/delete-tags-to-many-object)
|
||||
|
||||
### Path Parameters
|
||||
|
||||
@@ -178,7 +178,7 @@ import (
|
||||
"context"
|
||||
"fmt"
|
||||
"os"
|
||||
""
|
||||
v2025 "github.com/sailpoint-oss/golang-sdk/v2/api_v2025"
|
||||
openapiclient "github.com/sailpoint-oss/golang-sdk/v2"
|
||||
)
|
||||
|
||||
@@ -198,7 +198,7 @@ func main() {
|
||||
|
||||
configuration := NewDefaultConfiguration()
|
||||
apiClient := NewAPIClient(configuration)
|
||||
r, err := apiClient..TaggedObjectsAPI.DeleteTagsToManyObject(context.Background()).BulkRemoveTaggedObject(bulkRemoveTaggedObject).Execute()
|
||||
r, err := apiClient.V2025.TaggedObjectsAPI.DeleteTagsToManyObject(context.Background()).BulkRemoveTaggedObject(bulkRemoveTaggedObject).Execute()
|
||||
if err != nil {
|
||||
fmt.Fprintf(os.Stderr, "Error when calling `TaggedObjectsAPI.DeleteTagsToManyObject``: %v\n", err)
|
||||
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
|
||||
@@ -212,7 +212,7 @@ func main() {
|
||||
Get Tagged Object
|
||||
This gets a tagged object for the specified type.
|
||||
|
||||
[API Spec](https://developer.sailpoint.com/docs/api//get-tagged-object)
|
||||
[API Spec](https://developer.sailpoint.com/docs/api/v2025/get-tagged-object)
|
||||
|
||||
### Path Parameters
|
||||
|
||||
@@ -251,7 +251,7 @@ import (
|
||||
"context"
|
||||
"fmt"
|
||||
"os"
|
||||
""
|
||||
v2025 "github.com/sailpoint-oss/golang-sdk/v2/api_v2025"
|
||||
openapiclient "github.com/sailpoint-oss/golang-sdk/v2"
|
||||
)
|
||||
|
||||
@@ -261,7 +261,7 @@ func main() {
|
||||
|
||||
configuration := NewDefaultConfiguration()
|
||||
apiClient := NewAPIClient(configuration)
|
||||
resp, r, err := apiClient..TaggedObjectsAPI.GetTaggedObject(context.Background(), type_, id).Execute()
|
||||
resp, r, err := apiClient.V2025.TaggedObjectsAPI.GetTaggedObject(context.Background(), type_, id).Execute()
|
||||
if err != nil {
|
||||
fmt.Fprintf(os.Stderr, "Error when calling `TaggedObjectsAPI.GetTaggedObject``: %v\n", err)
|
||||
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
|
||||
@@ -279,7 +279,7 @@ This API returns a list of all tagged objects.
|
||||
|
||||
Any authenticated token may be used to call this API.
|
||||
|
||||
[API Spec](https://developer.sailpoint.com/docs/api//list-tagged-objects)
|
||||
[API Spec](https://developer.sailpoint.com/docs/api/v2025/list-tagged-objects)
|
||||
|
||||
### Path Parameters
|
||||
|
||||
@@ -315,7 +315,7 @@ import (
|
||||
"context"
|
||||
"fmt"
|
||||
"os"
|
||||
""
|
||||
v2025 "github.com/sailpoint-oss/golang-sdk/v2/api_v2025"
|
||||
openapiclient "github.com/sailpoint-oss/golang-sdk/v2"
|
||||
)
|
||||
|
||||
@@ -327,7 +327,7 @@ func main() {
|
||||
|
||||
configuration := NewDefaultConfiguration()
|
||||
apiClient := NewAPIClient(configuration)
|
||||
resp, r, err := apiClient..TaggedObjectsAPI.ListTaggedObjects(context.Background()).Limit(limit).Offset(offset).Count(count).Filters(filters).Execute()
|
||||
resp, r, err := apiClient.V2025.TaggedObjectsAPI.ListTaggedObjects(context.Background()).Limit(limit).Offset(offset).Count(count).Filters(filters).Execute()
|
||||
if err != nil {
|
||||
fmt.Fprintf(os.Stderr, "Error when calling `TaggedObjectsAPI.ListTaggedObjects``: %v\n", err)
|
||||
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
|
||||
@@ -345,7 +345,7 @@ This API returns a list of all tagged objects by type.
|
||||
|
||||
Any authenticated token may be used to call this API.
|
||||
|
||||
[API Spec](https://developer.sailpoint.com/docs/api//list-tagged-objects-by-type)
|
||||
[API Spec](https://developer.sailpoint.com/docs/api/v2025/list-tagged-objects-by-type)
|
||||
|
||||
### Path Parameters
|
||||
|
||||
@@ -386,7 +386,7 @@ import (
|
||||
"context"
|
||||
"fmt"
|
||||
"os"
|
||||
""
|
||||
v2025 "github.com/sailpoint-oss/golang-sdk/v2/api_v2025"
|
||||
openapiclient "github.com/sailpoint-oss/golang-sdk/v2"
|
||||
)
|
||||
|
||||
@@ -399,7 +399,7 @@ func main() {
|
||||
|
||||
configuration := NewDefaultConfiguration()
|
||||
apiClient := NewAPIClient(configuration)
|
||||
resp, r, err := apiClient..TaggedObjectsAPI.ListTaggedObjectsByType(context.Background(), type_).Limit(limit).Offset(offset).Count(count).Filters(filters).Execute()
|
||||
resp, r, err := apiClient.V2025.TaggedObjectsAPI.ListTaggedObjectsByType(context.Background(), type_).Limit(limit).Offset(offset).Count(count).Filters(filters).Execute()
|
||||
if err != nil {
|
||||
fmt.Fprintf(os.Stderr, "Error when calling `TaggedObjectsAPI.ListTaggedObjectsByType``: %v\n", err)
|
||||
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
|
||||
@@ -415,7 +415,7 @@ func main() {
|
||||
Update Tagged Object
|
||||
This updates a tagged object for the specified type.
|
||||
|
||||
[API Spec](https://developer.sailpoint.com/docs/api//put-tagged-object)
|
||||
[API Spec](https://developer.sailpoint.com/docs/api/v2025/put-tagged-object)
|
||||
|
||||
### Path Parameters
|
||||
|
||||
@@ -455,7 +455,7 @@ import (
|
||||
"context"
|
||||
"fmt"
|
||||
"os"
|
||||
""
|
||||
v2025 "github.com/sailpoint-oss/golang-sdk/v2/api_v2025"
|
||||
openapiclient "github.com/sailpoint-oss/golang-sdk/v2"
|
||||
)
|
||||
|
||||
@@ -473,7 +473,7 @@ func main() {
|
||||
|
||||
configuration := NewDefaultConfiguration()
|
||||
apiClient := NewAPIClient(configuration)
|
||||
resp, r, err := apiClient..TaggedObjectsAPI.PutTaggedObject(context.Background(), type_, id).TaggedObject(taggedObject).Execute()
|
||||
resp, r, err := apiClient.V2025.TaggedObjectsAPI.PutTaggedObject(context.Background(), type_, id).TaggedObject(taggedObject).Execute()
|
||||
if err != nil {
|
||||
fmt.Fprintf(os.Stderr, "Error when calling `TaggedObjectsAPI.PutTaggedObject``: %v\n", err)
|
||||
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
|
||||
@@ -491,7 +491,7 @@ This adds a tag to an object.
|
||||
|
||||
Any authenticated token may be used to call this API.
|
||||
|
||||
[API Spec](https://developer.sailpoint.com/docs/api//set-tag-to-object)
|
||||
[API Spec](https://developer.sailpoint.com/docs/api/v2025/set-tag-to-object)
|
||||
|
||||
### Path Parameters
|
||||
|
||||
@@ -524,7 +524,7 @@ import (
|
||||
"context"
|
||||
"fmt"
|
||||
"os"
|
||||
""
|
||||
v2025 "github.com/sailpoint-oss/golang-sdk/v2/api_v2025"
|
||||
openapiclient "github.com/sailpoint-oss/golang-sdk/v2"
|
||||
)
|
||||
|
||||
@@ -540,7 +540,7 @@ func main() {
|
||||
|
||||
configuration := NewDefaultConfiguration()
|
||||
apiClient := NewAPIClient(configuration)
|
||||
r, err := apiClient..TaggedObjectsAPI.SetTagToObject(context.Background()).TaggedObject(taggedObject).Execute()
|
||||
r, err := apiClient.V2025.TaggedObjectsAPI.SetTagToObject(context.Background()).TaggedObject(taggedObject).Execute()
|
||||
if err != nil {
|
||||
fmt.Fprintf(os.Stderr, "Error when calling `TaggedObjectsAPI.SetTagToObject``: %v\n", err)
|
||||
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
|
||||
@@ -554,7 +554,7 @@ func main() {
|
||||
Tag Multiple Objects
|
||||
This API adds tags to multiple objects.
|
||||
|
||||
[API Spec](https://developer.sailpoint.com/docs/api//set-tags-to-many-objects)
|
||||
[API Spec](https://developer.sailpoint.com/docs/api/v2025/set-tags-to-many-objects)
|
||||
|
||||
### Path Parameters
|
||||
|
||||
@@ -587,7 +587,7 @@ import (
|
||||
"context"
|
||||
"fmt"
|
||||
"os"
|
||||
""
|
||||
v2025 "github.com/sailpoint-oss/golang-sdk/v2/api_v2025"
|
||||
openapiclient "github.com/sailpoint-oss/golang-sdk/v2"
|
||||
)
|
||||
|
||||
@@ -608,7 +608,7 @@ func main() {
|
||||
|
||||
configuration := NewDefaultConfiguration()
|
||||
apiClient := NewAPIClient(configuration)
|
||||
resp, r, err := apiClient..TaggedObjectsAPI.SetTagsToManyObjects(context.Background()).BulkAddTaggedObject(bulkAddTaggedObject).Execute()
|
||||
resp, r, err := apiClient.V2025.TaggedObjectsAPI.SetTagsToManyObjects(context.Background()).BulkAddTaggedObject(bulkAddTaggedObject).Execute()
|
||||
if err != nil {
|
||||
fmt.Fprintf(os.Stderr, "Error when calling `TaggedObjectsAPI.SetTagsToManyObjects``: %v\n", err)
|
||||
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
|
||||
|
||||
@@ -1,12 +1,12 @@
|
||||
---
|
||||
id: task-management
|
||||
id: v2025-task-management
|
||||
title: TaskManagement
|
||||
pagination_label: TaskManagement
|
||||
sidebar_label: TaskManagement
|
||||
sidebar_class_name: gosdk
|
||||
keywords: ['go', 'Golang', 'sdk', 'TaskManagement', 'TaskManagement']
|
||||
slug: /tools/sdk/go//methods/task-management
|
||||
tags: ['SDK', 'Software Development Kit', 'TaskManagement', 'TaskManagement']
|
||||
keywords: ['go', 'Golang', 'sdk', 'TaskManagement', 'V2025TaskManagement']
|
||||
slug: /tools/sdk/go/v2025/methods/task-management
|
||||
tags: ['SDK', 'Software Development Kit', 'TaskManagement', 'V2025TaskManagement']
|
||||
---
|
||||
|
||||
# TaskManagementAPI
|
||||
@@ -37,7 +37,7 @@ This API is currently in an experimental state. The API is subject to change bas
|
||||
Retrieve Pending Task List Headers
|
||||
Responds with headers only for list of task statuses for pending tasks.
|
||||
|
||||
[API Spec](https://developer.sailpoint.com/docs/api//get-pending-task-headers)
|
||||
[API Spec](https://developer.sailpoint.com/docs/api/v2025/get-pending-task-headers)
|
||||
|
||||
### Path Parameters
|
||||
|
||||
@@ -73,7 +73,7 @@ import (
|
||||
"context"
|
||||
"fmt"
|
||||
"os"
|
||||
""
|
||||
v2025 "github.com/sailpoint-oss/golang-sdk/v2/api_v2025"
|
||||
openapiclient "github.com/sailpoint-oss/golang-sdk/v2"
|
||||
)
|
||||
|
||||
@@ -85,7 +85,7 @@ func main() {
|
||||
|
||||
configuration := NewDefaultConfiguration()
|
||||
apiClient := NewAPIClient(configuration)
|
||||
r, err := apiClient..TaskManagementAPI.GetPendingTaskHeaders(context.Background()).XSailPointExperimental(xSailPointExperimental).Offset(offset).Limit(limit).Count(count).Execute()
|
||||
r, err := apiClient.V2025.TaskManagementAPI.GetPendingTaskHeaders(context.Background()).XSailPointExperimental(xSailPointExperimental).Offset(offset).Limit(limit).Count(count).Execute()
|
||||
if err != nil {
|
||||
fmt.Fprintf(os.Stderr, "Error when calling `TaskManagementAPI.GetPendingTaskHeaders``: %v\n", err)
|
||||
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
|
||||
@@ -110,7 +110,7 @@ This API is currently in an experimental state. The API is subject to change bas
|
||||
Retrieve Pending Task Status List
|
||||
Retrieve a list of statuses for pending tasks. Types of tasks include account and entitlement aggregation and other general background processing tasks. Data for tasks older than 90 days will not be returned.
|
||||
|
||||
[API Spec](https://developer.sailpoint.com/docs/api//get-pending-tasks)
|
||||
[API Spec](https://developer.sailpoint.com/docs/api/v2025/get-pending-tasks)
|
||||
|
||||
### Path Parameters
|
||||
|
||||
@@ -146,7 +146,7 @@ import (
|
||||
"context"
|
||||
"fmt"
|
||||
"os"
|
||||
""
|
||||
v2025 "github.com/sailpoint-oss/golang-sdk/v2/api_v2025"
|
||||
openapiclient "github.com/sailpoint-oss/golang-sdk/v2"
|
||||
)
|
||||
|
||||
@@ -158,7 +158,7 @@ func main() {
|
||||
|
||||
configuration := NewDefaultConfiguration()
|
||||
apiClient := NewAPIClient(configuration)
|
||||
resp, r, err := apiClient..TaskManagementAPI.GetPendingTasks(context.Background()).XSailPointExperimental(xSailPointExperimental).Offset(offset).Limit(limit).Count(count).Execute()
|
||||
resp, r, err := apiClient.V2025.TaskManagementAPI.GetPendingTasks(context.Background()).XSailPointExperimental(xSailPointExperimental).Offset(offset).Limit(limit).Count(count).Execute()
|
||||
if err != nil {
|
||||
fmt.Fprintf(os.Stderr, "Error when calling `TaskManagementAPI.GetPendingTasks``: %v\n", err)
|
||||
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
|
||||
@@ -185,7 +185,7 @@ This API is currently in an experimental state. The API is subject to change bas
|
||||
Get Task Status by ID
|
||||
Get task status by task ID. Types of tasks include account and entitlement aggregation and other general background processing tasks. Data for tasks older than 90 days will not be returned.
|
||||
|
||||
[API Spec](https://developer.sailpoint.com/docs/api//get-task-status)
|
||||
[API Spec](https://developer.sailpoint.com/docs/api/v2025/get-task-status)
|
||||
|
||||
### Path Parameters
|
||||
|
||||
@@ -223,7 +223,7 @@ import (
|
||||
"context"
|
||||
"fmt"
|
||||
"os"
|
||||
""
|
||||
v2025 "github.com/sailpoint-oss/golang-sdk/v2/api_v2025"
|
||||
openapiclient "github.com/sailpoint-oss/golang-sdk/v2"
|
||||
)
|
||||
|
||||
@@ -233,7 +233,7 @@ func main() {
|
||||
|
||||
configuration := NewDefaultConfiguration()
|
||||
apiClient := NewAPIClient(configuration)
|
||||
resp, r, err := apiClient..TaskManagementAPI.GetTaskStatus(context.Background(), id).XSailPointExperimental(xSailPointExperimental).Execute()
|
||||
resp, r, err := apiClient.V2025.TaskManagementAPI.GetTaskStatus(context.Background(), id).XSailPointExperimental(xSailPointExperimental).Execute()
|
||||
if err != nil {
|
||||
fmt.Fprintf(os.Stderr, "Error when calling `TaskManagementAPI.GetTaskStatus``: %v\n", err)
|
||||
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
|
||||
@@ -261,7 +261,7 @@ Retrieve Task Status List
|
||||
Use this endpoint to get a list of statuses for **completed** tasks. Types of tasks include account and entitlement aggregation and other general background processing tasks. Data for tasks older than 90 days will not be returned. To get a list of statuses for **in-progress** tasks, please use the [retrieve pending task status list](https://developer.sailpoint.com/docs/api/v2024/get-pending-tasks) endpoint.
|
||||
|
||||
|
||||
[API Spec](https://developer.sailpoint.com/docs/api//get-task-status-list)
|
||||
[API Spec](https://developer.sailpoint.com/docs/api/v2025/get-task-status-list)
|
||||
|
||||
### Path Parameters
|
||||
|
||||
@@ -299,7 +299,7 @@ import (
|
||||
"context"
|
||||
"fmt"
|
||||
"os"
|
||||
""
|
||||
v2025 "github.com/sailpoint-oss/golang-sdk/v2/api_v2025"
|
||||
openapiclient "github.com/sailpoint-oss/golang-sdk/v2"
|
||||
)
|
||||
|
||||
@@ -313,7 +313,7 @@ func main() {
|
||||
|
||||
configuration := NewDefaultConfiguration()
|
||||
apiClient := NewAPIClient(configuration)
|
||||
resp, r, err := apiClient..TaskManagementAPI.GetTaskStatusList(context.Background()).XSailPointExperimental(xSailPointExperimental).Limit(limit).Offset(offset).Count(count).Filters(filters).Sorters(sorters).Execute()
|
||||
resp, r, err := apiClient.V2025.TaskManagementAPI.GetTaskStatusList(context.Background()).XSailPointExperimental(xSailPointExperimental).Limit(limit).Offset(offset).Count(count).Filters(filters).Sorters(sorters).Execute()
|
||||
if err != nil {
|
||||
fmt.Fprintf(os.Stderr, "Error when calling `TaskManagementAPI.GetTaskStatusList``: %v\n", err)
|
||||
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
|
||||
@@ -340,7 +340,7 @@ This API is currently in an experimental state. The API is subject to change bas
|
||||
Update Task Status by ID
|
||||
Update a current task status by task ID. Use this API to clear a pending task by updating the completionStatus and completed attributes.
|
||||
|
||||
[API Spec](https://developer.sailpoint.com/docs/api//update-task-status)
|
||||
[API Spec](https://developer.sailpoint.com/docs/api/v2025/update-task-status)
|
||||
|
||||
### Path Parameters
|
||||
|
||||
@@ -379,7 +379,7 @@ import (
|
||||
"context"
|
||||
"fmt"
|
||||
"os"
|
||||
""
|
||||
v2025 "github.com/sailpoint-oss/golang-sdk/v2/api_v2025"
|
||||
openapiclient "github.com/sailpoint-oss/golang-sdk/v2"
|
||||
)
|
||||
|
||||
@@ -390,7 +390,7 @@ func main() {
|
||||
|
||||
configuration := NewDefaultConfiguration()
|
||||
apiClient := NewAPIClient(configuration)
|
||||
resp, r, err := apiClient..TaskManagementAPI.UpdateTaskStatus(context.Background(), id).XSailPointExperimental(xSailPointExperimental).JsonPatchOperation(jsonPatchOperation).Execute()
|
||||
resp, r, err := apiClient.V2025.TaskManagementAPI.UpdateTaskStatus(context.Background(), id).XSailPointExperimental(xSailPointExperimental).JsonPatchOperation(jsonPatchOperation).Execute()
|
||||
if err != nil {
|
||||
fmt.Fprintf(os.Stderr, "Error when calling `TaskManagementAPI.UpdateTaskStatus``: %v\n", err)
|
||||
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
|
||||
|
||||
@@ -1,12 +1,12 @@
|
||||
---
|
||||
id: tenant
|
||||
id: v2025-tenant
|
||||
title: Tenant
|
||||
pagination_label: Tenant
|
||||
sidebar_label: Tenant
|
||||
sidebar_class_name: gosdk
|
||||
keywords: ['go', 'Golang', 'sdk', 'Tenant', 'Tenant']
|
||||
slug: /tools/sdk/go//methods/tenant
|
||||
tags: ['SDK', 'Software Development Kit', 'Tenant', 'Tenant']
|
||||
keywords: ['go', 'Golang', 'sdk', 'Tenant', 'V2025Tenant']
|
||||
slug: /tools/sdk/go/v2025/methods/tenant
|
||||
tags: ['SDK', 'Software Development Kit', 'Tenant', 'V2025Tenant']
|
||||
---
|
||||
|
||||
# TenantAPI
|
||||
@@ -22,7 +22,7 @@ Method | HTTP request | Description
|
||||
Get Tenant Information.
|
||||
This rest endpoint can be used to retrieve tenant details.
|
||||
|
||||
[API Spec](https://developer.sailpoint.com/docs/api//get-tenant)
|
||||
[API Spec](https://developer.sailpoint.com/docs/api/v2025/get-tenant)
|
||||
|
||||
### Path Parameters
|
||||
|
||||
@@ -51,7 +51,7 @@ import (
|
||||
"context"
|
||||
"fmt"
|
||||
"os"
|
||||
""
|
||||
v2025 "github.com/sailpoint-oss/golang-sdk/v2/api_v2025"
|
||||
openapiclient "github.com/sailpoint-oss/golang-sdk/v2"
|
||||
)
|
||||
|
||||
@@ -59,7 +59,7 @@ func main() {
|
||||
|
||||
configuration := NewDefaultConfiguration()
|
||||
apiClient := NewAPIClient(configuration)
|
||||
resp, r, err := apiClient..TenantAPI.GetTenant(context.Background()).Execute()
|
||||
resp, r, err := apiClient.V2025.TenantAPI.GetTenant(context.Background()).Execute()
|
||||
if err != nil {
|
||||
fmt.Fprintf(os.Stderr, "Error when calling `TenantAPI.GetTenant``: %v\n", err)
|
||||
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
|
||||
|
||||
@@ -1,12 +1,12 @@
|
||||
---
|
||||
id: tenant-context
|
||||
id: v2025-tenant-context
|
||||
title: TenantContext
|
||||
pagination_label: TenantContext
|
||||
sidebar_label: TenantContext
|
||||
sidebar_class_name: gosdk
|
||||
keywords: ['go', 'Golang', 'sdk', 'TenantContext', 'TenantContext']
|
||||
slug: /tools/sdk/go//methods/tenant-context
|
||||
tags: ['SDK', 'Software Development Kit', 'TenantContext', 'TenantContext']
|
||||
keywords: ['go', 'Golang', 'sdk', 'TenantContext', 'V2025TenantContext']
|
||||
slug: /tools/sdk/go/v2025/methods/tenant-context
|
||||
tags: ['SDK', 'Software Development Kit', 'TenantContext', 'V2025TenantContext']
|
||||
---
|
||||
|
||||
# TenantContextAPI
|
||||
@@ -37,7 +37,7 @@ Retrieve tenant context
|
||||
Returns a list of key-value pairs representing the current state of the tenant's context.
|
||||
|
||||
|
||||
[API Spec](https://developer.sailpoint.com/docs/api//get-tenant-context)
|
||||
[API Spec](https://developer.sailpoint.com/docs/api/v2025/get-tenant-context)
|
||||
|
||||
### Path Parameters
|
||||
|
||||
@@ -70,7 +70,7 @@ import (
|
||||
"context"
|
||||
"fmt"
|
||||
"os"
|
||||
""
|
||||
v2025 "github.com/sailpoint-oss/golang-sdk/v2/api_v2025"
|
||||
openapiclient "github.com/sailpoint-oss/golang-sdk/v2"
|
||||
)
|
||||
|
||||
@@ -79,7 +79,7 @@ func main() {
|
||||
|
||||
configuration := NewDefaultConfiguration()
|
||||
apiClient := NewAPIClient(configuration)
|
||||
resp, r, err := apiClient..TenantContextAPI.GetTenantContext(context.Background()).XSailPointExperimental(xSailPointExperimental).Execute()
|
||||
resp, r, err := apiClient.V2025.TenantContextAPI.GetTenantContext(context.Background()).XSailPointExperimental(xSailPointExperimental).Execute()
|
||||
if err != nil {
|
||||
fmt.Fprintf(os.Stderr, "Error when calling `TenantContextAPI.GetTenantContext``: %v\n", err)
|
||||
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
|
||||
@@ -111,7 +111,7 @@ This endpoint is specifically designed to modify the `/Key/*` field, supporting
|
||||
Note that each tenant is limited to a maximum of 100 key-value pairs.
|
||||
|
||||
|
||||
[API Spec](https://developer.sailpoint.com/docs/api//patch-tenant-context)
|
||||
[API Spec](https://developer.sailpoint.com/docs/api/v2025/patch-tenant-context)
|
||||
|
||||
### Path Parameters
|
||||
|
||||
@@ -145,7 +145,7 @@ import (
|
||||
"context"
|
||||
"fmt"
|
||||
"os"
|
||||
""
|
||||
v2025 "github.com/sailpoint-oss/golang-sdk/v2/api_v2025"
|
||||
openapiclient "github.com/sailpoint-oss/golang-sdk/v2"
|
||||
)
|
||||
|
||||
@@ -159,7 +159,7 @@ func main() {
|
||||
|
||||
configuration := NewDefaultConfiguration()
|
||||
apiClient := NewAPIClient(configuration)
|
||||
r, err := apiClient..TenantContextAPI.PatchTenantContext(context.Background()).XSailPointExperimental(xSailPointExperimental).JsonPatchOperation(jsonPatchOperation).Execute()
|
||||
r, err := apiClient.V2025.TenantContextAPI.PatchTenantContext(context.Background()).XSailPointExperimental(xSailPointExperimental).JsonPatchOperation(jsonPatchOperation).Execute()
|
||||
if err != nil {
|
||||
fmt.Fprintf(os.Stderr, "Error when calling `TenantContextAPI.PatchTenantContext``: %v\n", err)
|
||||
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
|
||||
|
||||
@@ -1,12 +1,12 @@
|
||||
---
|
||||
id: transforms
|
||||
id: v2025-transforms
|
||||
title: Transforms
|
||||
pagination_label: Transforms
|
||||
sidebar_label: Transforms
|
||||
sidebar_class_name: gosdk
|
||||
keywords: ['go', 'Golang', 'sdk', 'Transforms', 'Transforms']
|
||||
slug: /tools/sdk/go//methods/transforms
|
||||
tags: ['SDK', 'Software Development Kit', 'Transforms', 'Transforms']
|
||||
keywords: ['go', 'Golang', 'sdk', 'Transforms', 'V2025Transforms']
|
||||
slug: /tools/sdk/go/v2025/methods/transforms
|
||||
tags: ['SDK', 'Software Development Kit', 'Transforms', 'V2025Transforms']
|
||||
---
|
||||
|
||||
# TransformsAPI
|
||||
@@ -31,7 +31,7 @@ Method | HTTP request | Description
|
||||
Create transform
|
||||
Creates a new transform object immediately. By default, the internal flag is set to false to indicate that this is a custom transform. Only SailPoint employees have the ability to create a transform with internal set to true. Newly created Transforms can be used in the Identity Profile mappings within the UI.
|
||||
|
||||
[API Spec](https://developer.sailpoint.com/docs/api//create-transform)
|
||||
[API Spec](https://developer.sailpoint.com/docs/api/v2025/create-transform)
|
||||
|
||||
### Path Parameters
|
||||
|
||||
@@ -64,7 +64,7 @@ import (
|
||||
"context"
|
||||
"fmt"
|
||||
"os"
|
||||
""
|
||||
v2025 "github.com/sailpoint-oss/golang-sdk/v2/api_v2025"
|
||||
openapiclient "github.com/sailpoint-oss/golang-sdk/v2"
|
||||
)
|
||||
|
||||
@@ -77,7 +77,7 @@ func main() {
|
||||
|
||||
configuration := NewDefaultConfiguration()
|
||||
apiClient := NewAPIClient(configuration)
|
||||
resp, r, err := apiClient..TransformsAPI.CreateTransform(context.Background()).Transform(transform).Execute()
|
||||
resp, r, err := apiClient.V2025.TransformsAPI.CreateTransform(context.Background()).Transform(transform).Execute()
|
||||
if err != nil {
|
||||
fmt.Fprintf(os.Stderr, "Error when calling `TransformsAPI.CreateTransform``: %v\n", err)
|
||||
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
|
||||
@@ -93,7 +93,7 @@ func main() {
|
||||
Delete a transform
|
||||
Deletes the transform specified by the given ID. Attempting to delete a transform that is used in one or more Identity Profile mappings will result in an error. If this occurs, you must first remove the transform from all mappings before deleting the transform.
|
||||
|
||||
[API Spec](https://developer.sailpoint.com/docs/api//delete-transform)
|
||||
[API Spec](https://developer.sailpoint.com/docs/api/v2025/delete-transform)
|
||||
|
||||
### Path Parameters
|
||||
|
||||
@@ -130,7 +130,7 @@ import (
|
||||
"context"
|
||||
"fmt"
|
||||
"os"
|
||||
""
|
||||
v2025 "github.com/sailpoint-oss/golang-sdk/v2/api_v2025"
|
||||
openapiclient "github.com/sailpoint-oss/golang-sdk/v2"
|
||||
)
|
||||
|
||||
@@ -139,7 +139,7 @@ func main() {
|
||||
|
||||
configuration := NewDefaultConfiguration()
|
||||
apiClient := NewAPIClient(configuration)
|
||||
r, err := apiClient..TransformsAPI.DeleteTransform(context.Background(), id).Execute()
|
||||
r, err := apiClient.V2025.TransformsAPI.DeleteTransform(context.Background(), id).Execute()
|
||||
if err != nil {
|
||||
fmt.Fprintf(os.Stderr, "Error when calling `TransformsAPI.DeleteTransform``: %v\n", err)
|
||||
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
|
||||
@@ -153,7 +153,7 @@ func main() {
|
||||
Transform by ID
|
||||
This API returns the transform specified by the given ID.
|
||||
|
||||
[API Spec](https://developer.sailpoint.com/docs/api//get-transform)
|
||||
[API Spec](https://developer.sailpoint.com/docs/api/v2025/get-transform)
|
||||
|
||||
### Path Parameters
|
||||
|
||||
@@ -190,7 +190,7 @@ import (
|
||||
"context"
|
||||
"fmt"
|
||||
"os"
|
||||
""
|
||||
v2025 "github.com/sailpoint-oss/golang-sdk/v2/api_v2025"
|
||||
openapiclient "github.com/sailpoint-oss/golang-sdk/v2"
|
||||
)
|
||||
|
||||
@@ -199,7 +199,7 @@ func main() {
|
||||
|
||||
configuration := NewDefaultConfiguration()
|
||||
apiClient := NewAPIClient(configuration)
|
||||
resp, r, err := apiClient..TransformsAPI.GetTransform(context.Background(), id).Execute()
|
||||
resp, r, err := apiClient.V2025.TransformsAPI.GetTransform(context.Background(), id).Execute()
|
||||
if err != nil {
|
||||
fmt.Fprintf(os.Stderr, "Error when calling `TransformsAPI.GetTransform``: %v\n", err)
|
||||
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
|
||||
@@ -215,7 +215,7 @@ func main() {
|
||||
List transforms
|
||||
Gets a list of all saved transform objects.
|
||||
|
||||
[API Spec](https://developer.sailpoint.com/docs/api//list-transforms)
|
||||
[API Spec](https://developer.sailpoint.com/docs/api/v2025/list-transforms)
|
||||
|
||||
### Path Parameters
|
||||
|
||||
@@ -252,7 +252,7 @@ import (
|
||||
"context"
|
||||
"fmt"
|
||||
"os"
|
||||
""
|
||||
v2025 "github.com/sailpoint-oss/golang-sdk/v2/api_v2025"
|
||||
openapiclient "github.com/sailpoint-oss/golang-sdk/v2"
|
||||
)
|
||||
|
||||
@@ -265,7 +265,7 @@ func main() {
|
||||
|
||||
configuration := NewDefaultConfiguration()
|
||||
apiClient := NewAPIClient(configuration)
|
||||
resp, r, err := apiClient..TransformsAPI.ListTransforms(context.Background()).Offset(offset).Limit(limit).Count(count).Name(name).Filters(filters).Execute()
|
||||
resp, r, err := apiClient.V2025.TransformsAPI.ListTransforms(context.Background()).Offset(offset).Limit(limit).Count(count).Name(name).Filters(filters).Execute()
|
||||
if err != nil {
|
||||
fmt.Fprintf(os.Stderr, "Error when calling `TransformsAPI.ListTransforms``: %v\n", err)
|
||||
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
|
||||
@@ -281,7 +281,7 @@ func main() {
|
||||
Update a transform
|
||||
Replaces the transform specified by the given ID with the transform provided in the request body. Only the "attributes" field is mutable. Attempting to change other properties (ex. "name" and "type") will result in an error.
|
||||
|
||||
[API Spec](https://developer.sailpoint.com/docs/api//update-transform)
|
||||
[API Spec](https://developer.sailpoint.com/docs/api/v2025/update-transform)
|
||||
|
||||
### Path Parameters
|
||||
|
||||
@@ -319,7 +319,7 @@ import (
|
||||
"context"
|
||||
"fmt"
|
||||
"os"
|
||||
""
|
||||
v2025 "github.com/sailpoint-oss/golang-sdk/v2/api_v2025"
|
||||
openapiclient "github.com/sailpoint-oss/golang-sdk/v2"
|
||||
)
|
||||
|
||||
@@ -333,7 +333,7 @@ func main() {
|
||||
|
||||
configuration := NewDefaultConfiguration()
|
||||
apiClient := NewAPIClient(configuration)
|
||||
resp, r, err := apiClient..TransformsAPI.UpdateTransform(context.Background(), id).Transform(transform).Execute()
|
||||
resp, r, err := apiClient.V2025.TransformsAPI.UpdateTransform(context.Background(), id).Transform(transform).Execute()
|
||||
if err != nil {
|
||||
fmt.Fprintf(os.Stderr, "Error when calling `TransformsAPI.UpdateTransform``: %v\n", err)
|
||||
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
|
||||
|
||||
@@ -1,12 +1,12 @@
|
||||
---
|
||||
id: triggers
|
||||
id: v2025-triggers
|
||||
title: Triggers
|
||||
pagination_label: Triggers
|
||||
sidebar_label: Triggers
|
||||
sidebar_class_name: gosdk
|
||||
keywords: ['go', 'Golang', 'sdk', 'Triggers', 'Triggers']
|
||||
slug: /tools/sdk/go//methods/triggers
|
||||
tags: ['SDK', 'Software Development Kit', 'Triggers', 'Triggers']
|
||||
keywords: ['go', 'Golang', 'sdk', 'Triggers', 'V2025Triggers']
|
||||
slug: /tools/sdk/go/v2025/methods/triggers
|
||||
tags: ['SDK', 'Software Development Kit', 'Triggers', 'V2025Triggers']
|
||||
---
|
||||
|
||||
# TriggersAPI
|
||||
@@ -83,7 +83,7 @@ This API is currently in an experimental state. The API is subject to change bas
|
||||
Complete Trigger Invocation
|
||||
Completes an invocation to a REQUEST_RESPONSE type trigger.
|
||||
|
||||
[API Spec](https://developer.sailpoint.com/docs/api//complete-trigger-invocation)
|
||||
[API Spec](https://developer.sailpoint.com/docs/api/v2025/complete-trigger-invocation)
|
||||
|
||||
### Path Parameters
|
||||
|
||||
@@ -122,7 +122,7 @@ import (
|
||||
"context"
|
||||
"fmt"
|
||||
"os"
|
||||
""
|
||||
v2025 "github.com/sailpoint-oss/golang-sdk/v2/api_v2025"
|
||||
openapiclient "github.com/sailpoint-oss/golang-sdk/v2"
|
||||
)
|
||||
|
||||
@@ -139,7 +139,7 @@ func main() {
|
||||
|
||||
configuration := NewDefaultConfiguration()
|
||||
apiClient := NewAPIClient(configuration)
|
||||
r, err := apiClient..TriggersAPI.CompleteTriggerInvocation(context.Background(), id).XSailPointExperimental(xSailPointExperimental).CompleteInvocation(completeInvocation).Execute()
|
||||
r, err := apiClient.V2025.TriggersAPI.CompleteTriggerInvocation(context.Background(), id).XSailPointExperimental(xSailPointExperimental).CompleteInvocation(completeInvocation).Execute()
|
||||
if err != nil {
|
||||
fmt.Fprintf(os.Stderr, "Error when calling `TriggersAPI.CompleteTriggerInvocation``: %v\n", err)
|
||||
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
|
||||
@@ -166,7 +166,7 @@ This API creates a new subscription to a trigger and defines trigger invocation
|
||||
* HTTP subscriptions require httpConfig
|
||||
* EventBridge subscriptions require eventBridgeConfig
|
||||
|
||||
[API Spec](https://developer.sailpoint.com/docs/api//create-subscription)
|
||||
[API Spec](https://developer.sailpoint.com/docs/api/v2025/create-subscription)
|
||||
|
||||
### Path Parameters
|
||||
|
||||
@@ -200,7 +200,7 @@ import (
|
||||
"context"
|
||||
"fmt"
|
||||
"os"
|
||||
""
|
||||
v2025 "github.com/sailpoint-oss/golang-sdk/v2/api_v2025"
|
||||
openapiclient "github.com/sailpoint-oss/golang-sdk/v2"
|
||||
)
|
||||
|
||||
@@ -234,7 +234,7 @@ func main() {
|
||||
|
||||
configuration := NewDefaultConfiguration()
|
||||
apiClient := NewAPIClient(configuration)
|
||||
resp, r, err := apiClient..TriggersAPI.CreateSubscription(context.Background()).XSailPointExperimental(xSailPointExperimental).SubscriptionPostRequest(subscriptionPostRequest).Execute()
|
||||
resp, r, err := apiClient.V2025.TriggersAPI.CreateSubscription(context.Background()).XSailPointExperimental(xSailPointExperimental).SubscriptionPostRequest(subscriptionPostRequest).Execute()
|
||||
if err != nil {
|
||||
fmt.Fprintf(os.Stderr, "Error when calling `TriggersAPI.CreateSubscription``: %v\n", err)
|
||||
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
|
||||
@@ -261,7 +261,7 @@ This API is currently in an experimental state. The API is subject to change bas
|
||||
Delete a Subscription
|
||||
Deletes an existing subscription to a trigger.
|
||||
|
||||
[API Spec](https://developer.sailpoint.com/docs/api//delete-subscription)
|
||||
[API Spec](https://developer.sailpoint.com/docs/api/v2025/delete-subscription)
|
||||
|
||||
### Path Parameters
|
||||
|
||||
@@ -299,7 +299,7 @@ import (
|
||||
"context"
|
||||
"fmt"
|
||||
"os"
|
||||
""
|
||||
v2025 "github.com/sailpoint-oss/golang-sdk/v2/api_v2025"
|
||||
openapiclient "github.com/sailpoint-oss/golang-sdk/v2"
|
||||
)
|
||||
|
||||
@@ -309,7 +309,7 @@ func main() {
|
||||
|
||||
configuration := NewDefaultConfiguration()
|
||||
apiClient := NewAPIClient(configuration)
|
||||
r, err := apiClient..TriggersAPI.DeleteSubscription(context.Background(), id).XSailPointExperimental(xSailPointExperimental).Execute()
|
||||
r, err := apiClient.V2025.TriggersAPI.DeleteSubscription(context.Background(), id).XSailPointExperimental(xSailPointExperimental).Execute()
|
||||
if err != nil {
|
||||
fmt.Fprintf(os.Stderr, "Error when calling `TriggersAPI.DeleteSubscription``: %v\n", err)
|
||||
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
|
||||
@@ -334,7 +334,7 @@ This API is currently in an experimental state. The API is subject to change bas
|
||||
List Subscriptions
|
||||
Gets a list of all trigger subscriptions.
|
||||
|
||||
[API Spec](https://developer.sailpoint.com/docs/api//list-subscriptions)
|
||||
[API Spec](https://developer.sailpoint.com/docs/api/v2025/list-subscriptions)
|
||||
|
||||
### Path Parameters
|
||||
|
||||
@@ -372,7 +372,7 @@ import (
|
||||
"context"
|
||||
"fmt"
|
||||
"os"
|
||||
""
|
||||
v2025 "github.com/sailpoint-oss/golang-sdk/v2/api_v2025"
|
||||
openapiclient "github.com/sailpoint-oss/golang-sdk/v2"
|
||||
)
|
||||
|
||||
@@ -386,7 +386,7 @@ func main() {
|
||||
|
||||
configuration := NewDefaultConfiguration()
|
||||
apiClient := NewAPIClient(configuration)
|
||||
resp, r, err := apiClient..TriggersAPI.ListSubscriptions(context.Background()).XSailPointExperimental(xSailPointExperimental).Limit(limit).Offset(offset).Count(count).Filters(filters).Sorters(sorters).Execute()
|
||||
resp, r, err := apiClient.V2025.TriggersAPI.ListSubscriptions(context.Background()).XSailPointExperimental(xSailPointExperimental).Limit(limit).Offset(offset).Count(count).Filters(filters).Sorters(sorters).Execute()
|
||||
if err != nil {
|
||||
fmt.Fprintf(os.Stderr, "Error when calling `TriggersAPI.ListSubscriptions``: %v\n", err)
|
||||
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
|
||||
@@ -415,7 +415,7 @@ Gets a list of latest invocation statuses.
|
||||
Statuses of successful invocations are available for up to 24 hours. Statuses of failed invocations are available for up to 48 hours.
|
||||
This endpoint may only fetch up to 2000 invocations, and should not be treated as a representation of the full history of invocations.
|
||||
|
||||
[API Spec](https://developer.sailpoint.com/docs/api//list-trigger-invocation-status)
|
||||
[API Spec](https://developer.sailpoint.com/docs/api/v2025/list-trigger-invocation-status)
|
||||
|
||||
### Path Parameters
|
||||
|
||||
@@ -453,7 +453,7 @@ import (
|
||||
"context"
|
||||
"fmt"
|
||||
"os"
|
||||
""
|
||||
v2025 "github.com/sailpoint-oss/golang-sdk/v2/api_v2025"
|
||||
openapiclient "github.com/sailpoint-oss/golang-sdk/v2"
|
||||
)
|
||||
|
||||
@@ -467,7 +467,7 @@ func main() {
|
||||
|
||||
configuration := NewDefaultConfiguration()
|
||||
apiClient := NewAPIClient(configuration)
|
||||
resp, r, err := apiClient..TriggersAPI.ListTriggerInvocationStatus(context.Background()).XSailPointExperimental(xSailPointExperimental).Limit(limit).Offset(offset).Count(count).Filters(filters).Sorters(sorters).Execute()
|
||||
resp, r, err := apiClient.V2025.TriggersAPI.ListTriggerInvocationStatus(context.Background()).XSailPointExperimental(xSailPointExperimental).Limit(limit).Offset(offset).Count(count).Filters(filters).Sorters(sorters).Execute()
|
||||
if err != nil {
|
||||
fmt.Fprintf(os.Stderr, "Error when calling `TriggersAPI.ListTriggerInvocationStatus``: %v\n", err)
|
||||
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
|
||||
@@ -494,7 +494,7 @@ This API is currently in an experimental state. The API is subject to change bas
|
||||
List Triggers
|
||||
Gets a list of triggers that are available in the tenant.
|
||||
|
||||
[API Spec](https://developer.sailpoint.com/docs/api//list-triggers)
|
||||
[API Spec](https://developer.sailpoint.com/docs/api/v2025/list-triggers)
|
||||
|
||||
### Path Parameters
|
||||
|
||||
@@ -532,7 +532,7 @@ import (
|
||||
"context"
|
||||
"fmt"
|
||||
"os"
|
||||
""
|
||||
v2025 "github.com/sailpoint-oss/golang-sdk/v2/api_v2025"
|
||||
openapiclient "github.com/sailpoint-oss/golang-sdk/v2"
|
||||
)
|
||||
|
||||
@@ -546,7 +546,7 @@ func main() {
|
||||
|
||||
configuration := NewDefaultConfiguration()
|
||||
apiClient := NewAPIClient(configuration)
|
||||
resp, r, err := apiClient..TriggersAPI.ListTriggers(context.Background()).XSailPointExperimental(xSailPointExperimental).Limit(limit).Offset(offset).Count(count).Filters(filters).Sorters(sorters).Execute()
|
||||
resp, r, err := apiClient.V2025.TriggersAPI.ListTriggers(context.Background()).XSailPointExperimental(xSailPointExperimental).Limit(limit).Offset(offset).Count(count).Filters(filters).Sorters(sorters).Execute()
|
||||
if err != nil {
|
||||
fmt.Fprintf(os.Stderr, "Error when calling `TriggersAPI.ListTriggers``: %v\n", err)
|
||||
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
|
||||
@@ -575,7 +575,7 @@ This API updates a trigger subscription in IdentityNow, using a set of instructi
|
||||
|
||||
**name**, **description**, **enabled**, **type**, **filter**, **responseDeadline**, **httpConfig**, **eventBridgeConfig**, **workflowConfig**
|
||||
|
||||
[API Spec](https://developer.sailpoint.com/docs/api//patch-subscription)
|
||||
[API Spec](https://developer.sailpoint.com/docs/api/v2025/patch-subscription)
|
||||
|
||||
### Path Parameters
|
||||
|
||||
@@ -614,7 +614,7 @@ import (
|
||||
"context"
|
||||
"fmt"
|
||||
"os"
|
||||
""
|
||||
v2025 "github.com/sailpoint-oss/golang-sdk/v2/api_v2025"
|
||||
openapiclient "github.com/sailpoint-oss/golang-sdk/v2"
|
||||
)
|
||||
|
||||
@@ -625,7 +625,7 @@ func main() {
|
||||
|
||||
configuration := NewDefaultConfiguration()
|
||||
apiClient := NewAPIClient(configuration)
|
||||
resp, r, err := apiClient..TriggersAPI.PatchSubscription(context.Background(), id).XSailPointExperimental(xSailPointExperimental).SubscriptionPatchRequestInner(subscriptionPatchRequestInner).Execute()
|
||||
resp, r, err := apiClient.V2025.TriggersAPI.PatchSubscription(context.Background(), id).XSailPointExperimental(xSailPointExperimental).SubscriptionPatchRequestInner(subscriptionPatchRequestInner).Execute()
|
||||
if err != nil {
|
||||
fmt.Fprintf(os.Stderr, "Error when calling `TriggersAPI.PatchSubscription``: %v\n", err)
|
||||
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
|
||||
@@ -652,7 +652,7 @@ This API is currently in an experimental state. The API is subject to change bas
|
||||
Start a Test Invocation
|
||||
Initiate a test event for all subscribers of the specified event trigger. If there are no subscribers to the specified trigger in the tenant, then no test event will be sent.
|
||||
|
||||
[API Spec](https://developer.sailpoint.com/docs/api//start-test-trigger-invocation)
|
||||
[API Spec](https://developer.sailpoint.com/docs/api/v2025/start-test-trigger-invocation)
|
||||
|
||||
### Path Parameters
|
||||
|
||||
@@ -686,7 +686,7 @@ import (
|
||||
"context"
|
||||
"fmt"
|
||||
"os"
|
||||
""
|
||||
v2025 "github.com/sailpoint-oss/golang-sdk/v2/api_v2025"
|
||||
openapiclient "github.com/sailpoint-oss/golang-sdk/v2"
|
||||
)
|
||||
|
||||
@@ -705,7 +705,7 @@ func main() {
|
||||
|
||||
configuration := NewDefaultConfiguration()
|
||||
apiClient := NewAPIClient(configuration)
|
||||
resp, r, err := apiClient..TriggersAPI.StartTestTriggerInvocation(context.Background()).XSailPointExperimental(xSailPointExperimental).TestInvocation(testInvocation).Execute()
|
||||
resp, r, err := apiClient.V2025.TriggersAPI.StartTestTriggerInvocation(context.Background()).XSailPointExperimental(xSailPointExperimental).TestInvocation(testInvocation).Execute()
|
||||
if err != nil {
|
||||
fmt.Fprintf(os.Stderr, "Error when calling `TriggersAPI.StartTestTriggerInvocation``: %v\n", err)
|
||||
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
|
||||
@@ -733,7 +733,7 @@ Validate a Subscription Filter
|
||||
Validates a JSONPath filter expression against a provided mock input.
|
||||
Request requires a security scope of:
|
||||
|
||||
[API Spec](https://developer.sailpoint.com/docs/api//test-subscription-filter)
|
||||
[API Spec](https://developer.sailpoint.com/docs/api/v2025/test-subscription-filter)
|
||||
|
||||
### Path Parameters
|
||||
|
||||
@@ -767,7 +767,7 @@ import (
|
||||
"context"
|
||||
"fmt"
|
||||
"os"
|
||||
""
|
||||
v2025 "github.com/sailpoint-oss/golang-sdk/v2/api_v2025"
|
||||
openapiclient "github.com/sailpoint-oss/golang-sdk/v2"
|
||||
)
|
||||
|
||||
@@ -782,7 +782,7 @@ func main() {
|
||||
|
||||
configuration := NewDefaultConfiguration()
|
||||
apiClient := NewAPIClient(configuration)
|
||||
resp, r, err := apiClient..TriggersAPI.TestSubscriptionFilter(context.Background()).XSailPointExperimental(xSailPointExperimental).ValidateFilterInputDto(validateFilterInputDto).Execute()
|
||||
resp, r, err := apiClient.V2025.TriggersAPI.TestSubscriptionFilter(context.Background()).XSailPointExperimental(xSailPointExperimental).ValidateFilterInputDto(validateFilterInputDto).Execute()
|
||||
if err != nil {
|
||||
fmt.Fprintf(os.Stderr, "Error when calling `TriggersAPI.TestSubscriptionFilter``: %v\n", err)
|
||||
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
|
||||
@@ -818,7 +818,7 @@ This API updates a trigger subscription in IdentityNow, using a full object repr
|
||||
|
||||
Attempts to modify these fields result in 400.
|
||||
|
||||
[API Spec](https://developer.sailpoint.com/docs/api//update-subscription)
|
||||
[API Spec](https://developer.sailpoint.com/docs/api/v2025/update-subscription)
|
||||
|
||||
### Path Parameters
|
||||
|
||||
@@ -857,7 +857,7 @@ import (
|
||||
"context"
|
||||
"fmt"
|
||||
"os"
|
||||
""
|
||||
v2025 "github.com/sailpoint-oss/golang-sdk/v2/api_v2025"
|
||||
openapiclient "github.com/sailpoint-oss/golang-sdk/v2"
|
||||
)
|
||||
|
||||
@@ -891,7 +891,7 @@ func main() {
|
||||
|
||||
configuration := NewDefaultConfiguration()
|
||||
apiClient := NewAPIClient(configuration)
|
||||
resp, r, err := apiClient..TriggersAPI.UpdateSubscription(context.Background(), id).XSailPointExperimental(xSailPointExperimental).SubscriptionPutRequest(subscriptionPutRequest).Execute()
|
||||
resp, r, err := apiClient.V2025.TriggersAPI.UpdateSubscription(context.Background(), id).XSailPointExperimental(xSailPointExperimental).SubscriptionPutRequest(subscriptionPutRequest).Execute()
|
||||
if err != nil {
|
||||
fmt.Fprintf(os.Stderr, "Error when calling `TriggersAPI.UpdateSubscription``: %v\n", err)
|
||||
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
|
||||
|
||||
@@ -1,12 +1,12 @@
|
||||
---
|
||||
id: ui-metadata
|
||||
id: v2025-ui-metadata
|
||||
title: UIMetadata
|
||||
pagination_label: UIMetadata
|
||||
sidebar_label: UIMetadata
|
||||
sidebar_class_name: gosdk
|
||||
keywords: ['go', 'Golang', 'sdk', 'UIMetadata', 'UIMetadata']
|
||||
slug: /tools/sdk/go//methods/ui-metadata
|
||||
tags: ['SDK', 'Software Development Kit', 'UIMetadata', 'UIMetadata']
|
||||
keywords: ['go', 'Golang', 'sdk', 'UIMetadata', 'V2025UIMetadata']
|
||||
slug: /tools/sdk/go/v2025/methods/ui-metadata
|
||||
tags: ['SDK', 'Software Development Kit', 'UIMetadata', 'V2025UIMetadata']
|
||||
---
|
||||
|
||||
# UIMetadataAPI
|
||||
@@ -35,7 +35,7 @@ This API is currently in an experimental state. The API is subject to change bas
|
||||
Get a tenant UI metadata
|
||||
This API endpoint retrieves UI metadata configured for your tenant.
|
||||
|
||||
[API Spec](https://developer.sailpoint.com/docs/api//get-tenant-ui-metadata)
|
||||
[API Spec](https://developer.sailpoint.com/docs/api/v2025/get-tenant-ui-metadata)
|
||||
|
||||
### Path Parameters
|
||||
|
||||
@@ -68,7 +68,7 @@ import (
|
||||
"context"
|
||||
"fmt"
|
||||
"os"
|
||||
""
|
||||
v2025 "github.com/sailpoint-oss/golang-sdk/v2/api_v2025"
|
||||
openapiclient "github.com/sailpoint-oss/golang-sdk/v2"
|
||||
)
|
||||
|
||||
@@ -77,7 +77,7 @@ func main() {
|
||||
|
||||
configuration := NewDefaultConfiguration()
|
||||
apiClient := NewAPIClient(configuration)
|
||||
resp, r, err := apiClient..UIMetadataAPI.GetTenantUiMetadata(context.Background()).XSailPointExperimental(xSailPointExperimental).Execute()
|
||||
resp, r, err := apiClient.V2025.UIMetadataAPI.GetTenantUiMetadata(context.Background()).XSailPointExperimental(xSailPointExperimental).Execute()
|
||||
if err != nil {
|
||||
fmt.Fprintf(os.Stderr, "Error when calling `UIMetadataAPI.GetTenantUiMetadata``: %v\n", err)
|
||||
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
|
||||
@@ -104,7 +104,7 @@ This API is currently in an experimental state. The API is subject to change bas
|
||||
Update tenant UI metadata
|
||||
This API endpoint updates UI metadata for your tenant. These changes may require up to 5 minutes to take effect on the UI.
|
||||
|
||||
[API Spec](https://developer.sailpoint.com/docs/api//set-tenant-ui-metadata)
|
||||
[API Spec](https://developer.sailpoint.com/docs/api/v2025/set-tenant-ui-metadata)
|
||||
|
||||
### Path Parameters
|
||||
|
||||
@@ -138,7 +138,7 @@ import (
|
||||
"context"
|
||||
"fmt"
|
||||
"os"
|
||||
""
|
||||
v2025 "github.com/sailpoint-oss/golang-sdk/v2/api_v2025"
|
||||
openapiclient "github.com/sailpoint-oss/golang-sdk/v2"
|
||||
)
|
||||
|
||||
@@ -152,7 +152,7 @@ func main() {
|
||||
|
||||
configuration := NewDefaultConfiguration()
|
||||
apiClient := NewAPIClient(configuration)
|
||||
resp, r, err := apiClient..UIMetadataAPI.SetTenantUiMetadata(context.Background()).XSailPointExperimental(xSailPointExperimental).TenantUiMetadataItemUpdateRequest(tenantUiMetadataItemUpdateRequest).Execute()
|
||||
resp, r, err := apiClient.V2025.UIMetadataAPI.SetTenantUiMetadata(context.Background()).XSailPointExperimental(xSailPointExperimental).TenantUiMetadataItemUpdateRequest(tenantUiMetadataItemUpdateRequest).Execute()
|
||||
if err != nil {
|
||||
fmt.Fprintf(os.Stderr, "Error when calling `UIMetadataAPI.SetTenantUiMetadata``: %v\n", err)
|
||||
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
|
||||
|
||||
@@ -1,12 +1,12 @@
|
||||
---
|
||||
id: vendor-connector-mappings
|
||||
id: v2025-vendor-connector-mappings
|
||||
title: VendorConnectorMappings
|
||||
pagination_label: VendorConnectorMappings
|
||||
sidebar_label: VendorConnectorMappings
|
||||
sidebar_class_name: gosdk
|
||||
keywords: ['go', 'Golang', 'sdk', 'VendorConnectorMappings', 'VendorConnectorMappings']
|
||||
slug: /tools/sdk/go//methods/vendor-connector-mappings
|
||||
tags: ['SDK', 'Software Development Kit', 'VendorConnectorMappings', 'VendorConnectorMappings']
|
||||
keywords: ['go', 'Golang', 'sdk', 'VendorConnectorMappings', 'V2025VendorConnectorMappings']
|
||||
slug: /tools/sdk/go/v2025/methods/vendor-connector-mappings
|
||||
tags: ['SDK', 'Software Development Kit', 'VendorConnectorMappings', 'V2025VendorConnectorMappings']
|
||||
---
|
||||
|
||||
# VendorConnectorMappingsAPI
|
||||
@@ -29,7 +29,7 @@ Create Vendor Connector Mapping
|
||||
Create a new mapping between a SaaS vendor and an ISC connector to establish correlation paths.
|
||||
|
||||
|
||||
[API Spec](https://developer.sailpoint.com/docs/api//create-vendor-connector-mapping)
|
||||
[API Spec](https://developer.sailpoint.com/docs/api/v2025/create-vendor-connector-mapping)
|
||||
|
||||
### Path Parameters
|
||||
|
||||
@@ -62,7 +62,7 @@ import (
|
||||
"context"
|
||||
"fmt"
|
||||
"os"
|
||||
""
|
||||
v2025 "github.com/sailpoint-oss/golang-sdk/v2/api_v2025"
|
||||
openapiclient "github.com/sailpoint-oss/golang-sdk/v2"
|
||||
)
|
||||
|
||||
@@ -93,7 +93,7 @@ func main() {
|
||||
|
||||
configuration := NewDefaultConfiguration()
|
||||
apiClient := NewAPIClient(configuration)
|
||||
resp, r, err := apiClient..VendorConnectorMappingsAPI.CreateVendorConnectorMapping(context.Background()).VendorConnectorMapping(vendorConnectorMapping).Execute()
|
||||
resp, r, err := apiClient.V2025.VendorConnectorMappingsAPI.CreateVendorConnectorMapping(context.Background()).VendorConnectorMapping(vendorConnectorMapping).Execute()
|
||||
if err != nil {
|
||||
fmt.Fprintf(os.Stderr, "Error when calling `VendorConnectorMappingsAPI.CreateVendorConnectorMapping``: %v\n", err)
|
||||
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
|
||||
@@ -110,7 +110,7 @@ Delete Vendor Connector Mapping
|
||||
Soft delete a mapping between a SaaS vendor and an ISC connector, removing the established correlation.
|
||||
|
||||
|
||||
[API Spec](https://developer.sailpoint.com/docs/api//delete-vendor-connector-mapping)
|
||||
[API Spec](https://developer.sailpoint.com/docs/api/v2025/delete-vendor-connector-mapping)
|
||||
|
||||
### Path Parameters
|
||||
|
||||
@@ -143,7 +143,7 @@ import (
|
||||
"context"
|
||||
"fmt"
|
||||
"os"
|
||||
""
|
||||
v2025 "github.com/sailpoint-oss/golang-sdk/v2/api_v2025"
|
||||
openapiclient "github.com/sailpoint-oss/golang-sdk/v2"
|
||||
)
|
||||
|
||||
@@ -174,7 +174,7 @@ func main() {
|
||||
|
||||
configuration := NewDefaultConfiguration()
|
||||
apiClient := NewAPIClient(configuration)
|
||||
resp, r, err := apiClient..VendorConnectorMappingsAPI.DeleteVendorConnectorMapping(context.Background()).VendorConnectorMapping(vendorConnectorMapping).Execute()
|
||||
resp, r, err := apiClient.V2025.VendorConnectorMappingsAPI.DeleteVendorConnectorMapping(context.Background()).VendorConnectorMapping(vendorConnectorMapping).Execute()
|
||||
if err != nil {
|
||||
fmt.Fprintf(os.Stderr, "Error when calling `VendorConnectorMappingsAPI.DeleteVendorConnectorMapping``: %v\n", err)
|
||||
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
|
||||
@@ -191,7 +191,7 @@ List Vendor Connector Mappings
|
||||
Get a list of mappings between SaaS vendors and ISC connectors, detailing the connections established for correlation.
|
||||
|
||||
|
||||
[API Spec](https://developer.sailpoint.com/docs/api//get-vendor-connector-mappings)
|
||||
[API Spec](https://developer.sailpoint.com/docs/api/v2025/get-vendor-connector-mappings)
|
||||
|
||||
### Path Parameters
|
||||
|
||||
@@ -220,7 +220,7 @@ import (
|
||||
"context"
|
||||
"fmt"
|
||||
"os"
|
||||
""
|
||||
v2025 "github.com/sailpoint-oss/golang-sdk/v2/api_v2025"
|
||||
openapiclient "github.com/sailpoint-oss/golang-sdk/v2"
|
||||
)
|
||||
|
||||
@@ -228,7 +228,7 @@ func main() {
|
||||
|
||||
configuration := NewDefaultConfiguration()
|
||||
apiClient := NewAPIClient(configuration)
|
||||
resp, r, err := apiClient..VendorConnectorMappingsAPI.GetVendorConnectorMappings(context.Background()).Execute()
|
||||
resp, r, err := apiClient.V2025.VendorConnectorMappingsAPI.GetVendorConnectorMappings(context.Background()).Execute()
|
||||
if err != nil {
|
||||
fmt.Fprintf(os.Stderr, "Error when calling `VendorConnectorMappingsAPI.GetVendorConnectorMappings``: %v\n", err)
|
||||
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
|
||||
|
||||
@@ -1,12 +1,12 @@
|
||||
---
|
||||
id: work-items
|
||||
id: v2025-work-items
|
||||
title: WorkItems
|
||||
pagination_label: WorkItems
|
||||
sidebar_label: WorkItems
|
||||
sidebar_class_name: gosdk
|
||||
keywords: ['go', 'Golang', 'sdk', 'WorkItems', 'WorkItems']
|
||||
slug: /tools/sdk/go//methods/work-items
|
||||
tags: ['SDK', 'Software Development Kit', 'WorkItems', 'WorkItems']
|
||||
keywords: ['go', 'Golang', 'sdk', 'WorkItems', 'V2025WorkItems']
|
||||
slug: /tools/sdk/go/v2025/methods/work-items
|
||||
tags: ['SDK', 'Software Development Kit', 'WorkItems', 'V2025WorkItems']
|
||||
---
|
||||
|
||||
# WorkItemsAPI
|
||||
@@ -48,7 +48,7 @@ Method | HTTP request | Description
|
||||
Approve an Approval Item
|
||||
This API approves an Approval Item. Either an admin, or the owning/current user must make this request.
|
||||
|
||||
[API Spec](https://developer.sailpoint.com/docs/api//approve-approval-item)
|
||||
[API Spec](https://developer.sailpoint.com/docs/api/v2025/approve-approval-item)
|
||||
|
||||
### Path Parameters
|
||||
|
||||
@@ -87,7 +87,7 @@ import (
|
||||
"context"
|
||||
"fmt"
|
||||
"os"
|
||||
""
|
||||
v2025 "github.com/sailpoint-oss/golang-sdk/v2/api_v2025"
|
||||
openapiclient "github.com/sailpoint-oss/golang-sdk/v2"
|
||||
)
|
||||
|
||||
@@ -97,7 +97,7 @@ func main() {
|
||||
|
||||
configuration := NewDefaultConfiguration()
|
||||
apiClient := NewAPIClient(configuration)
|
||||
resp, r, err := apiClient..WorkItemsAPI.ApproveApprovalItem(context.Background(), id, approvalItemId).Execute()
|
||||
resp, r, err := apiClient.V2025.WorkItemsAPI.ApproveApprovalItem(context.Background(), id, approvalItemId).Execute()
|
||||
if err != nil {
|
||||
fmt.Fprintf(os.Stderr, "Error when calling `WorkItemsAPI.ApproveApprovalItem``: %v\n", err)
|
||||
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
|
||||
@@ -113,7 +113,7 @@ func main() {
|
||||
Bulk approve Approval Items
|
||||
This API bulk approves Approval Items. Either an admin, or the owning/current user must make this request.
|
||||
|
||||
[API Spec](https://developer.sailpoint.com/docs/api//approve-approval-items-in-bulk)
|
||||
[API Spec](https://developer.sailpoint.com/docs/api/v2025/approve-approval-items-in-bulk)
|
||||
|
||||
### Path Parameters
|
||||
|
||||
@@ -150,7 +150,7 @@ import (
|
||||
"context"
|
||||
"fmt"
|
||||
"os"
|
||||
""
|
||||
v2025 "github.com/sailpoint-oss/golang-sdk/v2/api_v2025"
|
||||
openapiclient "github.com/sailpoint-oss/golang-sdk/v2"
|
||||
)
|
||||
|
||||
@@ -159,7 +159,7 @@ func main() {
|
||||
|
||||
configuration := NewDefaultConfiguration()
|
||||
apiClient := NewAPIClient(configuration)
|
||||
resp, r, err := apiClient..WorkItemsAPI.ApproveApprovalItemsInBulk(context.Background(), id).Execute()
|
||||
resp, r, err := apiClient.V2025.WorkItemsAPI.ApproveApprovalItemsInBulk(context.Background(), id).Execute()
|
||||
if err != nil {
|
||||
fmt.Fprintf(os.Stderr, "Error when calling `WorkItemsAPI.ApproveApprovalItemsInBulk``: %v\n", err)
|
||||
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
|
||||
@@ -175,7 +175,7 @@ func main() {
|
||||
Complete a Work Item
|
||||
This API completes a work item. Either an admin, or the owning/current user must make this request.
|
||||
|
||||
[API Spec](https://developer.sailpoint.com/docs/api//complete-work-item)
|
||||
[API Spec](https://developer.sailpoint.com/docs/api/v2025/complete-work-item)
|
||||
|
||||
### Path Parameters
|
||||
|
||||
@@ -213,7 +213,7 @@ import (
|
||||
"context"
|
||||
"fmt"
|
||||
"os"
|
||||
""
|
||||
v2025 "github.com/sailpoint-oss/golang-sdk/v2/api_v2025"
|
||||
openapiclient "github.com/sailpoint-oss/golang-sdk/v2"
|
||||
)
|
||||
|
||||
@@ -223,7 +223,7 @@ func main() {
|
||||
|
||||
configuration := NewDefaultConfiguration()
|
||||
apiClient := NewAPIClient(configuration)
|
||||
resp, r, err := apiClient..WorkItemsAPI.CompleteWorkItem(context.Background(), id).Body(body).Execute()
|
||||
resp, r, err := apiClient.V2025.WorkItemsAPI.CompleteWorkItem(context.Background(), id).Body(body).Execute()
|
||||
if err != nil {
|
||||
fmt.Fprintf(os.Stderr, "Error when calling `WorkItemsAPI.CompleteWorkItem``: %v\n", err)
|
||||
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
|
||||
@@ -250,7 +250,7 @@ This API is currently in an experimental state. The API is subject to change bas
|
||||
Forward a Work Item
|
||||
This API forwards a work item to a new owner. Either an admin, or the owning/current user must make this request.
|
||||
|
||||
[API Spec](https://developer.sailpoint.com/docs/api//forward-work-item)
|
||||
[API Spec](https://developer.sailpoint.com/docs/api/v2025/forward-work-item)
|
||||
|
||||
### Path Parameters
|
||||
|
||||
@@ -289,7 +289,7 @@ import (
|
||||
"context"
|
||||
"fmt"
|
||||
"os"
|
||||
""
|
||||
v2025 "github.com/sailpoint-oss/golang-sdk/v2/api_v2025"
|
||||
openapiclient "github.com/sailpoint-oss/golang-sdk/v2"
|
||||
)
|
||||
|
||||
@@ -304,7 +304,7 @@ func main() {
|
||||
|
||||
configuration := NewDefaultConfiguration()
|
||||
apiClient := NewAPIClient(configuration)
|
||||
r, err := apiClient..WorkItemsAPI.ForwardWorkItem(context.Background(), id).XSailPointExperimental(xSailPointExperimental).WorkItemForward(workItemForward).Execute()
|
||||
r, err := apiClient.V2025.WorkItemsAPI.ForwardWorkItem(context.Background(), id).XSailPointExperimental(xSailPointExperimental).WorkItemForward(workItemForward).Execute()
|
||||
if err != nil {
|
||||
fmt.Fprintf(os.Stderr, "Error when calling `WorkItemsAPI.ForwardWorkItem``: %v\n", err)
|
||||
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
|
||||
@@ -318,7 +318,7 @@ func main() {
|
||||
Completed Work Items
|
||||
This gets a collection of completed work items belonging to either the specified user(admin required), or the current user.
|
||||
|
||||
[API Spec](https://developer.sailpoint.com/docs/api//get-completed-work-items)
|
||||
[API Spec](https://developer.sailpoint.com/docs/api/v2025/get-completed-work-items)
|
||||
|
||||
### Path Parameters
|
||||
|
||||
@@ -354,7 +354,7 @@ import (
|
||||
"context"
|
||||
"fmt"
|
||||
"os"
|
||||
""
|
||||
v2025 "github.com/sailpoint-oss/golang-sdk/v2/api_v2025"
|
||||
openapiclient "github.com/sailpoint-oss/golang-sdk/v2"
|
||||
)
|
||||
|
||||
@@ -366,7 +366,7 @@ func main() {
|
||||
|
||||
configuration := NewDefaultConfiguration()
|
||||
apiClient := NewAPIClient(configuration)
|
||||
resp, r, err := apiClient..WorkItemsAPI.GetCompletedWorkItems(context.Background()).OwnerId(ownerId).Limit(limit).Offset(offset).Count(count).Execute()
|
||||
resp, r, err := apiClient.V2025.WorkItemsAPI.GetCompletedWorkItems(context.Background()).OwnerId(ownerId).Limit(limit).Offset(offset).Count(count).Execute()
|
||||
if err != nil {
|
||||
fmt.Fprintf(os.Stderr, "Error when calling `WorkItemsAPI.GetCompletedWorkItems``: %v\n", err)
|
||||
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
|
||||
@@ -393,7 +393,7 @@ This API is currently in an experimental state. The API is subject to change bas
|
||||
Count Completed Work Items
|
||||
This gets a count of completed work items belonging to either the specified user(admin required), or the current user.
|
||||
|
||||
[API Spec](https://developer.sailpoint.com/docs/api//get-count-completed-work-items)
|
||||
[API Spec](https://developer.sailpoint.com/docs/api/v2025/get-count-completed-work-items)
|
||||
|
||||
### Path Parameters
|
||||
|
||||
@@ -427,7 +427,7 @@ import (
|
||||
"context"
|
||||
"fmt"
|
||||
"os"
|
||||
""
|
||||
v2025 "github.com/sailpoint-oss/golang-sdk/v2/api_v2025"
|
||||
openapiclient "github.com/sailpoint-oss/golang-sdk/v2"
|
||||
)
|
||||
|
||||
@@ -437,7 +437,7 @@ func main() {
|
||||
|
||||
configuration := NewDefaultConfiguration()
|
||||
apiClient := NewAPIClient(configuration)
|
||||
resp, r, err := apiClient..WorkItemsAPI.GetCountCompletedWorkItems(context.Background()).XSailPointExperimental(xSailPointExperimental).OwnerId(ownerId).Execute()
|
||||
resp, r, err := apiClient.V2025.WorkItemsAPI.GetCountCompletedWorkItems(context.Background()).XSailPointExperimental(xSailPointExperimental).OwnerId(ownerId).Execute()
|
||||
if err != nil {
|
||||
fmt.Fprintf(os.Stderr, "Error when calling `WorkItemsAPI.GetCountCompletedWorkItems``: %v\n", err)
|
||||
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
|
||||
@@ -453,7 +453,7 @@ func main() {
|
||||
Count Work Items
|
||||
This gets a count of work items belonging to either the specified user(admin required), or the current user.
|
||||
|
||||
[API Spec](https://developer.sailpoint.com/docs/api//get-count-work-items)
|
||||
[API Spec](https://developer.sailpoint.com/docs/api/v2025/get-count-work-items)
|
||||
|
||||
### Path Parameters
|
||||
|
||||
@@ -486,7 +486,7 @@ import (
|
||||
"context"
|
||||
"fmt"
|
||||
"os"
|
||||
""
|
||||
v2025 "github.com/sailpoint-oss/golang-sdk/v2/api_v2025"
|
||||
openapiclient "github.com/sailpoint-oss/golang-sdk/v2"
|
||||
)
|
||||
|
||||
@@ -495,7 +495,7 @@ func main() {
|
||||
|
||||
configuration := NewDefaultConfiguration()
|
||||
apiClient := NewAPIClient(configuration)
|
||||
resp, r, err := apiClient..WorkItemsAPI.GetCountWorkItems(context.Background()).OwnerId(ownerId).Execute()
|
||||
resp, r, err := apiClient.V2025.WorkItemsAPI.GetCountWorkItems(context.Background()).OwnerId(ownerId).Execute()
|
||||
if err != nil {
|
||||
fmt.Fprintf(os.Stderr, "Error when calling `WorkItemsAPI.GetCountWorkItems``: %v\n", err)
|
||||
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
|
||||
@@ -511,7 +511,7 @@ func main() {
|
||||
Get a Work Item
|
||||
This gets the details of a Work Item belonging to either the specified user(admin required), or the current user.
|
||||
|
||||
[API Spec](https://developer.sailpoint.com/docs/api//get-work-item)
|
||||
[API Spec](https://developer.sailpoint.com/docs/api/v2025/get-work-item)
|
||||
|
||||
### Path Parameters
|
||||
|
||||
@@ -548,7 +548,7 @@ import (
|
||||
"context"
|
||||
"fmt"
|
||||
"os"
|
||||
""
|
||||
v2025 "github.com/sailpoint-oss/golang-sdk/v2/api_v2025"
|
||||
openapiclient "github.com/sailpoint-oss/golang-sdk/v2"
|
||||
)
|
||||
|
||||
@@ -557,7 +557,7 @@ func main() {
|
||||
|
||||
configuration := NewDefaultConfiguration()
|
||||
apiClient := NewAPIClient(configuration)
|
||||
resp, r, err := apiClient..WorkItemsAPI.GetWorkItem(context.Background(), id).Execute()
|
||||
resp, r, err := apiClient.V2025.WorkItemsAPI.GetWorkItem(context.Background(), id).Execute()
|
||||
if err != nil {
|
||||
fmt.Fprintf(os.Stderr, "Error when calling `WorkItemsAPI.GetWorkItem``: %v\n", err)
|
||||
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
|
||||
@@ -573,7 +573,7 @@ func main() {
|
||||
Work Items Summary
|
||||
This gets a summary of work items belonging to either the specified user(admin required), or the current user.
|
||||
|
||||
[API Spec](https://developer.sailpoint.com/docs/api//get-work-items-summary)
|
||||
[API Spec](https://developer.sailpoint.com/docs/api/v2025/get-work-items-summary)
|
||||
|
||||
### Path Parameters
|
||||
|
||||
@@ -606,7 +606,7 @@ import (
|
||||
"context"
|
||||
"fmt"
|
||||
"os"
|
||||
""
|
||||
v2025 "github.com/sailpoint-oss/golang-sdk/v2/api_v2025"
|
||||
openapiclient "github.com/sailpoint-oss/golang-sdk/v2"
|
||||
)
|
||||
|
||||
@@ -615,7 +615,7 @@ func main() {
|
||||
|
||||
configuration := NewDefaultConfiguration()
|
||||
apiClient := NewAPIClient(configuration)
|
||||
resp, r, err := apiClient..WorkItemsAPI.GetWorkItemsSummary(context.Background()).OwnerId(ownerId).Execute()
|
||||
resp, r, err := apiClient.V2025.WorkItemsAPI.GetWorkItemsSummary(context.Background()).OwnerId(ownerId).Execute()
|
||||
if err != nil {
|
||||
fmt.Fprintf(os.Stderr, "Error when calling `WorkItemsAPI.GetWorkItemsSummary``: %v\n", err)
|
||||
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
|
||||
@@ -631,7 +631,7 @@ func main() {
|
||||
List Work Items
|
||||
This gets a collection of work items belonging to either the specified user(admin required), or the current user.
|
||||
|
||||
[API Spec](https://developer.sailpoint.com/docs/api//list-work-items)
|
||||
[API Spec](https://developer.sailpoint.com/docs/api/v2025/list-work-items)
|
||||
|
||||
### Path Parameters
|
||||
|
||||
@@ -667,7 +667,7 @@ import (
|
||||
"context"
|
||||
"fmt"
|
||||
"os"
|
||||
""
|
||||
v2025 "github.com/sailpoint-oss/golang-sdk/v2/api_v2025"
|
||||
openapiclient "github.com/sailpoint-oss/golang-sdk/v2"
|
||||
)
|
||||
|
||||
@@ -679,7 +679,7 @@ func main() {
|
||||
|
||||
configuration := NewDefaultConfiguration()
|
||||
apiClient := NewAPIClient(configuration)
|
||||
resp, r, err := apiClient..WorkItemsAPI.ListWorkItems(context.Background()).Limit(limit).Offset(offset).Count(count).OwnerId(ownerId).Execute()
|
||||
resp, r, err := apiClient.V2025.WorkItemsAPI.ListWorkItems(context.Background()).Limit(limit).Offset(offset).Count(count).OwnerId(ownerId).Execute()
|
||||
if err != nil {
|
||||
fmt.Fprintf(os.Stderr, "Error when calling `WorkItemsAPI.ListWorkItems``: %v\n", err)
|
||||
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
|
||||
@@ -695,7 +695,7 @@ func main() {
|
||||
Reject an Approval Item
|
||||
This API rejects an Approval Item. Either an admin, or the owning/current user must make this request.
|
||||
|
||||
[API Spec](https://developer.sailpoint.com/docs/api//reject-approval-item)
|
||||
[API Spec](https://developer.sailpoint.com/docs/api/v2025/reject-approval-item)
|
||||
|
||||
### Path Parameters
|
||||
|
||||
@@ -734,7 +734,7 @@ import (
|
||||
"context"
|
||||
"fmt"
|
||||
"os"
|
||||
""
|
||||
v2025 "github.com/sailpoint-oss/golang-sdk/v2/api_v2025"
|
||||
openapiclient "github.com/sailpoint-oss/golang-sdk/v2"
|
||||
)
|
||||
|
||||
@@ -744,7 +744,7 @@ func main() {
|
||||
|
||||
configuration := NewDefaultConfiguration()
|
||||
apiClient := NewAPIClient(configuration)
|
||||
resp, r, err := apiClient..WorkItemsAPI.RejectApprovalItem(context.Background(), id, approvalItemId).Execute()
|
||||
resp, r, err := apiClient.V2025.WorkItemsAPI.RejectApprovalItem(context.Background(), id, approvalItemId).Execute()
|
||||
if err != nil {
|
||||
fmt.Fprintf(os.Stderr, "Error when calling `WorkItemsAPI.RejectApprovalItem``: %v\n", err)
|
||||
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
|
||||
@@ -760,7 +760,7 @@ func main() {
|
||||
Bulk reject Approval Items
|
||||
This API bulk rejects Approval Items. Either an admin, or the owning/current user must make this request.
|
||||
|
||||
[API Spec](https://developer.sailpoint.com/docs/api//reject-approval-items-in-bulk)
|
||||
[API Spec](https://developer.sailpoint.com/docs/api/v2025/reject-approval-items-in-bulk)
|
||||
|
||||
### Path Parameters
|
||||
|
||||
@@ -797,7 +797,7 @@ import (
|
||||
"context"
|
||||
"fmt"
|
||||
"os"
|
||||
""
|
||||
v2025 "github.com/sailpoint-oss/golang-sdk/v2/api_v2025"
|
||||
openapiclient "github.com/sailpoint-oss/golang-sdk/v2"
|
||||
)
|
||||
|
||||
@@ -806,7 +806,7 @@ func main() {
|
||||
|
||||
configuration := NewDefaultConfiguration()
|
||||
apiClient := NewAPIClient(configuration)
|
||||
resp, r, err := apiClient..WorkItemsAPI.RejectApprovalItemsInBulk(context.Background(), id).Execute()
|
||||
resp, r, err := apiClient.V2025.WorkItemsAPI.RejectApprovalItemsInBulk(context.Background(), id).Execute()
|
||||
if err != nil {
|
||||
fmt.Fprintf(os.Stderr, "Error when calling `WorkItemsAPI.RejectApprovalItemsInBulk``: %v\n", err)
|
||||
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
|
||||
@@ -822,7 +822,7 @@ func main() {
|
||||
Submit Account Selections
|
||||
This API submits account selections. Either an admin, or the owning/current user must make this request.
|
||||
|
||||
[API Spec](https://developer.sailpoint.com/docs/api//submit-account-selection)
|
||||
[API Spec](https://developer.sailpoint.com/docs/api/v2025/submit-account-selection)
|
||||
|
||||
### Path Parameters
|
||||
|
||||
@@ -860,7 +860,7 @@ import (
|
||||
"context"
|
||||
"fmt"
|
||||
"os"
|
||||
""
|
||||
v2025 "github.com/sailpoint-oss/golang-sdk/v2/api_v2025"
|
||||
openapiclient "github.com/sailpoint-oss/golang-sdk/v2"
|
||||
)
|
||||
|
||||
@@ -870,7 +870,7 @@ func main() {
|
||||
|
||||
configuration := NewDefaultConfiguration()
|
||||
apiClient := NewAPIClient(configuration)
|
||||
resp, r, err := apiClient..WorkItemsAPI.SubmitAccountSelection(context.Background(), id).RequestBody(requestBody).Execute()
|
||||
resp, r, err := apiClient.V2025.WorkItemsAPI.SubmitAccountSelection(context.Background(), id).RequestBody(requestBody).Execute()
|
||||
if err != nil {
|
||||
fmt.Fprintf(os.Stderr, "Error when calling `WorkItemsAPI.SubmitAccountSelection``: %v\n", err)
|
||||
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
|
||||
|
||||
@@ -1,12 +1,12 @@
|
||||
---
|
||||
id: work-reassignment
|
||||
id: v2025-work-reassignment
|
||||
title: WorkReassignment
|
||||
pagination_label: WorkReassignment
|
||||
sidebar_label: WorkReassignment
|
||||
sidebar_class_name: gosdk
|
||||
keywords: ['go', 'Golang', 'sdk', 'WorkReassignment', 'WorkReassignment']
|
||||
slug: /tools/sdk/go//methods/work-reassignment
|
||||
tags: ['SDK', 'Software Development Kit', 'WorkReassignment', 'WorkReassignment']
|
||||
keywords: ['go', 'Golang', 'sdk', 'WorkReassignment', 'V2025WorkReassignment']
|
||||
slug: /tools/sdk/go/v2025/methods/work-reassignment
|
||||
tags: ['SDK', 'Software Development Kit', 'WorkReassignment', 'V2025WorkReassignment']
|
||||
---
|
||||
|
||||
# WorkReassignmentAPI
|
||||
@@ -51,7 +51,7 @@ This API is currently in an experimental state. The API is subject to change bas
|
||||
Create a Reassignment Configuration
|
||||
Creates a new Reassignment Configuration for the specified identity.
|
||||
|
||||
[API Spec](https://developer.sailpoint.com/docs/api//create-reassignment-configuration)
|
||||
[API Spec](https://developer.sailpoint.com/docs/api/v2025/create-reassignment-configuration)
|
||||
|
||||
### Path Parameters
|
||||
|
||||
@@ -85,7 +85,7 @@ import (
|
||||
"context"
|
||||
"fmt"
|
||||
"os"
|
||||
""
|
||||
v2025 "github.com/sailpoint-oss/golang-sdk/v2/api_v2025"
|
||||
openapiclient "github.com/sailpoint-oss/golang-sdk/v2"
|
||||
)
|
||||
|
||||
@@ -101,7 +101,7 @@ func main() {
|
||||
|
||||
configuration := NewDefaultConfiguration()
|
||||
apiClient := NewAPIClient(configuration)
|
||||
resp, r, err := apiClient..WorkReassignmentAPI.CreateReassignmentConfiguration(context.Background()).XSailPointExperimental(xSailPointExperimental).ConfigurationItemRequest(configurationItemRequest).Execute()
|
||||
resp, r, err := apiClient.V2025.WorkReassignmentAPI.CreateReassignmentConfiguration(context.Background()).XSailPointExperimental(xSailPointExperimental).ConfigurationItemRequest(configurationItemRequest).Execute()
|
||||
if err != nil {
|
||||
fmt.Fprintf(os.Stderr, "Error when calling `WorkReassignmentAPI.CreateReassignmentConfiguration``: %v\n", err)
|
||||
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
|
||||
@@ -128,7 +128,7 @@ This API is currently in an experimental state. The API is subject to change bas
|
||||
Delete Reassignment Configuration
|
||||
Deletes a single reassignment configuration for the specified identity
|
||||
|
||||
[API Spec](https://developer.sailpoint.com/docs/api//delete-reassignment-configuration)
|
||||
[API Spec](https://developer.sailpoint.com/docs/api/v2025/delete-reassignment-configuration)
|
||||
|
||||
### Path Parameters
|
||||
|
||||
@@ -168,7 +168,7 @@ import (
|
||||
"context"
|
||||
"fmt"
|
||||
"os"
|
||||
""
|
||||
v2025 "github.com/sailpoint-oss/golang-sdk/v2/api_v2025"
|
||||
openapiclient "github.com/sailpoint-oss/golang-sdk/v2"
|
||||
)
|
||||
|
||||
@@ -179,7 +179,7 @@ func main() {
|
||||
|
||||
configuration := NewDefaultConfiguration()
|
||||
apiClient := NewAPIClient(configuration)
|
||||
r, err := apiClient..WorkReassignmentAPI.DeleteReassignmentConfiguration(context.Background(), identityId, configType).XSailPointExperimental(xSailPointExperimental).Execute()
|
||||
r, err := apiClient.V2025.WorkReassignmentAPI.DeleteReassignmentConfiguration(context.Background(), identityId, configType).XSailPointExperimental(xSailPointExperimental).Execute()
|
||||
if err != nil {
|
||||
fmt.Fprintf(os.Stderr, "Error when calling `WorkReassignmentAPI.DeleteReassignmentConfiguration``: %v\n", err)
|
||||
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
|
||||
@@ -204,7 +204,7 @@ This API is currently in an experimental state. The API is subject to change bas
|
||||
Evaluate Reassignment Configuration
|
||||
Evaluates the Reassignment Configuration for an `Identity` to determine if work items for the specified type should be reassigned. If a valid Reassignment Configuration is found for the identity & work type, then a lookup is initiated which recursively fetches the Reassignment Configuration for the next `TargetIdentity` until no more results are found or a max depth of 5. That lookup trail is provided in the response and the final reassigned identity in the lookup list is returned as the `reassignToId` property. If no Reassignment Configuration is found for the specified identity & config type then the requested Identity ID will be used as the `reassignToId` value and the lookupTrail node will be empty.
|
||||
|
||||
[API Spec](https://developer.sailpoint.com/docs/api//get-evaluate-reassignment-configuration)
|
||||
[API Spec](https://developer.sailpoint.com/docs/api/v2025/get-evaluate-reassignment-configuration)
|
||||
|
||||
### Path Parameters
|
||||
|
||||
@@ -245,7 +245,7 @@ import (
|
||||
"context"
|
||||
"fmt"
|
||||
"os"
|
||||
""
|
||||
v2025 "github.com/sailpoint-oss/golang-sdk/v2/api_v2025"
|
||||
openapiclient "github.com/sailpoint-oss/golang-sdk/v2"
|
||||
)
|
||||
|
||||
@@ -257,7 +257,7 @@ func main() {
|
||||
|
||||
configuration := NewDefaultConfiguration()
|
||||
apiClient := NewAPIClient(configuration)
|
||||
resp, r, err := apiClient..WorkReassignmentAPI.GetEvaluateReassignmentConfiguration(context.Background(), identityId, configType).XSailPointExperimental(xSailPointExperimental).ExclusionFilters(exclusionFilters).Execute()
|
||||
resp, r, err := apiClient.V2025.WorkReassignmentAPI.GetEvaluateReassignmentConfiguration(context.Background(), identityId, configType).XSailPointExperimental(xSailPointExperimental).ExclusionFilters(exclusionFilters).Execute()
|
||||
if err != nil {
|
||||
fmt.Fprintf(os.Stderr, "Error when calling `WorkReassignmentAPI.GetEvaluateReassignmentConfiguration``: %v\n", err)
|
||||
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
|
||||
@@ -284,7 +284,7 @@ This API is currently in an experimental state. The API is subject to change bas
|
||||
List Reassignment Config Types
|
||||
Gets a collection of types which are available in the Reassignment Configuration UI.
|
||||
|
||||
[API Spec](https://developer.sailpoint.com/docs/api//get-reassignment-config-types)
|
||||
[API Spec](https://developer.sailpoint.com/docs/api/v2025/get-reassignment-config-types)
|
||||
|
||||
### Path Parameters
|
||||
|
||||
@@ -317,7 +317,7 @@ import (
|
||||
"context"
|
||||
"fmt"
|
||||
"os"
|
||||
""
|
||||
v2025 "github.com/sailpoint-oss/golang-sdk/v2/api_v2025"
|
||||
openapiclient "github.com/sailpoint-oss/golang-sdk/v2"
|
||||
)
|
||||
|
||||
@@ -326,7 +326,7 @@ func main() {
|
||||
|
||||
configuration := NewDefaultConfiguration()
|
||||
apiClient := NewAPIClient(configuration)
|
||||
resp, r, err := apiClient..WorkReassignmentAPI.GetReassignmentConfigTypes(context.Background()).XSailPointExperimental(xSailPointExperimental).Execute()
|
||||
resp, r, err := apiClient.V2025.WorkReassignmentAPI.GetReassignmentConfigTypes(context.Background()).XSailPointExperimental(xSailPointExperimental).Execute()
|
||||
if err != nil {
|
||||
fmt.Fprintf(os.Stderr, "Error when calling `WorkReassignmentAPI.GetReassignmentConfigTypes``: %v\n", err)
|
||||
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
|
||||
@@ -353,7 +353,7 @@ This API is currently in an experimental state. The API is subject to change bas
|
||||
Get Reassignment Configuration
|
||||
Gets the Reassignment Configuration for an identity.
|
||||
|
||||
[API Spec](https://developer.sailpoint.com/docs/api//get-reassignment-configuration)
|
||||
[API Spec](https://developer.sailpoint.com/docs/api/v2025/get-reassignment-configuration)
|
||||
|
||||
### Path Parameters
|
||||
|
||||
@@ -391,7 +391,7 @@ import (
|
||||
"context"
|
||||
"fmt"
|
||||
"os"
|
||||
""
|
||||
v2025 "github.com/sailpoint-oss/golang-sdk/v2/api_v2025"
|
||||
openapiclient "github.com/sailpoint-oss/golang-sdk/v2"
|
||||
)
|
||||
|
||||
@@ -401,7 +401,7 @@ func main() {
|
||||
|
||||
configuration := NewDefaultConfiguration()
|
||||
apiClient := NewAPIClient(configuration)
|
||||
resp, r, err := apiClient..WorkReassignmentAPI.GetReassignmentConfiguration(context.Background(), identityId).XSailPointExperimental(xSailPointExperimental).Execute()
|
||||
resp, r, err := apiClient.V2025.WorkReassignmentAPI.GetReassignmentConfiguration(context.Background(), identityId).XSailPointExperimental(xSailPointExperimental).Execute()
|
||||
if err != nil {
|
||||
fmt.Fprintf(os.Stderr, "Error when calling `WorkReassignmentAPI.GetReassignmentConfiguration``: %v\n", err)
|
||||
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
|
||||
@@ -428,7 +428,7 @@ This API is currently in an experimental state. The API is subject to change bas
|
||||
Get Tenant-wide Reassignment Configuration settings
|
||||
Gets the global Reassignment Configuration settings for the requestor's tenant.
|
||||
|
||||
[API Spec](https://developer.sailpoint.com/docs/api//get-tenant-config-configuration)
|
||||
[API Spec](https://developer.sailpoint.com/docs/api/v2025/get-tenant-config-configuration)
|
||||
|
||||
### Path Parameters
|
||||
|
||||
@@ -461,7 +461,7 @@ import (
|
||||
"context"
|
||||
"fmt"
|
||||
"os"
|
||||
""
|
||||
v2025 "github.com/sailpoint-oss/golang-sdk/v2/api_v2025"
|
||||
openapiclient "github.com/sailpoint-oss/golang-sdk/v2"
|
||||
)
|
||||
|
||||
@@ -470,7 +470,7 @@ func main() {
|
||||
|
||||
configuration := NewDefaultConfiguration()
|
||||
apiClient := NewAPIClient(configuration)
|
||||
resp, r, err := apiClient..WorkReassignmentAPI.GetTenantConfigConfiguration(context.Background()).XSailPointExperimental(xSailPointExperimental).Execute()
|
||||
resp, r, err := apiClient.V2025.WorkReassignmentAPI.GetTenantConfigConfiguration(context.Background()).XSailPointExperimental(xSailPointExperimental).Execute()
|
||||
if err != nil {
|
||||
fmt.Fprintf(os.Stderr, "Error when calling `WorkReassignmentAPI.GetTenantConfigConfiguration``: %v\n", err)
|
||||
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
|
||||
@@ -497,7 +497,7 @@ This API is currently in an experimental state. The API is subject to change bas
|
||||
List Reassignment Configurations
|
||||
Gets all Reassignment configuration for the current org.
|
||||
|
||||
[API Spec](https://developer.sailpoint.com/docs/api//list-reassignment-configurations)
|
||||
[API Spec](https://developer.sailpoint.com/docs/api/v2025/list-reassignment-configurations)
|
||||
|
||||
### Path Parameters
|
||||
|
||||
@@ -530,7 +530,7 @@ import (
|
||||
"context"
|
||||
"fmt"
|
||||
"os"
|
||||
""
|
||||
v2025 "github.com/sailpoint-oss/golang-sdk/v2/api_v2025"
|
||||
openapiclient "github.com/sailpoint-oss/golang-sdk/v2"
|
||||
)
|
||||
|
||||
@@ -539,7 +539,7 @@ func main() {
|
||||
|
||||
configuration := NewDefaultConfiguration()
|
||||
apiClient := NewAPIClient(configuration)
|
||||
resp, r, err := apiClient..WorkReassignmentAPI.ListReassignmentConfigurations(context.Background()).XSailPointExperimental(xSailPointExperimental).Execute()
|
||||
resp, r, err := apiClient.V2025.WorkReassignmentAPI.ListReassignmentConfigurations(context.Background()).XSailPointExperimental(xSailPointExperimental).Execute()
|
||||
if err != nil {
|
||||
fmt.Fprintf(os.Stderr, "Error when calling `WorkReassignmentAPI.ListReassignmentConfigurations``: %v\n", err)
|
||||
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
|
||||
@@ -566,7 +566,7 @@ This API is currently in an experimental state. The API is subject to change bas
|
||||
Update Reassignment Configuration
|
||||
Replaces existing Reassignment configuration for an identity with the newly provided configuration.
|
||||
|
||||
[API Spec](https://developer.sailpoint.com/docs/api//put-reassignment-config)
|
||||
[API Spec](https://developer.sailpoint.com/docs/api/v2025/put-reassignment-config)
|
||||
|
||||
### Path Parameters
|
||||
|
||||
@@ -605,7 +605,7 @@ import (
|
||||
"context"
|
||||
"fmt"
|
||||
"os"
|
||||
""
|
||||
v2025 "github.com/sailpoint-oss/golang-sdk/v2/api_v2025"
|
||||
openapiclient "github.com/sailpoint-oss/golang-sdk/v2"
|
||||
)
|
||||
|
||||
@@ -622,7 +622,7 @@ func main() {
|
||||
|
||||
configuration := NewDefaultConfiguration()
|
||||
apiClient := NewAPIClient(configuration)
|
||||
resp, r, err := apiClient..WorkReassignmentAPI.PutReassignmentConfig(context.Background(), identityId).XSailPointExperimental(xSailPointExperimental).ConfigurationItemRequest(configurationItemRequest).Execute()
|
||||
resp, r, err := apiClient.V2025.WorkReassignmentAPI.PutReassignmentConfig(context.Background(), identityId).XSailPointExperimental(xSailPointExperimental).ConfigurationItemRequest(configurationItemRequest).Execute()
|
||||
if err != nil {
|
||||
fmt.Fprintf(os.Stderr, "Error when calling `WorkReassignmentAPI.PutReassignmentConfig``: %v\n", err)
|
||||
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
|
||||
@@ -649,7 +649,7 @@ This API is currently in an experimental state. The API is subject to change bas
|
||||
Update Tenant-wide Reassignment Configuration settings
|
||||
Replaces existing Tenant-wide Reassignment Configuration settings with the newly provided settings.
|
||||
|
||||
[API Spec](https://developer.sailpoint.com/docs/api//put-tenant-configuration)
|
||||
[API Spec](https://developer.sailpoint.com/docs/api/v2025/put-tenant-configuration)
|
||||
|
||||
### Path Parameters
|
||||
|
||||
@@ -683,7 +683,7 @@ import (
|
||||
"context"
|
||||
"fmt"
|
||||
"os"
|
||||
""
|
||||
v2025 "github.com/sailpoint-oss/golang-sdk/v2/api_v2025"
|
||||
openapiclient "github.com/sailpoint-oss/golang-sdk/v2"
|
||||
)
|
||||
|
||||
@@ -697,7 +697,7 @@ func main() {
|
||||
|
||||
configuration := NewDefaultConfiguration()
|
||||
apiClient := NewAPIClient(configuration)
|
||||
resp, r, err := apiClient..WorkReassignmentAPI.PutTenantConfiguration(context.Background()).XSailPointExperimental(xSailPointExperimental).TenantConfigurationRequest(tenantConfigurationRequest).Execute()
|
||||
resp, r, err := apiClient.V2025.WorkReassignmentAPI.PutTenantConfiguration(context.Background()).XSailPointExperimental(xSailPointExperimental).TenantConfigurationRequest(tenantConfigurationRequest).Execute()
|
||||
if err != nil {
|
||||
fmt.Fprintf(os.Stderr, "Error when calling `WorkReassignmentAPI.PutTenantConfiguration``: %v\n", err)
|
||||
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
|
||||
|
||||
@@ -1,12 +1,12 @@
|
||||
---
|
||||
id: workflows
|
||||
id: v2025-workflows
|
||||
title: Workflows
|
||||
pagination_label: Workflows
|
||||
sidebar_label: Workflows
|
||||
sidebar_class_name: gosdk
|
||||
keywords: ['go', 'Golang', 'sdk', 'Workflows', 'Workflows']
|
||||
slug: /tools/sdk/go//methods/workflows
|
||||
tags: ['SDK', 'Software Development Kit', 'Workflows', 'Workflows']
|
||||
keywords: ['go', 'Golang', 'sdk', 'Workflows', 'V2025Workflows']
|
||||
slug: /tools/sdk/go/v2025/methods/workflows
|
||||
tags: ['SDK', 'Software Development Kit', 'Workflows', 'V2025Workflows']
|
||||
---
|
||||
|
||||
# WorkflowsAPI
|
||||
@@ -40,7 +40,7 @@ Method | HTTP request | Description
|
||||
Cancel Workflow Execution by ID
|
||||
Use this API to cancel a running workflow execution.
|
||||
|
||||
[API Spec](https://developer.sailpoint.com/docs/api//cancel-workflow-execution)
|
||||
[API Spec](https://developer.sailpoint.com/docs/api/v2025/cancel-workflow-execution)
|
||||
|
||||
### Path Parameters
|
||||
|
||||
@@ -77,7 +77,7 @@ import (
|
||||
"context"
|
||||
"fmt"
|
||||
"os"
|
||||
""
|
||||
v2025 "github.com/sailpoint-oss/golang-sdk/v2/api_v2025"
|
||||
openapiclient "github.com/sailpoint-oss/golang-sdk/v2"
|
||||
)
|
||||
|
||||
@@ -86,7 +86,7 @@ func main() {
|
||||
|
||||
configuration := NewDefaultConfiguration()
|
||||
apiClient := NewAPIClient(configuration)
|
||||
r, err := apiClient..WorkflowsAPI.CancelWorkflowExecution(context.Background(), id).Execute()
|
||||
r, err := apiClient.V2025.WorkflowsAPI.CancelWorkflowExecution(context.Background(), id).Execute()
|
||||
if err != nil {
|
||||
fmt.Fprintf(os.Stderr, "Error when calling `WorkflowsAPI.CancelWorkflowExecution``: %v\n", err)
|
||||
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
|
||||
@@ -100,7 +100,7 @@ func main() {
|
||||
Execute Workflow via External Trigger
|
||||
This endpoint allows a service outside of IdentityNow to initiate a workflow that uses the "External Trigger" step. The external service will invoke this endpoint with the input data it wants to send to the workflow in the body.
|
||||
|
||||
[API Spec](https://developer.sailpoint.com/docs/api//create-external-execute-workflow)
|
||||
[API Spec](https://developer.sailpoint.com/docs/api/v2025/create-external-execute-workflow)
|
||||
|
||||
### Path Parameters
|
||||
|
||||
@@ -138,7 +138,7 @@ import (
|
||||
"context"
|
||||
"fmt"
|
||||
"os"
|
||||
""
|
||||
v2025 "github.com/sailpoint-oss/golang-sdk/v2/api_v2025"
|
||||
openapiclient "github.com/sailpoint-oss/golang-sdk/v2"
|
||||
)
|
||||
|
||||
@@ -148,7 +148,7 @@ func main() {
|
||||
|
||||
configuration := NewDefaultConfiguration()
|
||||
apiClient := NewAPIClient(configuration)
|
||||
resp, r, err := apiClient..WorkflowsAPI.CreateExternalExecuteWorkflow(context.Background(), id).CreateExternalExecuteWorkflowRequest(createExternalExecuteWorkflowRequest).Execute()
|
||||
resp, r, err := apiClient.V2025.WorkflowsAPI.CreateExternalExecuteWorkflow(context.Background(), id).CreateExternalExecuteWorkflowRequest(createExternalExecuteWorkflowRequest).Execute()
|
||||
if err != nil {
|
||||
fmt.Fprintf(os.Stderr, "Error when calling `WorkflowsAPI.CreateExternalExecuteWorkflow``: %v\n", err)
|
||||
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
|
||||
@@ -164,7 +164,7 @@ func main() {
|
||||
Create Workflow
|
||||
Create a new workflow with the desired trigger and steps specified in the request body.
|
||||
|
||||
[API Spec](https://developer.sailpoint.com/docs/api//create-workflow)
|
||||
[API Spec](https://developer.sailpoint.com/docs/api/v2025/create-workflow)
|
||||
|
||||
### Path Parameters
|
||||
|
||||
@@ -197,7 +197,7 @@ import (
|
||||
"context"
|
||||
"fmt"
|
||||
"os"
|
||||
""
|
||||
v2025 "github.com/sailpoint-oss/golang-sdk/v2/api_v2025"
|
||||
openapiclient "github.com/sailpoint-oss/golang-sdk/v2"
|
||||
)
|
||||
|
||||
@@ -206,7 +206,7 @@ func main() {
|
||||
|
||||
configuration := NewDefaultConfiguration()
|
||||
apiClient := NewAPIClient(configuration)
|
||||
resp, r, err := apiClient..WorkflowsAPI.CreateWorkflow(context.Background()).CreateWorkflowRequest(createWorkflowRequest).Execute()
|
||||
resp, r, err := apiClient.V2025.WorkflowsAPI.CreateWorkflow(context.Background()).CreateWorkflowRequest(createWorkflowRequest).Execute()
|
||||
if err != nil {
|
||||
fmt.Fprintf(os.Stderr, "Error when calling `WorkflowsAPI.CreateWorkflow``: %v\n", err)
|
||||
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
|
||||
@@ -222,7 +222,7 @@ func main() {
|
||||
Generate External Trigger OAuth Client
|
||||
Create OAuth client ID, client secret, and callback URL for use in an external trigger. External triggers will need this information to generate an access token to authenticate to the callback URL and submit a trigger payload that will initiate the workflow.
|
||||
|
||||
[API Spec](https://developer.sailpoint.com/docs/api//create-workflow-external-trigger)
|
||||
[API Spec](https://developer.sailpoint.com/docs/api/v2025/create-workflow-external-trigger)
|
||||
|
||||
### Path Parameters
|
||||
|
||||
@@ -259,7 +259,7 @@ import (
|
||||
"context"
|
||||
"fmt"
|
||||
"os"
|
||||
""
|
||||
v2025 "github.com/sailpoint-oss/golang-sdk/v2/api_v2025"
|
||||
openapiclient "github.com/sailpoint-oss/golang-sdk/v2"
|
||||
)
|
||||
|
||||
@@ -268,7 +268,7 @@ func main() {
|
||||
|
||||
configuration := NewDefaultConfiguration()
|
||||
apiClient := NewAPIClient(configuration)
|
||||
resp, r, err := apiClient..WorkflowsAPI.CreateWorkflowExternalTrigger(context.Background(), id).Execute()
|
||||
resp, r, err := apiClient.V2025.WorkflowsAPI.CreateWorkflowExternalTrigger(context.Background(), id).Execute()
|
||||
if err != nil {
|
||||
fmt.Fprintf(os.Stderr, "Error when calling `WorkflowsAPI.CreateWorkflowExternalTrigger``: %v\n", err)
|
||||
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
|
||||
@@ -284,7 +284,7 @@ func main() {
|
||||
Delete Workflow By Id
|
||||
Delete a workflow. **Enabled workflows cannot be deleted**. They must first be disabled.
|
||||
|
||||
[API Spec](https://developer.sailpoint.com/docs/api//delete-workflow)
|
||||
[API Spec](https://developer.sailpoint.com/docs/api/v2025/delete-workflow)
|
||||
|
||||
### Path Parameters
|
||||
|
||||
@@ -321,7 +321,7 @@ import (
|
||||
"context"
|
||||
"fmt"
|
||||
"os"
|
||||
""
|
||||
v2025 "github.com/sailpoint-oss/golang-sdk/v2/api_v2025"
|
||||
openapiclient "github.com/sailpoint-oss/golang-sdk/v2"
|
||||
)
|
||||
|
||||
@@ -330,7 +330,7 @@ func main() {
|
||||
|
||||
configuration := NewDefaultConfiguration()
|
||||
apiClient := NewAPIClient(configuration)
|
||||
r, err := apiClient..WorkflowsAPI.DeleteWorkflow(context.Background(), id).Execute()
|
||||
r, err := apiClient.V2025.WorkflowsAPI.DeleteWorkflow(context.Background(), id).Execute()
|
||||
if err != nil {
|
||||
fmt.Fprintf(os.Stderr, "Error when calling `WorkflowsAPI.DeleteWorkflow``: %v\n", err)
|
||||
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
|
||||
@@ -344,7 +344,7 @@ func main() {
|
||||
Get Workflow By Id
|
||||
Get a single workflow by id.
|
||||
|
||||
[API Spec](https://developer.sailpoint.com/docs/api//get-workflow)
|
||||
[API Spec](https://developer.sailpoint.com/docs/api/v2025/get-workflow)
|
||||
|
||||
### Path Parameters
|
||||
|
||||
@@ -381,7 +381,7 @@ import (
|
||||
"context"
|
||||
"fmt"
|
||||
"os"
|
||||
""
|
||||
v2025 "github.com/sailpoint-oss/golang-sdk/v2/api_v2025"
|
||||
openapiclient "github.com/sailpoint-oss/golang-sdk/v2"
|
||||
)
|
||||
|
||||
@@ -390,7 +390,7 @@ func main() {
|
||||
|
||||
configuration := NewDefaultConfiguration()
|
||||
apiClient := NewAPIClient(configuration)
|
||||
resp, r, err := apiClient..WorkflowsAPI.GetWorkflow(context.Background(), id).Execute()
|
||||
resp, r, err := apiClient.V2025.WorkflowsAPI.GetWorkflow(context.Background(), id).Execute()
|
||||
if err != nil {
|
||||
fmt.Fprintf(os.Stderr, "Error when calling `WorkflowsAPI.GetWorkflow``: %v\n", err)
|
||||
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
|
||||
@@ -406,7 +406,7 @@ func main() {
|
||||
Get Workflow Execution
|
||||
Use this API to get a single workflow execution. Workflow executions are available for up to 90 days before being archived. If you attempt to access a workflow execution that has been archived, you will receive a "404 Not Found" response.
|
||||
|
||||
[API Spec](https://developer.sailpoint.com/docs/api//get-workflow-execution)
|
||||
[API Spec](https://developer.sailpoint.com/docs/api/v2025/get-workflow-execution)
|
||||
|
||||
### Path Parameters
|
||||
|
||||
@@ -443,7 +443,7 @@ import (
|
||||
"context"
|
||||
"fmt"
|
||||
"os"
|
||||
""
|
||||
v2025 "github.com/sailpoint-oss/golang-sdk/v2/api_v2025"
|
||||
openapiclient "github.com/sailpoint-oss/golang-sdk/v2"
|
||||
)
|
||||
|
||||
@@ -452,7 +452,7 @@ func main() {
|
||||
|
||||
configuration := NewDefaultConfiguration()
|
||||
apiClient := NewAPIClient(configuration)
|
||||
resp, r, err := apiClient..WorkflowsAPI.GetWorkflowExecution(context.Background(), id).Execute()
|
||||
resp, r, err := apiClient.V2025.WorkflowsAPI.GetWorkflowExecution(context.Background(), id).Execute()
|
||||
if err != nil {
|
||||
fmt.Fprintf(os.Stderr, "Error when calling `WorkflowsAPI.GetWorkflowExecution``: %v\n", err)
|
||||
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
|
||||
@@ -468,7 +468,7 @@ func main() {
|
||||
Get Workflow Execution History
|
||||
Get a detailed history of a single workflow execution. Workflow executions are available for up to 90 days before being archived. If you attempt to access a workflow execution that has been archived, you will receive a 404 Not Found.
|
||||
|
||||
[API Spec](https://developer.sailpoint.com/docs/api//get-workflow-execution-history)
|
||||
[API Spec](https://developer.sailpoint.com/docs/api/v2025/get-workflow-execution-history)
|
||||
|
||||
### Path Parameters
|
||||
|
||||
@@ -505,7 +505,7 @@ import (
|
||||
"context"
|
||||
"fmt"
|
||||
"os"
|
||||
""
|
||||
v2025 "github.com/sailpoint-oss/golang-sdk/v2/api_v2025"
|
||||
openapiclient "github.com/sailpoint-oss/golang-sdk/v2"
|
||||
)
|
||||
|
||||
@@ -514,7 +514,7 @@ func main() {
|
||||
|
||||
configuration := NewDefaultConfiguration()
|
||||
apiClient := NewAPIClient(configuration)
|
||||
resp, r, err := apiClient..WorkflowsAPI.GetWorkflowExecutionHistory(context.Background(), id).Execute()
|
||||
resp, r, err := apiClient.V2025.WorkflowsAPI.GetWorkflowExecutionHistory(context.Background(), id).Execute()
|
||||
if err != nil {
|
||||
fmt.Fprintf(os.Stderr, "Error when calling `WorkflowsAPI.GetWorkflowExecutionHistory``: %v\n", err)
|
||||
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
|
||||
@@ -540,7 +540,7 @@ Use this API to list a specified workflow's executions. Workflow executions are
|
||||
For example, you can page through 50 executions per page and use that as a way to get to the records past the first 250.
|
||||
Refer to [Paginating Results](https://developer.sailpoint.com/idn/api/standard-collection-parameters#paginating-results) for more information about the query parameters you can use to achieve pagination.
|
||||
|
||||
[API Spec](https://developer.sailpoint.com/docs/api//get-workflow-executions)
|
||||
[API Spec](https://developer.sailpoint.com/docs/api/v2025/get-workflow-executions)
|
||||
|
||||
### Path Parameters
|
||||
|
||||
@@ -581,7 +581,7 @@ import (
|
||||
"context"
|
||||
"fmt"
|
||||
"os"
|
||||
""
|
||||
v2025 "github.com/sailpoint-oss/golang-sdk/v2/api_v2025"
|
||||
openapiclient "github.com/sailpoint-oss/golang-sdk/v2"
|
||||
)
|
||||
|
||||
@@ -594,7 +594,7 @@ func main() {
|
||||
|
||||
configuration := NewDefaultConfiguration()
|
||||
apiClient := NewAPIClient(configuration)
|
||||
resp, r, err := apiClient..WorkflowsAPI.GetWorkflowExecutions(context.Background(), id).Limit(limit).Offset(offset).Count(count).Filters(filters).Execute()
|
||||
resp, r, err := apiClient.V2025.WorkflowsAPI.GetWorkflowExecutions(context.Background(), id).Limit(limit).Offset(offset).Count(count).Filters(filters).Execute()
|
||||
if err != nil {
|
||||
fmt.Fprintf(os.Stderr, "Error when calling `WorkflowsAPI.GetWorkflowExecutions``: %v\n", err)
|
||||
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
|
||||
@@ -610,7 +610,7 @@ func main() {
|
||||
List Complete Workflow Library
|
||||
This lists all triggers, actions, and operators in the library
|
||||
|
||||
[API Spec](https://developer.sailpoint.com/docs/api//list-complete-workflow-library)
|
||||
[API Spec](https://developer.sailpoint.com/docs/api/v2025/list-complete-workflow-library)
|
||||
|
||||
### Path Parameters
|
||||
|
||||
@@ -644,7 +644,7 @@ import (
|
||||
"context"
|
||||
"fmt"
|
||||
"os"
|
||||
""
|
||||
v2025 "github.com/sailpoint-oss/golang-sdk/v2/api_v2025"
|
||||
openapiclient "github.com/sailpoint-oss/golang-sdk/v2"
|
||||
)
|
||||
|
||||
@@ -654,7 +654,7 @@ func main() {
|
||||
|
||||
configuration := NewDefaultConfiguration()
|
||||
apiClient := NewAPIClient(configuration)
|
||||
resp, r, err := apiClient..WorkflowsAPI.ListCompleteWorkflowLibrary(context.Background()).Limit(limit).Offset(offset).Execute()
|
||||
resp, r, err := apiClient.V2025.WorkflowsAPI.ListCompleteWorkflowLibrary(context.Background()).Limit(limit).Offset(offset).Execute()
|
||||
if err != nil {
|
||||
fmt.Fprintf(os.Stderr, "Error when calling `WorkflowsAPI.ListCompleteWorkflowLibrary``: %v\n", err)
|
||||
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
|
||||
@@ -670,7 +670,7 @@ func main() {
|
||||
List Workflow Library Actions
|
||||
This lists the workflow actions available to you.
|
||||
|
||||
[API Spec](https://developer.sailpoint.com/docs/api//list-workflow-library-actions)
|
||||
[API Spec](https://developer.sailpoint.com/docs/api/v2025/list-workflow-library-actions)
|
||||
|
||||
### Path Parameters
|
||||
|
||||
@@ -705,7 +705,7 @@ import (
|
||||
"context"
|
||||
"fmt"
|
||||
"os"
|
||||
""
|
||||
v2025 "github.com/sailpoint-oss/golang-sdk/v2/api_v2025"
|
||||
openapiclient "github.com/sailpoint-oss/golang-sdk/v2"
|
||||
)
|
||||
|
||||
@@ -716,7 +716,7 @@ func main() {
|
||||
|
||||
configuration := NewDefaultConfiguration()
|
||||
apiClient := NewAPIClient(configuration)
|
||||
resp, r, err := apiClient..WorkflowsAPI.ListWorkflowLibraryActions(context.Background()).Limit(limit).Offset(offset).Filters(filters).Execute()
|
||||
resp, r, err := apiClient.V2025.WorkflowsAPI.ListWorkflowLibraryActions(context.Background()).Limit(limit).Offset(offset).Filters(filters).Execute()
|
||||
if err != nil {
|
||||
fmt.Fprintf(os.Stderr, "Error when calling `WorkflowsAPI.ListWorkflowLibraryActions``: %v\n", err)
|
||||
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
|
||||
@@ -732,7 +732,7 @@ func main() {
|
||||
List Workflow Library Operators
|
||||
This lists the workflow operators available to you
|
||||
|
||||
[API Spec](https://developer.sailpoint.com/docs/api//list-workflow-library-operators)
|
||||
[API Spec](https://developer.sailpoint.com/docs/api/v2025/list-workflow-library-operators)
|
||||
|
||||
### Path Parameters
|
||||
|
||||
@@ -761,7 +761,7 @@ import (
|
||||
"context"
|
||||
"fmt"
|
||||
"os"
|
||||
""
|
||||
v2025 "github.com/sailpoint-oss/golang-sdk/v2/api_v2025"
|
||||
openapiclient "github.com/sailpoint-oss/golang-sdk/v2"
|
||||
)
|
||||
|
||||
@@ -769,7 +769,7 @@ func main() {
|
||||
|
||||
configuration := NewDefaultConfiguration()
|
||||
apiClient := NewAPIClient(configuration)
|
||||
resp, r, err := apiClient..WorkflowsAPI.ListWorkflowLibraryOperators(context.Background()).Execute()
|
||||
resp, r, err := apiClient.V2025.WorkflowsAPI.ListWorkflowLibraryOperators(context.Background()).Execute()
|
||||
if err != nil {
|
||||
fmt.Fprintf(os.Stderr, "Error when calling `WorkflowsAPI.ListWorkflowLibraryOperators``: %v\n", err)
|
||||
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
|
||||
@@ -785,7 +785,7 @@ func main() {
|
||||
List Workflow Library Triggers
|
||||
This lists the workflow triggers available to you
|
||||
|
||||
[API Spec](https://developer.sailpoint.com/docs/api//list-workflow-library-triggers)
|
||||
[API Spec](https://developer.sailpoint.com/docs/api/v2025/list-workflow-library-triggers)
|
||||
|
||||
### Path Parameters
|
||||
|
||||
@@ -820,7 +820,7 @@ import (
|
||||
"context"
|
||||
"fmt"
|
||||
"os"
|
||||
""
|
||||
v2025 "github.com/sailpoint-oss/golang-sdk/v2/api_v2025"
|
||||
openapiclient "github.com/sailpoint-oss/golang-sdk/v2"
|
||||
)
|
||||
|
||||
@@ -831,7 +831,7 @@ func main() {
|
||||
|
||||
configuration := NewDefaultConfiguration()
|
||||
apiClient := NewAPIClient(configuration)
|
||||
resp, r, err := apiClient..WorkflowsAPI.ListWorkflowLibraryTriggers(context.Background()).Limit(limit).Offset(offset).Filters(filters).Execute()
|
||||
resp, r, err := apiClient.V2025.WorkflowsAPI.ListWorkflowLibraryTriggers(context.Background()).Limit(limit).Offset(offset).Filters(filters).Execute()
|
||||
if err != nil {
|
||||
fmt.Fprintf(os.Stderr, "Error when calling `WorkflowsAPI.ListWorkflowLibraryTriggers``: %v\n", err)
|
||||
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
|
||||
@@ -847,7 +847,7 @@ func main() {
|
||||
List Workflows
|
||||
List all workflows in the tenant.
|
||||
|
||||
[API Spec](https://developer.sailpoint.com/docs/api//list-workflows)
|
||||
[API Spec](https://developer.sailpoint.com/docs/api/v2025/list-workflows)
|
||||
|
||||
### Path Parameters
|
||||
|
||||
@@ -876,7 +876,7 @@ import (
|
||||
"context"
|
||||
"fmt"
|
||||
"os"
|
||||
""
|
||||
v2025 "github.com/sailpoint-oss/golang-sdk/v2/api_v2025"
|
||||
openapiclient "github.com/sailpoint-oss/golang-sdk/v2"
|
||||
)
|
||||
|
||||
@@ -884,7 +884,7 @@ func main() {
|
||||
|
||||
configuration := NewDefaultConfiguration()
|
||||
apiClient := NewAPIClient(configuration)
|
||||
resp, r, err := apiClient..WorkflowsAPI.ListWorkflows(context.Background()).Execute()
|
||||
resp, r, err := apiClient.V2025.WorkflowsAPI.ListWorkflows(context.Background()).Execute()
|
||||
if err != nil {
|
||||
fmt.Fprintf(os.Stderr, "Error when calling `WorkflowsAPI.ListWorkflows``: %v\n", err)
|
||||
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
|
||||
@@ -900,7 +900,7 @@ func main() {
|
||||
Patch Workflow
|
||||
Partially update an existing Workflow using [JSON Patch](https://tools.ietf.org/html/rfc6902) syntax.
|
||||
|
||||
[API Spec](https://developer.sailpoint.com/docs/api//patch-workflow)
|
||||
[API Spec](https://developer.sailpoint.com/docs/api/v2025/patch-workflow)
|
||||
|
||||
### Path Parameters
|
||||
|
||||
@@ -938,7 +938,7 @@ import (
|
||||
"context"
|
||||
"fmt"
|
||||
"os"
|
||||
""
|
||||
v2025 "github.com/sailpoint-oss/golang-sdk/v2/api_v2025"
|
||||
openapiclient "github.com/sailpoint-oss/golang-sdk/v2"
|
||||
)
|
||||
|
||||
@@ -948,7 +948,7 @@ func main() {
|
||||
|
||||
configuration := NewDefaultConfiguration()
|
||||
apiClient := NewAPIClient(configuration)
|
||||
resp, r, err := apiClient..WorkflowsAPI.PatchWorkflow(context.Background(), id).JsonPatchOperation(jsonPatchOperation).Execute()
|
||||
resp, r, err := apiClient.V2025.WorkflowsAPI.PatchWorkflow(context.Background(), id).JsonPatchOperation(jsonPatchOperation).Execute()
|
||||
if err != nil {
|
||||
fmt.Fprintf(os.Stderr, "Error when calling `WorkflowsAPI.PatchWorkflow``: %v\n", err)
|
||||
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
|
||||
@@ -964,7 +964,7 @@ func main() {
|
||||
Update Workflow
|
||||
Perform a full update of a workflow. The updated workflow object is returned in the response.
|
||||
|
||||
[API Spec](https://developer.sailpoint.com/docs/api//put-workflow)
|
||||
[API Spec](https://developer.sailpoint.com/docs/api/v2025/put-workflow)
|
||||
|
||||
### Path Parameters
|
||||
|
||||
@@ -1002,7 +1002,7 @@ import (
|
||||
"context"
|
||||
"fmt"
|
||||
"os"
|
||||
""
|
||||
v2025 "github.com/sailpoint-oss/golang-sdk/v2/api_v2025"
|
||||
openapiclient "github.com/sailpoint-oss/golang-sdk/v2"
|
||||
)
|
||||
|
||||
@@ -1051,7 +1051,7 @@ func main() {
|
||||
|
||||
configuration := NewDefaultConfiguration()
|
||||
apiClient := NewAPIClient(configuration)
|
||||
resp, r, err := apiClient..WorkflowsAPI.PutWorkflow(context.Background(), id).WorkflowBody(workflowBody).Execute()
|
||||
resp, r, err := apiClient.V2025.WorkflowsAPI.PutWorkflow(context.Background(), id).WorkflowBody(workflowBody).Execute()
|
||||
if err != nil {
|
||||
fmt.Fprintf(os.Stderr, "Error when calling `WorkflowsAPI.PutWorkflow``: %v\n", err)
|
||||
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
|
||||
@@ -1067,7 +1067,7 @@ func main() {
|
||||
Test Workflow via External Trigger
|
||||
Validate a workflow with an "External Trigger" can receive input. The response includes the input that the workflow received, which can be used to validate that the input is intact when it reaches the workflow.
|
||||
|
||||
[API Spec](https://developer.sailpoint.com/docs/api//test-external-execute-workflow)
|
||||
[API Spec](https://developer.sailpoint.com/docs/api/v2025/test-external-execute-workflow)
|
||||
|
||||
### Path Parameters
|
||||
|
||||
@@ -1105,7 +1105,7 @@ import (
|
||||
"context"
|
||||
"fmt"
|
||||
"os"
|
||||
""
|
||||
v2025 "github.com/sailpoint-oss/golang-sdk/v2/api_v2025"
|
||||
openapiclient "github.com/sailpoint-oss/golang-sdk/v2"
|
||||
)
|
||||
|
||||
@@ -1115,7 +1115,7 @@ func main() {
|
||||
|
||||
configuration := NewDefaultConfiguration()
|
||||
apiClient := NewAPIClient(configuration)
|
||||
resp, r, err := apiClient..WorkflowsAPI.TestExternalExecuteWorkflow(context.Background(), id).TestExternalExecuteWorkflowRequest(testExternalExecuteWorkflowRequest).Execute()
|
||||
resp, r, err := apiClient.V2025.WorkflowsAPI.TestExternalExecuteWorkflow(context.Background(), id).TestExternalExecuteWorkflowRequest(testExternalExecuteWorkflowRequest).Execute()
|
||||
if err != nil {
|
||||
fmt.Fprintf(os.Stderr, "Error when calling `WorkflowsAPI.TestExternalExecuteWorkflow``: %v\n", err)
|
||||
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
|
||||
@@ -1133,7 +1133,7 @@ Test a workflow with the provided input data. The input data should resemble th
|
||||
This endpoint will return an execution ID, which can be used to lookup more information about the execution using the `Get a Workflow Execution` endpoint.
|
||||
**This will cause a live run of the workflow, which could result in unintended modifications to your IDN tenant.**
|
||||
|
||||
[API Spec](https://developer.sailpoint.com/docs/api//test-workflow)
|
||||
[API Spec](https://developer.sailpoint.com/docs/api/v2025/test-workflow)
|
||||
|
||||
### Path Parameters
|
||||
|
||||
@@ -1171,7 +1171,7 @@ import (
|
||||
"context"
|
||||
"fmt"
|
||||
"os"
|
||||
""
|
||||
v2025 "github.com/sailpoint-oss/golang-sdk/v2/api_v2025"
|
||||
openapiclient "github.com/sailpoint-oss/golang-sdk/v2"
|
||||
)
|
||||
|
||||
@@ -1181,7 +1181,7 @@ func main() {
|
||||
|
||||
configuration := NewDefaultConfiguration()
|
||||
apiClient := NewAPIClient(configuration)
|
||||
resp, r, err := apiClient..WorkflowsAPI.TestWorkflow(context.Background(), id).TestWorkflowRequest(testWorkflowRequest).Execute()
|
||||
resp, r, err := apiClient.V2025.WorkflowsAPI.TestWorkflow(context.Background(), id).TestWorkflowRequest(testWorkflowRequest).Execute()
|
||||
if err != nil {
|
||||
fmt.Fprintf(os.Stderr, "Error when calling `WorkflowsAPI.TestWorkflow``: %v\n", err)
|
||||
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
|
||||
|
||||
@@ -1,12 +1,12 @@
|
||||
---
|
||||
id: access
|
||||
id: v2025-access
|
||||
title: Access
|
||||
pagination_label: Access
|
||||
sidebar_label: Access
|
||||
sidebar_class_name: gosdk
|
||||
keywords: ['go', 'Golang', 'sdk', 'Access', 'Access']
|
||||
slug: /tools/sdk/go//models/access
|
||||
tags: ['SDK', 'Software Development Kit', 'Access', 'Access']
|
||||
keywords: ['go', 'Golang', 'sdk', 'Access', 'V2025Access']
|
||||
slug: /tools/sdk/go/v2025/models/access
|
||||
tags: ['SDK', 'Software Development Kit', 'Access', 'V2025Access']
|
||||
---
|
||||
|
||||
# Access
|
||||
|
||||
@@ -1,12 +1,12 @@
|
||||
---
|
||||
id: access-apps
|
||||
id: v2025-access-apps
|
||||
title: AccessApps
|
||||
pagination_label: AccessApps
|
||||
sidebar_label: AccessApps
|
||||
sidebar_class_name: gosdk
|
||||
keywords: ['go', 'Golang', 'sdk', 'AccessApps', 'AccessApps']
|
||||
slug: /tools/sdk/go//models/access-apps
|
||||
tags: ['SDK', 'Software Development Kit', 'AccessApps', 'AccessApps']
|
||||
keywords: ['go', 'Golang', 'sdk', 'AccessApps', 'V2025AccessApps']
|
||||
slug: /tools/sdk/go/v2025/models/access-apps
|
||||
tags: ['SDK', 'Software Development Kit', 'AccessApps', 'V2025AccessApps']
|
||||
---
|
||||
|
||||
# AccessApps
|
||||
|
||||
@@ -1,12 +1,12 @@
|
||||
---
|
||||
id: access-apps-owner
|
||||
id: v2025-access-apps-owner
|
||||
title: AccessAppsOwner
|
||||
pagination_label: AccessAppsOwner
|
||||
sidebar_label: AccessAppsOwner
|
||||
sidebar_class_name: gosdk
|
||||
keywords: ['go', 'Golang', 'sdk', 'AccessAppsOwner', 'AccessAppsOwner']
|
||||
slug: /tools/sdk/go//models/access-apps-owner
|
||||
tags: ['SDK', 'Software Development Kit', 'AccessAppsOwner', 'AccessAppsOwner']
|
||||
keywords: ['go', 'Golang', 'sdk', 'AccessAppsOwner', 'V2025AccessAppsOwner']
|
||||
slug: /tools/sdk/go/v2025/models/access-apps-owner
|
||||
tags: ['SDK', 'Software Development Kit', 'AccessAppsOwner', 'V2025AccessAppsOwner']
|
||||
---
|
||||
|
||||
# AccessAppsOwner
|
||||
|
||||
@@ -1,12 +1,12 @@
|
||||
---
|
||||
id: access-constraint
|
||||
id: v2025-access-constraint
|
||||
title: AccessConstraint
|
||||
pagination_label: AccessConstraint
|
||||
sidebar_label: AccessConstraint
|
||||
sidebar_class_name: gosdk
|
||||
keywords: ['go', 'Golang', 'sdk', 'AccessConstraint', 'AccessConstraint']
|
||||
slug: /tools/sdk/go//models/access-constraint
|
||||
tags: ['SDK', 'Software Development Kit', 'AccessConstraint', 'AccessConstraint']
|
||||
keywords: ['go', 'Golang', 'sdk', 'AccessConstraint', 'V2025AccessConstraint']
|
||||
slug: /tools/sdk/go/v2025/models/access-constraint
|
||||
tags: ['SDK', 'Software Development Kit', 'AccessConstraint', 'V2025AccessConstraint']
|
||||
---
|
||||
|
||||
# AccessConstraint
|
||||
|
||||
@@ -1,12 +1,12 @@
|
||||
---
|
||||
id: access-criteria
|
||||
id: v2025-access-criteria
|
||||
title: AccessCriteria
|
||||
pagination_label: AccessCriteria
|
||||
sidebar_label: AccessCriteria
|
||||
sidebar_class_name: gosdk
|
||||
keywords: ['go', 'Golang', 'sdk', 'AccessCriteria', 'AccessCriteria']
|
||||
slug: /tools/sdk/go//models/access-criteria
|
||||
tags: ['SDK', 'Software Development Kit', 'AccessCriteria', 'AccessCriteria']
|
||||
keywords: ['go', 'Golang', 'sdk', 'AccessCriteria', 'V2025AccessCriteria']
|
||||
slug: /tools/sdk/go/v2025/models/access-criteria
|
||||
tags: ['SDK', 'Software Development Kit', 'AccessCriteria', 'V2025AccessCriteria']
|
||||
---
|
||||
|
||||
# AccessCriteria
|
||||
|
||||
@@ -1,12 +1,12 @@
|
||||
---
|
||||
id: access-criteria-criteria-list-inner
|
||||
id: v2025-access-criteria-criteria-list-inner
|
||||
title: AccessCriteriaCriteriaListInner
|
||||
pagination_label: AccessCriteriaCriteriaListInner
|
||||
sidebar_label: AccessCriteriaCriteriaListInner
|
||||
sidebar_class_name: gosdk
|
||||
keywords: ['go', 'Golang', 'sdk', 'AccessCriteriaCriteriaListInner', 'AccessCriteriaCriteriaListInner']
|
||||
slug: /tools/sdk/go//models/access-criteria-criteria-list-inner
|
||||
tags: ['SDK', 'Software Development Kit', 'AccessCriteriaCriteriaListInner', 'AccessCriteriaCriteriaListInner']
|
||||
keywords: ['go', 'Golang', 'sdk', 'AccessCriteriaCriteriaListInner', 'V2025AccessCriteriaCriteriaListInner']
|
||||
slug: /tools/sdk/go/v2025/models/access-criteria-criteria-list-inner
|
||||
tags: ['SDK', 'Software Development Kit', 'AccessCriteriaCriteriaListInner', 'V2025AccessCriteriaCriteriaListInner']
|
||||
---
|
||||
|
||||
# AccessCriteriaCriteriaListInner
|
||||
|
||||
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user