Update to go SDK docs: 15029001030

This commit is contained in:
developer-relations-sp
2025-05-14 19:08:14 +00:00
parent 8e2adb109d
commit 7a610557d9
336 changed files with 34603 additions and 34979 deletions

View File

@@ -192,7 +192,6 @@ func main() {
"requestable" : true
}`) // AccessProfile |
var accessProfile beta.AccessProfile
if err := json.Unmarshal(accessprofile, &accessProfile); err != nil {
fmt.Println("Error:", err)
@@ -278,6 +277,7 @@ func main() {
fmt.Fprintf(os.Stderr, "Error when calling `AccessProfilesAPI.DeleteAccessProfile``: %v\n", err)
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
}
}
```
@@ -334,7 +334,6 @@ func main() {
"bestEffortOnly" : true
}`) // AccessProfileBulkDeleteRequest |
var accessProfileBulkDeleteRequest beta.AccessProfileBulkDeleteRequest
if err := json.Unmarshal(accessprofilebulkdeleterequest, &accessProfileBulkDeleteRequest); err != nil {
fmt.Println("Error:", err)
@@ -633,8 +632,7 @@ func main() {
id := `2c91808a7813090a017814121919ecca` // string | ID of the Access Profile to patch # string | ID of the Access Profile to patch
jsonpatchoperation := []byte(`[{op=add, path=/entitlements, value=[{id=2c9180857725c14301772a93bb77242d, type=ENTITLEMENT, name=AD User Group}]}]`) // []JsonPatchOperation |
var jsonPatchOperation beta.[]JsonPatchOperation
var jsonPatchOperation []beta.JsonPatchOperation
if err := json.Unmarshal(jsonpatchoperation, &jsonPatchOperation); err != nil {
fmt.Println("Error:", err)
return
@@ -707,8 +705,7 @@ import (
func main() {
accessprofilebulkupdaterequestinner := []byte(`[{id=464ae7bf-791e-49fd-b746-06a2e4a89635, requestable=false}]`) // []AccessProfileBulkUpdateRequestInner |
var accessProfileBulkUpdateRequestInner beta.[]AccessProfileBulkUpdateRequestInner
var accessProfileBulkUpdateRequestInner []beta.AccessProfileBulkUpdateRequestInner
if err := json.Unmarshal(accessprofilebulkupdaterequestinner, &accessProfileBulkUpdateRequestInner); err != nil {
fmt.Println("Error:", err)
return

View File

@@ -99,7 +99,6 @@ func main() {
"comment" : "This is a comment."
}`) // CommentDto | Reviewer's comment.
var commentDto beta.CommentDto
if err := json.Unmarshal(commentdto, &commentDto); err != nil {
fmt.Println("Error:", err)
@@ -176,7 +175,6 @@ func main() {
"comment" : "comment"
}`) // ForwardApprovalDto | Information about the forwarded approval.
var forwardApprovalDto beta.ForwardApprovalDto
if err := json.Unmarshal(forwardapprovaldto, &forwardApprovalDto); err != nil {
fmt.Println("Error:", err)
@@ -466,7 +464,6 @@ func main() {
"comment" : "This is a comment."
}`) // CommentDto | Reviewer's comment.
var commentDto beta.CommentDto
if err := json.Unmarshal(commentdto, &commentDto); err != nil {
fmt.Println("Error:", err)

View File

@@ -87,7 +87,6 @@ func main() {
"comment" : "I requested this role by mistake."
}`) // CancelAccessRequest |
var cancelAccessRequest beta.CancelAccessRequest
if err := json.Unmarshal(cancelaccessrequest, &cancelAccessRequest); err != nil {
fmt.Println("Error:", err)
@@ -171,7 +170,6 @@ func main() {
"message" : "The IdentityNow Administrator manually closed this request."
}`) // CloseAccessRequest |
var closeAccessRequest beta.CloseAccessRequest
if err := json.Unmarshal(closeaccessrequest, &closeAccessRequest); err != nil {
fmt.Println("Error:", err)
@@ -227,7 +225,8 @@ __REVOKE_ACCESS__
* Revoke requests for entitlements are limited to 1 entitlement per access request currently.
* You can specify a `removeDate` if the access doesn't already have a sunset date. The `removeDate` must be a future date, in the UTC timezone.
* 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.
* Now supports REVOKE_ACCESS requests for identities with multiple accounts on a single source, with the help of 'assignmentId' and 'nativeIdentity' fields.
* Now supports REVOKE_ACCESS requests for identities with multiple accounts on a single source, with the help of 'assignmentId' and 'nativeIdentity' fields. These fields should be used within the 'requestedItems' section for the revoke requests.
* Usage of 'requestedForWithRequestedItems' field is not supported for revoke requests.
[API Spec](https://developer.sailpoint.com/docs/api/beta/create-access-request)
@@ -361,9 +360,7 @@ func main() {
} ],
"comment" : "Requesting access profile for John Doe",
"id" : "2c9180835d2e5168015d32f890ca1581",
"type" : "ACCESS_PROFILE",
"assignmentId" : "ee48a191c00d49bf9264eb0a4fc3a9fc",
"nativeIdentity" : "CN=User db3377de14bf,OU=YOURCONTAINER, DC=YOURDOMAIN"
"type" : "ACCESS_PROFILE"
}, {
"clientMetadata" : {
"requestedAppName" : "test-app",
@@ -391,9 +388,7 @@ func main() {
} ],
"comment" : "Requesting access profile for John Doe",
"id" : "2c9180835d2e5168015d32f890ca1581",
"type" : "ACCESS_PROFILE",
"assignmentId" : "ee48a191c00d49bf9264eb0a4fc3a9fc",
"nativeIdentity" : "CN=User db3377de14bf,OU=YOURCONTAINER, DC=YOURDOMAIN"
"type" : "ACCESS_PROFILE"
} ]
}, {
"identityId" : "cb89bc2f1ee6445fbea12224c526ba3a",
@@ -424,9 +419,7 @@ func main() {
} ],
"comment" : "Requesting access profile for John Doe",
"id" : "2c9180835d2e5168015d32f890ca1581",
"type" : "ACCESS_PROFILE",
"assignmentId" : "ee48a191c00d49bf9264eb0a4fc3a9fc",
"nativeIdentity" : "CN=User db3377de14bf,OU=YOURCONTAINER, DC=YOURDOMAIN"
"type" : "ACCESS_PROFILE"
}, {
"clientMetadata" : {
"requestedAppName" : "test-app",
@@ -454,14 +447,11 @@ func main() {
} ],
"comment" : "Requesting access profile for John Doe",
"id" : "2c9180835d2e5168015d32f890ca1581",
"type" : "ACCESS_PROFILE",
"assignmentId" : "ee48a191c00d49bf9264eb0a4fc3a9fc",
"nativeIdentity" : "CN=User db3377de14bf,OU=YOURCONTAINER, DC=YOURDOMAIN"
"type" : "ACCESS_PROFILE"
} ]
} ]
}`) // AccessRequest |
var accessRequest beta.AccessRequest
if err := json.Unmarshal(accessrequest, &accessRequest); err != nil {
fmt.Println("Error:", err)
@@ -693,7 +683,6 @@ func main() {
"approvalsMustBeExternal" : true
}`) // AccessRequestConfig |
var accessRequestConfig beta.AccessRequestConfig
if err := json.Unmarshal(accessrequestconfig, &accessRequestConfig); err != nil {
fmt.Println("Error:", err)

View File

@@ -128,7 +128,6 @@ func main() {
}
}`) // AccountAttributesCreate |
var accountAttributesCreate beta.AccountAttributesCreate
if err := json.Unmarshal(accountattributescreate, &accountAttributesCreate); err != nil {
fmt.Println("Error:", err)
@@ -354,7 +353,6 @@ func main() {
"externalVerificationId" : "3f9180835d2e5168015d32f890ca1581"
}`) // AccountToggleRequest |
var accountToggleRequest beta.AccountToggleRequest
if err := json.Unmarshal(accounttogglerequest, &accountToggleRequest); err != nil {
fmt.Println("Error:", err)
@@ -496,7 +494,6 @@ func main() {
"identityIds" : [ "2c91808384203c2d018437e631158308", "2c9180858082150f0180893dbaf553fe" ]
}`) // IdentitiesAccountsBulkRequest |
var identitiesAccountsBulkRequest beta.IdentitiesAccountsBulkRequest
if err := json.Unmarshal(identitiesaccountsbulkrequest, &identitiesAccountsBulkRequest); err != nil {
fmt.Println("Error:", err)
@@ -577,7 +574,6 @@ func main() {
"externalVerificationId" : "3f9180835d2e5168015d32f890ca1581"
}`) // AccountToggleRequest |
var accountToggleRequest beta.AccountToggleRequest
if err := json.Unmarshal(accounttogglerequest, &accountToggleRequest); err != nil {
fmt.Println("Error:", err)
@@ -719,7 +715,6 @@ func main() {
"identityIds" : [ "2c91808384203c2d018437e631158308", "2c9180858082150f0180893dbaf553fe" ]
}`) // IdentitiesAccountsBulkRequest |
var identitiesAccountsBulkRequest beta.IdentitiesAccountsBulkRequest
if err := json.Unmarshal(identitiesaccountsbulkrequest, &identitiesAccountsBulkRequest); err != nil {
fmt.Println("Error:", err)
@@ -1032,7 +1027,6 @@ func main() {
}
}`) // AccountAttributes |
var accountAttributes beta.AccountAttributes
if err := json.Unmarshal(accountattributes, &accountAttributes); err != nil {
fmt.Println("Error:", err)
@@ -1185,7 +1179,6 @@ func main() {
"unlockIDNAccount" : false
}`) // AccountUnlockRequest |
var accountUnlockRequest beta.AccountUnlockRequest
if err := json.Unmarshal(accountunlockrequest, &accountUnlockRequest); err != nil {
fmt.Println("Error:", err)
@@ -1273,8 +1266,7 @@ func main() {
id := `ef38f94347e94562b5bb8424a56397d8` // string | Account ID. # string | Account ID.
requestbody := []byte(`{Uncorrelate account={description=Remove account from Identity, value=[{op=remove, path=/identityId}]}, Reassign account={description=Move account from one Identity to another Identity, value=[{op=replace, path=/identityId, value=2c9180857725c14301772a93bb77242d}]}, Add account attribute={description=Add flat file account's attribute, value=[{op=add, path=/attributes/familyName, value=Smith}]}, Replace account attribute={description=Replace flat file account's attribute, value=[{op=replace, path=/attributes/familyName, value=Smith}]}, Remove account attribute={description=Remove flat file account's attribute, value=[{op=remove, path=/attributes/familyName}]}}`) // []map[string]interface{} | A list of account update operations according to the [JSON Patch](https://tools.ietf.org/html/rfc6902) standard.
var requestBody beta.[]RequestBody
var requestBody []beta.RequestBody
if err := json.Unmarshal(requestbody, &requestBody); err != nil {
fmt.Println("Error:", err)
return

View File

@@ -84,6 +84,7 @@ func main() {
fmt.Fprintf(os.Stderr, "Error when calling `ApplicationDiscoveryAPI.GetDiscoveredApplicationByID``: %v\n", err)
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
}
}
```
@@ -282,6 +283,7 @@ func main() {
fmt.Fprintf(os.Stderr, "Error when calling `ApplicationDiscoveryAPI.PatchDiscoveredApplicationByID``: %v\n", err)
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
}
}
```
@@ -343,6 +345,7 @@ func main() {
fmt.Fprintf(os.Stderr, "Error when calling `ApplicationDiscoveryAPI.SendManualDiscoverApplicationsCsvTemplate``: %v\n", err)
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
}
}
```

View File

@@ -87,7 +87,6 @@ func main() {
"matchAllAccounts" : true
}`) // SourceAppCreateDto |
var sourceAppCreateDto beta.SourceAppCreateDto
if err := json.Unmarshal(sourceappcreatedto, &sourceAppCreateDto); err != nil {
fmt.Println("Error:", err)
@@ -163,8 +162,7 @@ func main() {
requestbody := []byte(``) // []string |
limit := 250 // int32 | Max number of results to return. See [V3 API Standard Collection Parameters](https://developer.sailpoint.com/idn/api/standard-collection-parameters) for more information. (optional) (default to 250) # int32 | Max number of results to return. See [V3 API Standard Collection Parameters](https://developer.sailpoint.com/idn/api/standard-collection-parameters) for more information. (optional) (default to 250)
var requestBody beta.[]RequestBody
var requestBody []beta.RequestBody
if err := json.Unmarshal(requestbody, &requestBody); err != nil {
fmt.Println("Error:", err)
return
@@ -1018,6 +1016,7 @@ func main() {
fmt.Fprintf(os.Stderr, "Error when calling `AppsAPI.UpdateSourceAppsInBulk``: %v\n", err)
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
}
}
```

View File

@@ -201,8 +201,7 @@ func main() {
id := `2c91808a7813090a017814121919ecca` // string | ID of the Auth Profile to patch. # string | ID of the Auth Profile to patch.
jsonpatchoperation := []byte(``) // []JsonPatchOperation |
var jsonPatchOperation beta.[]JsonPatchOperation
var jsonPatchOperation []beta.JsonPatchOperation
if err := json.Unmarshal(jsonpatchoperation, &jsonPatchOperation); err != nil {
fmt.Println("Error:", err)
return

View File

@@ -348,7 +348,6 @@ func main() {
"correlatedStatus" : "CORRELATED"
}`) // Campaign |
var campaign beta.Campaign
if err := json.Unmarshal(campaign, &campaign); err != nil {
fmt.Println("Error:", err)
@@ -546,7 +545,6 @@ func main() {
"id" : "2c9079b270a266a60170a277bb960008"
}`) // CampaignTemplate |
var campaignTemplate beta.CampaignTemplate
if err := json.Unmarshal(campaigntemplate, &campaignTemplate); err != nil {
fmt.Println("Error:", err)
@@ -634,6 +632,7 @@ func main() {
fmt.Fprintf(os.Stderr, "Error when calling `CertificationCampaignsAPI.DeleteCampaignTemplate``: %v\n", err)
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
}
}
```
@@ -704,6 +703,7 @@ func main() {
fmt.Fprintf(os.Stderr, "Error when calling `CertificationCampaignsAPI.DeleteCampaignTemplateSchedule``: %v\n", err)
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
}
}
```
@@ -762,7 +762,6 @@ func main() {
"ids" : [ "2c9180887335cee10173490db1776c26", "2c9180836a712436016a7125a90c0021" ]
}`) // DeleteCampaignsRequest | IDs of the campaigns to delete.
var deleteCampaignsRequest beta.DeleteCampaignsRequest
if err := json.Unmarshal(deletecampaignsrequest, &deleteCampaignsRequest); err != nil {
fmt.Println("Error:", err)
@@ -1356,7 +1355,6 @@ func main() {
}
}`) // AdminReviewReassign |
var adminReviewReassign beta.AdminReviewReassign
if err := json.Unmarshal(adminreviewreassign, &adminReviewReassign); err != nil {
fmt.Println("Error:", err)
@@ -1436,8 +1434,7 @@ func main() {
id := `2c9180835d191a86015d28455b4a2329` // string | ID of the campaign template being modified. # string | ID of the campaign template being modified.
jsonpatchoperation := []byte(`[{op=replace, path=/description, value=Updated description!}, {op=replace, path=/campaign/filter/id, value=ff80818155fe8c080155fe8d925b0316}]`) // []JsonPatchOperation | A list of campaign update operations according to the [JSON Patch](https://tools.ietf.org/html/rfc6902) standard. The following fields are patchable: * name * description * deadlineDuration * campaign (all fields that are allowed during create)
var jsonPatchOperation beta.[]JsonPatchOperation
var jsonPatchOperation []beta.JsonPatchOperation
if err := json.Unmarshal(jsonpatchoperation, &jsonPatchOperation); err != nil {
fmt.Println("Error:", err)
return
@@ -1512,7 +1509,6 @@ func main() {
"identityAttributeColumns" : [ "firstname", "lastname" ]
}`) // CampaignReportsConfig | Campaign report configuration.
var campaignReportsConfig beta.CampaignReportsConfig
if err := json.Unmarshal(campaignreportsconfig, &campaignReportsConfig); err != nil {
fmt.Println("Error:", err)
@@ -1622,6 +1618,7 @@ func main() {
fmt.Fprintf(os.Stderr, "Error when calling `CertificationCampaignsAPI.SetCampaignTemplateSchedule``: %v\n", err)
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
}
}
```
@@ -1991,8 +1988,7 @@ func main() {
id := `2c91808571bcfcf80171c23e4b4221fc` // string | ID of the campaign being modified. # string | ID of the campaign being modified.
requestbody := []byte(`[{op=replace, path=/name, value=This field has been updated!}, {op=copy, from=/name, path=/description}]`) // []map[string]interface{} | A list of campaign update operations according to the [JSON Patch](https://tools.ietf.org/html/rfc6902) standard. The fields that can be patched differ based on the status of the campaign. When the campaign is in the *STAGED* status, you can patch these fields: * name * description * recommendationsEnabled * deadline * emailNotificationEnabled * autoRevokeAllowed When the campaign is in the *ACTIVE* status, you can patch these fields: * deadline
var requestBody beta.[]RequestBody
var requestBody []beta.RequestBody
if err := json.Unmarshal(requestbody, &requestBody); err != nil {
fmt.Println("Error:", err)
return

View File

@@ -468,7 +468,6 @@ func main() {
} ]
}`) // ReviewReassign |
var reviewReassign beta.ReviewReassign
if err := json.Unmarshal(reviewreassign, &reviewReassign); err != nil {
fmt.Println("Error:", err)

View File

@@ -100,7 +100,6 @@ func main() {
"type" : "BuildMap"
}`) // ConnectorRuleCreateRequest | The connector rule to create
var connectorRuleCreateRequest beta.ConnectorRuleCreateRequest
if err := json.Unmarshal(connectorrulecreaterequest, &connectorRuleCreateRequest); err != nil {
fmt.Println("Error:", err)
@@ -183,6 +182,7 @@ func main() {
fmt.Fprintf(os.Stderr, "Error when calling `ConnectorRuleManagementAPI.DeleteConnectorRule``: %v\n", err)
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
}
}
```
@@ -457,7 +457,6 @@ func main() {
"script" : "return \"Mr. \" + firstName;"
}`) // SourceCode | The code to validate
var sourceCode beta.SourceCode
if err := json.Unmarshal(sourcecode, &sourceCode); err != nil {
fmt.Println("Error:", err)

View File

@@ -80,7 +80,6 @@ func main() {
"locale" : "en"
}`) // CustomPasswordInstruction |
var customPasswordInstruction beta.CustomPasswordInstruction
if err := json.Unmarshal(custompasswordinstruction, &customPasswordInstruction); err != nil {
fmt.Println("Error:", err)
@@ -164,6 +163,7 @@ func main() {
fmt.Fprintf(os.Stderr, "Error when calling `CustomPasswordInstructionsAPI.DeleteCustomPasswordInstructions``: %v\n", err)
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
}
}
```

View File

@@ -215,6 +215,7 @@ func main() {
fmt.Fprintf(os.Stderr, "Error when calling `EntitlementsAPI.DeleteAccessModelMetadataFromEntitlement``: %v\n", err)
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
}
}
```
@@ -794,11 +795,20 @@ func main() {
"approverId" : "e3eab852-8315-467f-9de7-70eda97f63c8",
"approverType" : "GOVERNANCE_GROUP"
} ],
"reauthorizationRequired" : false,
"requestCommentRequired" : true
},
"revocationRequestConfig" : {
"approvalSchemes" : [ {
"approverId" : "e3eab852-8315-467f-9de7-70eda97f63c8",
"approverType" : "GOVERNANCE_GROUP"
}, {
"approverId" : "e3eab852-8315-467f-9de7-70eda97f63c8",
"approverType" : "GOVERNANCE_GROUP"
} ]
}
}`) // EntitlementRequestConfig |
var entitlementRequestConfig beta.EntitlementRequestConfig
if err := json.Unmarshal(entitlementrequestconfig, &entitlementRequestConfig); err != nil {
fmt.Println("Error:", err)
@@ -957,7 +967,6 @@ func main() {
} ]
}`) // EntitlementBulkUpdateRequest |
var entitlementBulkUpdateRequest beta.EntitlementBulkUpdateRequest
if err := json.Unmarshal(entitlementbulkupdaterequest, &entitlementBulkUpdateRequest); err != nil {
fmt.Println("Error:", err)
@@ -973,6 +982,7 @@ func main() {
fmt.Fprintf(os.Stderr, "Error when calling `EntitlementsAPI.UpdateEntitlementsInBulk``: %v\n", err)
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
}
}
```

View File

@@ -92,7 +92,6 @@ func main() {
"id" : "2c91808568c529c60168cca6f90c1313"
}`) // WorkgroupDto |
var workgroupDto beta.WorkgroupDto
if err := json.Unmarshal(workgroupdto, &workgroupDto); err != nil {
fmt.Println("Error:", err)
@@ -174,6 +173,7 @@ func main() {
fmt.Fprintf(os.Stderr, "Error when calling `GovernanceGroupsAPI.DeleteWorkgroup``: %v\n", err)
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
}
}
```
@@ -234,8 +234,7 @@ func main() {
workgroupId := `2c91808a7813090a017814121919ecca` // string | ID of the Governance Group. # string | ID of the Governance Group.
bulkworkgroupmembersrequestinner := []byte(``) // []BulkWorkgroupMembersRequestInner | List of identities to be removed from a Governance Group members list.
var bulkWorkgroupMembersRequestInner beta.[]BulkWorkgroupMembersRequestInner
var bulkWorkgroupMembersRequestInner []beta.BulkWorkgroupMembersRequestInner
if err := json.Unmarshal(bulkworkgroupmembersrequestinner, &bulkWorkgroupMembersRequestInner); err != nil {
fmt.Println("Error:", err)
return
@@ -315,7 +314,6 @@ func main() {
"ids" : [ "567a697e-885b-495a-afc5-d55e1c23a302", "c7b0f7b2-1e78-4063-b294-a555333dacd2" ]
}`) // WorkgroupBulkDeleteRequest |
var workgroupBulkDeleteRequest beta.WorkgroupBulkDeleteRequest
if err := json.Unmarshal(workgroupbulkdeleterequest, &workgroupBulkDeleteRequest); err != nil {
fmt.Println("Error:", err)
@@ -751,8 +749,7 @@ func main() {
workgroupId := `2c91808a7813090a017814121919ecca` // string | ID of the Governance Group. # string | ID of the Governance Group.
bulkworkgroupmembersrequestinner := []byte(``) // []BulkWorkgroupMembersRequestInner | List of identities to be added to a Governance Group members list.
var bulkWorkgroupMembersRequestInner beta.[]BulkWorkgroupMembersRequestInner
var bulkWorkgroupMembersRequestInner []beta.BulkWorkgroupMembersRequestInner
if err := json.Unmarshal(bulkworkgroupmembersrequestinner, &bulkWorkgroupMembersRequestInner); err != nil {
fmt.Println("Error:", err)
return

View File

@@ -76,7 +76,6 @@ func main() {
"identityId" : "2c91808570313110017040b06f344ec9"
}`) // AccessRequestRecommendationActionItemDto | The recommended access item to ignore for an identity.
var accessRequestRecommendationActionItemDto beta.AccessRequestRecommendationActionItemDto
if err := json.Unmarshal(accessrequestrecommendationactionitemdto, &accessRequestRecommendationActionItemDto); err != nil {
fmt.Println("Error:", err)
@@ -150,7 +149,6 @@ func main() {
"identityId" : "2c91808570313110017040b06f344ec9"
}`) // AccessRequestRecommendationActionItemDto | The recommended access item that was requested for an identity.
var accessRequestRecommendationActionItemDto beta.AccessRequestRecommendationActionItemDto
if err := json.Unmarshal(accessrequestrecommendationactionitemdto, &accessRequestRecommendationActionItemDto); err != nil {
fmt.Println("Error:", err)
@@ -224,7 +222,6 @@ func main() {
"identityId" : "2c91808570313110017040b06f344ec9"
}`) // AccessRequestRecommendationActionItemDto | The recommended access that was viewed for an identity.
var accessRequestRecommendationActionItemDto beta.AccessRequestRecommendationActionItemDto
if err := json.Unmarshal(accessrequestrecommendationactionitemdto, &accessRequestRecommendationActionItemDto); err != nil {
fmt.Println("Error:", err)
@@ -292,8 +289,7 @@ import (
func main() {
accessrequestrecommendationactionitemdto := []byte(``) // []AccessRequestRecommendationActionItemDto | The recommended access items that were viewed for an identity.
var accessRequestRecommendationActionItemDto beta.[]AccessRequestRecommendationActionItemDto
var accessRequestRecommendationActionItemDto []beta.AccessRequestRecommendationActionItemDto
if err := json.Unmarshal(accessrequestrecommendationactionitemdto, &accessRequestRecommendationActionItemDto); err != nil {
fmt.Println("Error:", err)
return

View File

@@ -75,7 +75,6 @@ func main() {
"status" : "CONFIRMED"
}`) // CommonAccessItemRequest |
var commonAccessItemRequest beta.CommonAccessItemRequest
if err := json.Unmarshal(commonaccessitemrequest, &commonAccessItemRequest); err != nil {
fmt.Println("Error:", err)
@@ -213,8 +212,7 @@ import (
func main() {
commonaccessidstatus := []byte(``) // []CommonAccessIDStatus | Confirm or deny in bulk the common access ids that are (or aren't) common access
var commonAccessIDStatus beta.[]CommonAccessIDStatus
var commonAccessIDStatus []beta.CommonAccessIDStatus
if err := json.Unmarshal(commonaccessidstatus, &commonAccessIDStatus); err != nil {
fmt.Println("Error:", err)
return

View File

@@ -488,8 +488,7 @@ import (
func main() {
requestbody := []byte(``) // []string |
var requestBody beta.[]RequestBody
var requestBody []beta.RequestBody
if err := json.Unmarshal(requestbody, &requestBody); err != nil {
fmt.Println("Error:", err)
return
@@ -504,6 +503,7 @@ func main() {
fmt.Fprintf(os.Stderr, "Error when calling `IAIOutliersAPI.IgnoreIdentityOutliers``: %v\n", err)
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
}
}
```
@@ -636,8 +636,7 @@ import (
func main() {
requestbody := []byte(``) // []string |
var requestBody beta.[]RequestBody
var requestBody []beta.RequestBody
if err := json.Unmarshal(requestbody, &requestBody); err != nil {
fmt.Println("Error:", err)
return
@@ -652,6 +651,7 @@ func main() {
fmt.Fprintf(os.Stderr, "Error when calling `IAIOutliersAPI.UnIgnoreIdentityOutliers``: %v\n", err)
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
}
}
```

View File

@@ -83,7 +83,6 @@ func main() {
"includeDebugInformation" : true
}`) // RecommendationRequestDto |
var recommendationRequestDto beta.RecommendationRequestDto
if err := json.Unmarshal(recommendationrequestdto, &recommendationRequestDto); err != nil {
fmt.Println("Error:", err)
@@ -213,7 +212,6 @@ func main() {
"onlyTuneThreshold" : false
}`) // RecommendationConfigDto |
var recommendationConfigDto beta.RecommendationConfigDto
if err := json.Unmarshal(recommendationconfigdto, &recommendationConfigDto); err != nil {
fmt.Println("Error:", err)

View File

@@ -199,7 +199,6 @@ func main() {
"type" : "SPECIALIZED"
}`) // RoleMiningSessionDto | Role mining session parameters
var roleMiningSessionDto beta.RoleMiningSessionDto
if err := json.Unmarshal(roleminingsessiondto, &roleMiningSessionDto); err != nil {
fmt.Println("Error:", err)
@@ -1667,8 +1666,7 @@ func main() {
potentialRoleId := `8c190e67-87aa-4ed9-a90b-d9d5344523fb` // string | The potential role summary id # string | The potential role summary id
patchpotentialrolerequestinner := []byte(`[{op=remove, path=/description}, {op=replace, path=/description, value=Acct I - Potential Role}, {op=remove, path=/saved}, {op=replace, path=/saved, value=false}, {op=remove, path=/name}, {op=replace, path=/name, value=Potential Role Accounting}]`) // []PatchPotentialRoleRequestInner |
var patchPotentialRoleRequestInner beta.[]PatchPotentialRoleRequestInner
var patchPotentialRoleRequestInner []beta.PatchPotentialRoleRequestInner
if err := json.Unmarshal(patchpotentialrolerequestinner, &patchPotentialRoleRequestInner); err != nil {
fmt.Println("Error:", err)
return
@@ -1753,8 +1751,7 @@ func main() {
potentialRoleId := `8c190e67-87aa-4ed9-a90b-d9d5344523fb` // string | The potential role summary id # string | The potential role summary id
patchpotentialrolerequestinner := []byte(`[{op=remove, path=/description}, {op=replace, path=/description, value=Acct I - Potential Role}, {op=remove, path=/saved}, {op=replace, path=/saved, value=false}, {op=remove, path=/name}, {op=replace, path=/name, value=Potential Role Accounting}]`) // []PatchPotentialRoleRequestInner |
var patchPotentialRoleRequestInner beta.[]PatchPotentialRoleRequestInner
var patchPotentialRoleRequestInner []beta.PatchPotentialRoleRequestInner
if err := json.Unmarshal(patchpotentialrolerequestinner, &patchPotentialRoleRequestInner); err != nil {
fmt.Println("Error:", err)
return
@@ -1827,8 +1824,7 @@ func main() {
sessionId := `8c190e67-87aa-4ed9-a90b-d9d5344523fb` // string | The role mining session id to be patched # string | The role mining session id to be patched
jsonpatchoperation := []byte(`[{op=replace, path=/pruneThreshold, value=83}, {op=replace, path=/minNumIdentitiesInPotentialRole, value=10}, {op=replace, path=/saved, value=false}, {op=replace, path=/name, value=RM Session - 07/10/22}, {op=add, path=/name, value=RM Session - 07/10/22}]`) // []JsonPatchOperation | Replace pruneThreshold and/or minNumIdentitiesInPotentialRole in role mining session. Update saved status or saved name for a role mining session.
var jsonPatchOperation beta.[]JsonPatchOperation
var jsonPatchOperation []beta.JsonPatchOperation
if err := json.Unmarshal(jsonpatchoperation, &jsonPatchOperation); err != nil {
fmt.Println("Error:", err)
return
@@ -1907,7 +1903,6 @@ func main() {
"exclude" : true
}`) // RoleMiningPotentialRoleEditEntitlements | Role mining session parameters
var roleMiningPotentialRoleEditEntitlements beta.RoleMiningPotentialRoleEditEntitlements
if err := json.Unmarshal(roleminingpotentialroleeditentitlements, &roleMiningPotentialRoleEditEntitlements); err != nil {
fmt.Println("Error:", err)

View File

@@ -83,6 +83,7 @@ func main() {
fmt.Fprintf(os.Stderr, "Error when calling `IconsAPI.DeleteIcon``: %v\n", err)
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
}
}
```

View File

@@ -102,6 +102,7 @@ func main() {
fmt.Fprintf(os.Stderr, "Error when calling `IdentitiesAPI.DeleteIdentity``: %v\n", err)
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
}
}
```
@@ -511,6 +512,7 @@ func main() {
fmt.Fprintf(os.Stderr, "Error when calling `IdentitiesAPI.ResetIdentity``: %v\n", err)
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
}
}
```
@@ -571,7 +573,6 @@ func main() {
"via" : "EMAIL_WORK"
}`) // SendAccountVerificationRequest |
var sendAccountVerificationRequest beta.SendAccountVerificationRequest
if err := json.Unmarshal(sendaccountverificationrequest, &sendAccountVerificationRequest); err != nil {
fmt.Println("Error:", err)
@@ -587,6 +588,7 @@ func main() {
fmt.Fprintf(os.Stderr, "Error when calling `IdentitiesAPI.SendIdentityVerificationAccountToken``: %v\n", err)
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
}
}
```
@@ -645,7 +647,6 @@ func main() {
"uninvited" : false
}`) // InviteIdentitiesRequest |
var inviteIdentitiesRequest beta.InviteIdentitiesRequest
if err := json.Unmarshal(inviteidentitiesrequest, &inviteIdentitiesRequest); err != nil {
fmt.Println("Error:", err)
@@ -725,7 +726,6 @@ func main() {
"identityIds" : [ "ef38f94347e94562b5bb8424a56397d8", "ef38f94347e94562b5bb8424a56397d8", "ef38f94347e94562b5bb8424a56397d8", "ef38f94347e94562b5bb8424a56397d8", "ef38f94347e94562b5bb8424a56397d8" ]
}`) // ProcessIdentitiesRequest |
var processIdentitiesRequest beta.ProcessIdentitiesRequest
if err := json.Unmarshal(processidentitiesrequest, &processIdentitiesRequest); err != nil {
fmt.Println("Error:", err)

View File

@@ -89,7 +89,6 @@ func main() {
"multi" : false
}`) // IdentityAttribute |
var identityAttribute beta.IdentityAttribute
if err := json.Unmarshal(identityattribute, &identityAttribute); err != nil {
fmt.Println("Error:", err)
@@ -171,6 +170,7 @@ func main() {
fmt.Fprintf(os.Stderr, "Error when calling `IdentityAttributesAPI.DeleteIdentityAttribute``: %v\n", err)
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
}
}
```
@@ -223,7 +223,6 @@ func main() {
"ids" : [ "name", "displayName" ]
}`) // IdentityAttributeNames |
var identityAttributeNames beta.IdentityAttributeNames
if err := json.Unmarshal(identityattributenames, &identityAttributeNames); err != nil {
fmt.Println("Error:", err)
@@ -239,6 +238,7 @@ func main() {
fmt.Fprintf(os.Stderr, "Error when calling `IdentityAttributesAPI.DeleteIdentityAttributesInBulk``: %v\n", err)
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
}
}
```
@@ -450,7 +450,6 @@ func main() {
"multi" : false
}`) // IdentityAttribute |
var identityAttribute beta.IdentityAttribute
if err := json.Unmarshal(identityattribute, &identityAttribute); err != nil {
fmt.Println("Error:", err)

View File

@@ -133,7 +133,6 @@ func main() {
"id" : "id12345"
}`) // IdentityProfile |
var identityProfile beta.IdentityProfile
if err := json.Unmarshal(identityprofile, &identityProfile); err != nil {
fmt.Println("Error:", err)
@@ -275,8 +274,7 @@ import (
func main() {
requestbody := []byte(``) // []string | Identity Profile bulk delete request body.
var requestBody beta.[]RequestBody
var requestBody []beta.RequestBody
if err := json.Unmarshal(requestbody, &requestBody); err != nil {
fmt.Println("Error:", err)
return
@@ -547,8 +545,7 @@ import (
func main() {
identityprofileexportedobject := []byte(``) // []IdentityProfileExportedObject | Previously exported Identity Profiles.
var identityProfileExportedObject beta.[]IdentityProfileExportedObject
var identityProfileExportedObject []beta.IdentityProfileExportedObject
if err := json.Unmarshal(identityprofileexportedobject, &identityProfileExportedObject); err != nil {
fmt.Println("Error:", err)
return
@@ -714,7 +711,6 @@ func main() {
}
}`) // IdentityPreviewRequest | Identity Preview request body.
var identityPreviewRequest beta.IdentityPreviewRequest
if err := json.Unmarshal(identitypreviewrequest, &identityPreviewRequest); err != nil {
fmt.Println("Error:", err)
@@ -867,8 +863,7 @@ func main() {
identityProfileId := `ef38f94347e94562b5bb8424a56397d8` // string | Identity profile ID. # string | Identity profile ID.
jsonpatchoperation := []byte(`[{op=add, path=/identityAttributeConfig/attributeTransforms/0, value={identityAttributeName=location, transformDefinition={type=accountAttribute, attributes={sourceName=Employees, attributeName=location, sourceId=2c91808878b7d63b0178c66ffcdc4ce4}}}}]`) // []JsonPatchOperation | List of identity profile update operations according to the [JSON Patch](https://tools.ietf.org/html/rfc6902) standard.
var jsonPatchOperation beta.[]JsonPatchOperation
var jsonPatchOperation []beta.JsonPatchOperation
if err := json.Unmarshal(jsonpatchoperation, &jsonPatchOperation); err != nil {
fmt.Println("Error:", err)
return

View File

@@ -81,7 +81,6 @@ func main() {
"config" : "{\"workflowId\" : \"6b42d9be-61b6-46af-827e-ea29ba8aa3d9\"}"
}`) // LauncherRequest | Payload to create a Launcher
var launcherRequest beta.LauncherRequest
if err := json.Unmarshal(launcherrequest, &launcherRequest); err != nil {
fmt.Println("Error:", err)
@@ -163,6 +162,7 @@ func main() {
fmt.Fprintf(os.Stderr, "Error when calling `LaunchersAPI.DeleteLauncher``: %v\n", err)
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
}
}
```
@@ -361,7 +361,6 @@ func main() {
"config" : "{\"workflowId\" : \"6b42d9be-61b6-46af-827e-ea29ba8aa3d9\"}"
}`) // LauncherRequest | Payload to replace Launcher
var launcherRequest beta.LauncherRequest
if err := json.Unmarshal(launcherrequest, &launcherRequest); err != nil {
fmt.Println("Error:", err)

View File

@@ -184,8 +184,7 @@ func main() {
lifecycleStateId := `ef38f94347e94562b5bb8424a56397d8` // string | Lifecycle State ID. # string | Lifecycle State ID.
jsonpatchoperation := []byte(`[{op=replace, path=/description, value=Updated description!}, {op=replace, path=/accessProfileIds, value=[2c918087742bab150174407a80f3125e, 2c918087742bab150174407a80f3124f]}, {op=replace, path=/accountActions, value=[{action=ENABLE, sourceIds=[2c9180846a2f82fb016a481c1b1560c5, 2c9180846a2f82fb016a481c1b1560cc]}, {action=DISABLE, sourceIds=[2c91808869a0c9980169a207258513fb]}]}, {op=replace, path=/emailNotificationOption, value={notifyManagers=true, notifyAllAdmins=false, notifySpecificUsers=false, emailAddressList=[]}}]`) // []JsonPatchOperation | A list of lifecycle state update operations according to the [JSON Patch](https://tools.ietf.org/html/rfc6902) standard. The following fields can be updated: * enabled * description * accountActions * accessProfileIds * emailNotificationOption
var jsonPatchOperation beta.[]JsonPatchOperation
var jsonPatchOperation []beta.JsonPatchOperation
if err := json.Unmarshal(jsonpatchoperation, &jsonPatchOperation); err != nil {
fmt.Println("Error:", err)
return

View File

@@ -322,7 +322,6 @@ func main() {
"identityAttribute" : "email"
}`) // MfaDuoConfig |
var mfaDuoConfig beta.MfaDuoConfig
if err := json.Unmarshal(mfaduoconfig, &mfaDuoConfig); err != nil {
fmt.Println("Error:", err)
@@ -390,8 +389,7 @@ import (
func main() {
kbaanswerrequestitem := []byte(`[{id=173423, answer=822cd15d6c15aa0c55ad015a3bf4f1b2b0b822cd15d6c15b0f00a0859a2fea34}, {id=c54fee53-2d63-4fc5-9259-3e93b9994135, answer=9f86d081884c7d659a2feaa0c55ad015a3bf4f1b2b0b822cd15d6c15b0f00a08}]`) // []KbaAnswerRequestItem |
var kbaAnswerRequestItem beta.[]KbaAnswerRequestItem
var kbaAnswerRequestItem []beta.KbaAnswerRequestItem
if err := json.Unmarshal(kbaanswerrequestitem, &kbaAnswerRequestItem); err != nil {
fmt.Println("Error:", err)
return
@@ -464,7 +462,6 @@ func main() {
"identityAttribute" : "email"
}`) // MfaOktaConfig |
var mfaOktaConfig beta.MfaOktaConfig
if err := json.Unmarshal(mfaoktaconfig, &mfaOktaConfig); err != nil {
fmt.Println("Error:", err)

View File

@@ -71,7 +71,6 @@ func main() {
"deliveryType" : "EMAIL_WORK"
}`) // SendTokenRequest |
var sendTokenRequest beta.SendTokenRequest
if err := json.Unmarshal(sendtokenrequest, &sendTokenRequest); err != nil {
fmt.Println("Error:", err)
@@ -147,7 +146,6 @@ func main() {
"requestId" : "089899f13a8f4da7824996191587bab9"
}`) // VerificationPollRequest |
var verificationPollRequest beta.VerificationPollRequest
if err := json.Unmarshal(verificationpollrequest, &verificationPollRequest); err != nil {
fmt.Println("Error:", err)
@@ -218,7 +216,6 @@ func main() {
"userId" : "2c9180947f0ef465017f215cbcfd004b"
}`) // DuoVerificationRequest |
var duoVerificationRequest beta.DuoVerificationRequest
if err := json.Unmarshal(duoverificationrequest, &duoVerificationRequest); err != nil {
fmt.Println("Error:", err)
@@ -286,8 +283,7 @@ import (
func main() {
kbaanswerrequestitem := []byte(`[{id=173423, answer=822cd15d6c15aa0c55ad015a3bf4f1b2b0b822cd15d6c15b0f00a0859a2fea34}, {id=c54fee53-2d63-4fc5-9259-3e93b9994135, answer=9f86d081884c7d659a2feaa0c55ad015a3bf4f1b2b0b822cd15d6c15b0f00a08}]`) // []KbaAnswerRequestItem |
var kbaAnswerRequestItem beta.[]KbaAnswerRequestItem
var kbaAnswerRequestItem []beta.KbaAnswerRequestItem
if err := json.Unmarshal(kbaanswerrequestitem, &kbaAnswerRequestItem); err != nil {
fmt.Println("Error:", err)
return
@@ -356,7 +352,6 @@ func main() {
"userId" : "example@mail.com"
}`) // OktaVerificationRequest |
var oktaVerificationRequest beta.OktaVerificationRequest
if err := json.Unmarshal(oktaverificationrequest, &oktaVerificationRequest); err != nil {
fmt.Println("Error:", err)
@@ -428,7 +423,6 @@ func main() {
"token" : "12345"
}`) // TokenAuthRequest |
var tokenAuthRequest beta.TokenAuthRequest
if err := json.Unmarshal(tokenauthrequest, &tokenAuthRequest); err != nil {
fmt.Println("Error:", err)

View File

@@ -172,7 +172,6 @@ func main() {
"timestamp" : "2020-01-01T00:00:00Z"
}`) // ManagedClientStatus |
var managedClientStatus beta.ManagedClientStatus
if err := json.Unmarshal(managedclientstatus, &managedClientStatus); err != nil {
fmt.Println("Error:", err)

View File

@@ -105,7 +105,6 @@ func main() {
"modified" : "2024-01-23T18:08:50.897Z"
}`) // MultiHostIntegrationsCreate | The specifics of the Multi-Host Integration to create
var multiHostIntegrationsCreate beta.MultiHostIntegrationsCreate
if err := json.Unmarshal(multihostintegrationscreate, &multiHostIntegrationsCreate); err != nil {
fmt.Println("Error:", err)
@@ -181,8 +180,7 @@ func main() {
multihostId := `2c91808568c529c60168cca6f90c1326` // string | ID of the Multi-Host Integration. # string | ID of the Multi-Host Integration.
multihostintegrationscreatesources := []byte(``) // []MultiHostIntegrationsCreateSources | The specifics of the sources to create within Multi-Host Integration.
var multiHostIntegrationsCreateSources beta.[]MultiHostIntegrationsCreateSources
var multiHostIntegrationsCreateSources []beta.MultiHostIntegrationsCreateSources
if err := json.Unmarshal(multihostintegrationscreatesources, &multiHostIntegrationsCreateSources); err != nil {
fmt.Println("Error:", err)
return
@@ -197,6 +195,7 @@ func main() {
fmt.Fprintf(os.Stderr, "Error when calling `MultiHostIntegrationAPI.CreateSourcesWithinMultiHost``: %v\n", err)
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
}
}
```
@@ -263,6 +262,7 @@ func main() {
fmt.Fprintf(os.Stderr, "Error when calling `MultiHostIntegrationAPI.DeleteMultiHost``: %v\n", err)
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
}
}
```
@@ -812,6 +812,7 @@ func main() {
fmt.Fprintf(os.Stderr, "Error when calling `MultiHostIntegrationAPI.TestConnectionMultiHostSources``: %v\n", err)
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
}
}
```
@@ -941,8 +942,7 @@ func main() {
multihostId := `anId` // string | ID of the Multi-Host Integration to update. # string | ID of the Multi-Host Integration to update.
updatemultihostsourcesrequestinner := []byte(`[{op=add, path=/description, value=MDK Multi-Host Integration 222 description}]`) // []UpdateMultiHostSourcesRequestInner | This endpoint allows you to update a Multi-Host Integration.
var updateMultiHostSourcesRequestInner beta.[]UpdateMultiHostSourcesRequestInner
var updateMultiHostSourcesRequestInner []beta.UpdateMultiHostSourcesRequestInner
if err := json.Unmarshal(updatemultihostsourcesrequestinner, &updateMultiHostSourcesRequestInner); err != nil {
fmt.Println("Error:", err)
return
@@ -957,6 +957,7 @@ func main() {
fmt.Fprintf(os.Stderr, "Error when calling `MultiHostIntegrationAPI.UpdateMultiHostSources``: %v\n", err)
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
}
}
```

View File

@@ -133,7 +133,6 @@ func main() {
"comment" : "comment"
}`) // NonEmployeeApprovalDecision |
var nonEmployeeApprovalDecision beta.NonEmployeeApprovalDecision
if err := json.Unmarshal(nonemployeeapprovaldecision, &nonEmployeeApprovalDecision); err != nil {
fmt.Println("Error:", err)
@@ -217,7 +216,6 @@ func main() {
"startDate" : "2020-03-24T00:00:00-05:00"
}`) // NonEmployeeRequestBody | Non-Employee record creation request body.
var nonEmployeeRequestBody beta.NonEmployeeRequestBody
if err := json.Unmarshal(nonemployeerequestbody, &nonEmployeeRequestBody); err != nil {
fmt.Println("Error:", err)
@@ -299,7 +297,6 @@ func main() {
"startDate" : "2020-03-24T00:00:00-05:00"
}`) // NonEmployeeRequestBody | Non-Employee creation request body
var nonEmployeeRequestBody beta.NonEmployeeRequestBody
if err := json.Unmarshal(nonemployeerequestbody, &nonEmployeeRequestBody); err != nil {
fmt.Println("Error:", err)
@@ -392,7 +389,6 @@ func main() {
} ]
}`) // NonEmployeeSourceRequestBody | Non-Employee source creation request body.
var nonEmployeeSourceRequestBody beta.NonEmployeeSourceRequestBody
if err := json.Unmarshal(nonemployeesourcerequestbody, &nonEmployeeSourceRequestBody); err != nil {
fmt.Println("Error:", err)
@@ -473,7 +469,6 @@ func main() {
"required" : true
}`) // NonEmployeeSchemaAttributeBody |
var nonEmployeeSchemaAttributeBody beta.NonEmployeeSchemaAttributeBody
if err := json.Unmarshal(nonemployeeschemaattributebody, &nonEmployeeSchemaAttributeBody); err != nil {
fmt.Println("Error:", err)
@@ -555,6 +550,7 @@ func main() {
fmt.Fprintf(os.Stderr, "Error when calling `NonEmployeeLifecycleManagementAPI.DeleteNonEmployeeRecord``: %v\n", err)
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
}
}
```
@@ -607,7 +603,6 @@ import (
func main() {
deletenonemployeerecordinbulkrequest := []byte(``) // DeleteNonEmployeeRecordInBulkRequest | Non-Employee bulk delete request body.
var deleteNonEmployeeRecordInBulkRequest beta.DeleteNonEmployeeRecordInBulkRequest
if err := json.Unmarshal(deletenonemployeerecordinbulkrequest, &deleteNonEmployeeRecordInBulkRequest); err != nil {
fmt.Println("Error:", err)
@@ -623,6 +618,7 @@ func main() {
fmt.Fprintf(os.Stderr, "Error when calling `NonEmployeeLifecycleManagementAPI.DeleteNonEmployeeRecordInBulk``: %v\n", err)
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
}
}
```
@@ -687,6 +683,7 @@ func main() {
fmt.Fprintf(os.Stderr, "Error when calling `NonEmployeeLifecycleManagementAPI.DeleteNonEmployeeRequest``: %v\n", err)
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
}
}
```
@@ -755,6 +752,7 @@ func main() {
fmt.Fprintf(os.Stderr, "Error when calling `NonEmployeeLifecycleManagementAPI.DeleteNonEmployeeSchemaAttribute``: %v\n", err)
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
}
}
```
@@ -819,6 +817,7 @@ func main() {
fmt.Fprintf(os.Stderr, "Error when calling `NonEmployeeLifecycleManagementAPI.DeleteNonEmployeeSource``: %v\n", err)
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
}
}
```
@@ -883,6 +882,7 @@ func main() {
fmt.Fprintf(os.Stderr, "Error when calling `NonEmployeeLifecycleManagementAPI.DeleteNonEmployeeSourceSchemaAttributes``: %v\n", err)
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
}
}
```
@@ -947,6 +947,7 @@ func main() {
fmt.Fprintf(os.Stderr, "Error when calling `NonEmployeeLifecycleManagementAPI.ExportNonEmployeeRecords``: %v\n", err)
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
}
}
```
@@ -1013,6 +1014,7 @@ func main() {
fmt.Fprintf(os.Stderr, "Error when calling `NonEmployeeLifecycleManagementAPI.ExportNonEmployeeSourceSchemaTemplate``: %v\n", err)
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
}
}
```
@@ -2027,8 +2029,7 @@ func main() {
id := `2c91808b6ef1d43e016efba0ce470904` // string | Non-employee record id (UUID) # string | Non-employee record id (UUID)
jsonpatchoperation := []byte(`[{op=replace, path=/endDate, value={2019-08-23T18:40:35.772Z=null}}]`) // []JsonPatchOperation | A list of non-employee update operations according to the [JSON Patch](https://tools.ietf.org/html/rfc6902) standard. Attributes are restricted by user type. Owner of source can update end date. Organization admins can update all available fields.
var jsonPatchOperation beta.[]JsonPatchOperation
var jsonPatchOperation []beta.JsonPatchOperation
if err := json.Unmarshal(jsonpatchoperation, &jsonPatchOperation); err != nil {
fmt.Println("Error:", err)
return
@@ -2105,8 +2106,7 @@ func main() {
sourceId := `2c91808b6ef1d43e016efba0ce470904` // string | The Source id # string | The Source id
jsonpatchoperation := []byte(`[{op=replace, path=/label, value={new attribute label=null}}]`) // []JsonPatchOperation | A list of schema attribute update operations according to the [JSON Patch](https://tools.ietf.org/html/rfc6902) standard. The following properties are allowed for update ':' 'label', 'helpText', 'placeholder', 'required'.
var jsonPatchOperation beta.[]JsonPatchOperation
var jsonPatchOperation []beta.JsonPatchOperation
if err := json.Unmarshal(jsonpatchoperation, &jsonPatchOperation); err != nil {
fmt.Println("Error:", err)
return
@@ -2179,8 +2179,7 @@ func main() {
sourceId := `2c91808b6ef1d43e016efba0ce470904` // string | Source Id # string | Source Id
jsonpatchoperation := []byte(`[{op=replace, path=/name, value={new name=null}}, {op=replace, path=/approvers, value=[2c91809f703bb37a017040a2fe8748c7, 48b1f463c9e8427db5a5071bd81914b8]}]`) // []JsonPatchOperation | A list of non-employee source update operations according to the [JSON Patch](https://tools.ietf.org/html/rfc6902) standard.
var jsonPatchOperation beta.[]JsonPatchOperation
var jsonPatchOperation []beta.JsonPatchOperation
if err := json.Unmarshal(jsonpatchoperation, &jsonPatchOperation); err != nil {
fmt.Println("Error:", err)
return
@@ -2255,7 +2254,6 @@ func main() {
"comment" : "comment"
}`) // NonEmployeeRejectApprovalDecision |
var nonEmployeeRejectApprovalDecision beta.NonEmployeeRejectApprovalDecision
if err := json.Unmarshal(nonemployeerejectapprovaldecision, &nonEmployeeRejectApprovalDecision); err != nil {
fmt.Println("Error:", err)
@@ -2343,7 +2341,6 @@ func main() {
"startDate" : "2020-03-24T00:00:00-05:00"
}`) // NonEmployeeRequestBody | Non-employee record creation request body. Attributes are restricted by user type. Owner of source can update end date. Organization admins can update all available fields.
var nonEmployeeRequestBody beta.NonEmployeeRequestBody
if err := json.Unmarshal(nonemployeerequestbody, &nonEmployeeRequestBody); err != nil {
fmt.Println("Error:", err)

View File

@@ -79,7 +79,6 @@ func main() {
"domain" : "sailpoint.com"
}`) // DomainAddress |
var domainAddress beta.DomainAddress
if err := json.Unmarshal(domainaddress, &domainAddress); err != nil {
fmt.Println("Error:", err)
@@ -166,7 +165,6 @@ func main() {
"key" : "cloud_manual_work_item_summary"
}`) // TemplateDto |
var templateDto beta.TemplateDto
if err := json.Unmarshal(templatedto, &templateDto); err != nil {
fmt.Println("Error:", err)
@@ -239,7 +237,6 @@ func main() {
"email" : "sender@example.com"
}`) // EmailStatusDto |
var emailStatusDto beta.EmailStatusDto
if err := json.Unmarshal(emailstatusdto, &emailStatusDto); err != nil {
fmt.Println("Error:", err)
@@ -307,8 +304,7 @@ import (
func main() {
templatebulkdeletedto := []byte(``) // []TemplateBulkDeleteDto |
var templateBulkDeleteDto beta.[]TemplateBulkDeleteDto
var templateBulkDeleteDto []beta.TemplateBulkDeleteDto
if err := json.Unmarshal(templatebulkdeletedto, &templateBulkDeleteDto); err != nil {
fmt.Println("Error:", err)
return
@@ -323,6 +319,7 @@ func main() {
fmt.Fprintf(os.Stderr, "Error when calling `NotificationsAPI.DeleteNotificationTemplatesInBulk``: %v\n", err)
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
}
}
```
@@ -387,6 +384,7 @@ func main() {
fmt.Fprintf(os.Stderr, "Error when calling `NotificationsAPI.DeleteVerifiedFromAddress``: %v\n", err)
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
}
}
```
@@ -955,7 +953,6 @@ func main() {
"mailFromDomain" : "example.sailpoint.com"
}`) // MailFromAttributesDto |
var mailFromAttributesDto beta.MailFromAttributesDto
if err := json.Unmarshal(mailfromattributesdto, &mailFromAttributesDto); err != nil {
fmt.Println("Error:", err)
@@ -1027,7 +1024,6 @@ func main() {
"key" : "cloud_manual_work_item_summary"
}`) // SendTestNotificationRequestDto |
var sendTestNotificationRequestDto beta.SendTestNotificationRequestDto
if err := json.Unmarshal(sendtestnotificationrequestdto, &sendTestNotificationRequestDto); err != nil {
fmt.Println("Error:", err)
@@ -1043,6 +1039,7 @@ func main() {
fmt.Fprintf(os.Stderr, "Error when calling `NotificationsAPI.SendTestNotification``: %v\n", err)
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
}
}
```

View File

@@ -86,7 +86,6 @@ func main() {
"claimsSupported" : false
}`) // CreateOAuthClientRequest |
var createOAuthClientRequest beta.CreateOAuthClientRequest
if err := json.Unmarshal(createoauthclientrequest, &createOAuthClientRequest); err != nil {
fmt.Println("Error:", err)
@@ -168,6 +167,7 @@ func main() {
fmt.Fprintf(os.Stderr, "Error when calling `OAuthClientsAPI.DeleteOauthClient``: %v\n", err)
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
}
}
```
@@ -354,8 +354,7 @@ func main() {
id := `ef38f94347e94562b5bb8424a56397d8` // string | The OAuth client id # string | The OAuth client id
jsonpatchoperation := []byte(`[{op=replace, path=/strongAuthSupported, value=true}, {op=replace, path=/businessName, value=acme-solar}]`) // []JsonPatchOperation | A list of OAuth client update operations according to the [JSON Patch](https://tools.ietf.org/html/rfc6902) standard. The following fields are patchable: * tenant * businessName * homepageUrl * name * description * accessTokenValiditySeconds * refreshTokenValiditySeconds * redirectUris * grantTypes * accessType * enabled * strongAuthSupported * claimsSupported
var jsonPatchOperation beta.[]JsonPatchOperation
var jsonPatchOperation []beta.JsonPatchOperation
if err := json.Unmarshal(jsonpatchoperation, &jsonPatchOperation); err != nil {
fmt.Println("Error:", err)
return

View File

@@ -181,8 +181,7 @@ import (
func main() {
jsonpatchoperation := []byte(`[{op=replace, path=/timeZone, value=America/Toronto}]`) // []JsonPatchOperation | A list of schema attribute update operations according to the [JSON Patch](https://tools.ietf.org/html/rfc6902) standard.
var jsonPatchOperation beta.[]JsonPatchOperation
var jsonPatchOperation []beta.JsonPatchOperation
if err := json.Unmarshal(jsonpatchoperation, &jsonPatchOperation); err != nil {
fmt.Println("Error:", err)
return

View File

@@ -78,7 +78,6 @@ func main() {
"customInstructionsEnabled" : true
}`) // PasswordOrgConfig |
var passwordOrgConfig beta.PasswordOrgConfig
if err := json.Unmarshal(passwordorgconfig, &passwordOrgConfig); err != nil {
fmt.Println("Error:", err)
@@ -210,7 +209,6 @@ func main() {
"customInstructionsEnabled" : true
}`) // PasswordOrgConfig |
var passwordOrgConfig beta.PasswordOrgConfig
if err := json.Unmarshal(passwordorgconfig, &passwordOrgConfig); err != nil {
fmt.Println("Error:", err)

View File

@@ -234,6 +234,7 @@ func main() {
fmt.Fprintf(os.Stderr, "Error when calling `PasswordDictionaryAPI.PutPasswordDictionary``: %v\n", err)
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
}
}
```

View File

@@ -94,7 +94,6 @@ func main() {
"userId" : "Abby.Smith"
}`) // PasswordDigitTokenReset |
var passwordDigitTokenReset beta.PasswordDigitTokenReset
if err := json.Unmarshal(passworddigittokenreset, &passwordDigitTokenReset); err != nil {
fmt.Println("Error:", err)
@@ -239,7 +238,6 @@ func main() {
"userName" : "Abby.Smith"
}`) // PasswordInfoQueryDTO |
var passwordInfoQueryDTO beta.PasswordInfoQueryDTO
if err := json.Unmarshal(passwordinfoquerydto, &passwordInfoQueryDTO); err != nil {
fmt.Println("Error:", err)
@@ -356,7 +354,6 @@ func main() {
"encryptedPassword" : "XzN+YwKgr2C+InkMYFMBG3UtjMEw5ZIql/XFlXo8cJNeslmkplx6vn4kd4/43IF9STBk5RnzR6XmjpEO+FwHDoiBwYZAkAZK/Iswxk4OdybG6Y4MStJCOCiK8osKr35IMMSV/mbO4wAeltoCk7daTWzTGLiI6UaT5tf+F2EgdjJZ7YqM8W8r7aUWsm3p2Xt01Y46ZRx0QaM91QruiIx2rECFT2pUO0wr+7oQ77jypATyGWRtADsu3YcvCk/6U5MqCnXMzKBcRas7NnZdSL/d5H1GglVGz3VLPMaivG4/oL4chOMmFCRl/zVsGxZ9RhN8rxsRGFFKn+rhExTi+bax3A=="
}`) // PasswordChangeRequest |
var passwordChangeRequest beta.PasswordChangeRequest
if err := json.Unmarshal(passwordchangerequest, &passwordChangeRequest); err != nil {
fmt.Println("Error:", err)

View File

@@ -108,7 +108,6 @@ func main() {
"maxLength" : 25
}`) // PasswordPolicyV3Dto |
var passwordPolicyV3Dto beta.PasswordPolicyV3Dto
if err := json.Unmarshal(passwordpolicyv3dto, &passwordPolicyV3Dto); err != nil {
fmt.Println("Error:", err)
@@ -190,6 +189,7 @@ func main() {
fmt.Fprintf(os.Stderr, "Error when calling `PasswordPoliciesAPI.DeletePasswordPolicy``: %v\n", err)
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
}
}
```
@@ -411,7 +411,6 @@ func main() {
"maxLength" : 25
}`) // PasswordPolicyV3Dto |
var passwordPolicyV3Dto beta.PasswordPolicyV3Dto
if err := json.Unmarshal(passwordpolicyv3dto, &passwordPolicyV3Dto); err != nil {
fmt.Println("Error:", err)

View File

@@ -106,7 +106,6 @@ func main() {
"sourceIds" : [ "2c918084660f45d6016617daa9210584", "2c918084660f45d6016617daa9210500" ]
}`) // PasswordSyncGroup |
var passwordSyncGroup beta.PasswordSyncGroup
if err := json.Unmarshal(passwordsyncgroup, &passwordSyncGroup); err != nil {
fmt.Println("Error:", err)
@@ -188,6 +187,7 @@ func main() {
fmt.Fprintf(os.Stderr, "Error when calling `PasswordSyncGroupsAPI.DeletePasswordSyncGroup``: %v\n", err)
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
}
}
```
@@ -383,7 +383,6 @@ func main() {
"sourceIds" : [ "2c918084660f45d6016617daa9210584", "2c918084660f45d6016617daa9210500" ]
}`) // PasswordSyncGroup |
var passwordSyncGroup beta.PasswordSyncGroup
if err := json.Unmarshal(passwordsyncgroup, &passwordSyncGroup); err != nil {
fmt.Println("Error:", err)

View File

@@ -81,7 +81,6 @@ func main() {
"name" : "NodeJS Integration"
}`) // CreatePersonalAccessTokenRequest | Name and scope of personal access token.
var createPersonalAccessTokenRequest beta.CreatePersonalAccessTokenRequest
if err := json.Unmarshal(createpersonalaccesstokenrequest, &createPersonalAccessTokenRequest); err != nil {
fmt.Println("Error:", err)
@@ -163,6 +162,7 @@ func main() {
fmt.Fprintf(os.Stderr, "Error when calling `PersonalAccessTokensAPI.DeletePersonalAccessToken``: %v\n", err)
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
}
}
```
@@ -283,8 +283,7 @@ func main() {
id := `ef38f94347e94562b5bb8424a56397d8` // string | The Personal Access Token id # string | The Personal Access Token id
jsonpatchoperation := []byte(`[{op=replace, path=/name, value=New name}, {op=replace, path=/scope, value=[sp:scopes:all]}]`) // []JsonPatchOperation | A list of OAuth client update operations according to the [JSON Patch](https://tools.ietf.org/html/rfc6902) standard. The following fields are patchable: * name * scope
var jsonPatchOperation beta.[]JsonPatchOperation
var jsonPatchOperation []beta.JsonPatchOperation
if err := json.Unmarshal(jsonpatchoperation, &jsonPatchOperation); err != nil {
fmt.Println("Error:", err)
return

View File

@@ -151,7 +151,6 @@ func main() {
}
}`) // PublicIdentityConfig |
var publicIdentityConfig beta.PublicIdentityConfig
if err := json.Unmarshal(publicidentityconfig, &publicIdentityConfig); err != nil {
fmt.Println("Error:", err)

View File

@@ -271,7 +271,6 @@ func main() {
"requestable" : true
}`) // Role |
var role beta.Role
if err := json.Unmarshal(role, &role); err != nil {
fmt.Println("Error:", err)
@@ -344,7 +343,6 @@ func main() {
"roleIds" : [ "2c9180847812e0b1017817051919ecca", "2c9180887812e0b201781e129f151816" ]
}`) // RoleBulkDeleteRequest |
var roleBulkDeleteRequest beta.RoleBulkDeleteRequest
if err := json.Unmarshal(rolebulkdeleterequest, &roleBulkDeleteRequest); err != nil {
fmt.Println("Error:", err)
@@ -428,6 +426,7 @@ func main() {
fmt.Fprintf(os.Stderr, "Error when calling `RolesAPI.DeleteRole``: %v\n", err)
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
}
}
```
@@ -801,8 +800,7 @@ func main() {
id := `2c91808a7813090a017814121e121518` // string | ID of the Role to patch # string | ID of the Role to patch
jsonpatchoperation := []byte(`[{op=replace, path=/requestable, value=true}, {op=replace, path=/enabled, value=true}]`) // []JsonPatchOperation |
var jsonPatchOperation beta.[]JsonPatchOperation
var jsonPatchOperation []beta.JsonPatchOperation
if err := json.Unmarshal(jsonpatchoperation, &jsonPatchOperation); err != nil {
fmt.Println("Error:", err)
return

View File

@@ -93,7 +93,6 @@ func main() {
}
}`) // SimIntegrationDetails | DTO containing the details of the SIM integration
var simIntegrationDetails beta.SimIntegrationDetails
if err := json.Unmarshal(simintegrationdetails, &simIntegrationDetails); err != nil {
fmt.Println("Error:", err)
@@ -175,6 +174,7 @@ func main() {
fmt.Fprintf(os.Stderr, "Error when calling `SIMIntegrationsAPI.DeleteSIMIntegration``: %v\n", err)
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
}
}
```
@@ -354,7 +354,6 @@ func main() {
id := `12345` // string | SIM integration id # string | SIM integration id
jsonpatch := []byte(`"[\n {\n\t \"op\": \"replace\",\n\t \"path\": \"/description\",\n\t \"value\": \"A new description\"\n }\n]"`) // JsonPatch | The JsonPatch object that describes the changes of SIM beforeProvisioningRule.
var jsonPatch beta.JsonPatch
if err := json.Unmarshal(jsonpatch, &jsonPatch); err != nil {
fmt.Println("Error:", err)
@@ -428,7 +427,6 @@ func main() {
id := `12345` // string | SIM integration id # string | SIM integration id
jsonpatch := []byte(`"[\n {\n\t \"op\": \"replace\",\n\t \"path\": \"/description\",\n\t \"value\": \"A new description\"\n }\n]"`) // JsonPatch | The JsonPatch object that describes the changes of SIM
var jsonPatch beta.JsonPatch
if err := json.Unmarshal(jsonpatch, &jsonPatch); err != nil {
fmt.Println("Error:", err)
@@ -519,7 +517,6 @@ func main() {
}
}`) // SimIntegrationDetails | The full DTO of the integration containing the updated model
var simIntegrationDetails beta.SimIntegrationDetails
if err := json.Unmarshal(simintegrationdetails, &simIntegrationDetails); err != nil {
fmt.Println("Error:", err)

View File

@@ -163,7 +163,6 @@ func main() {
"externalPolicyReference" : "XYZ policy"
}`) // SodPolicy |
var sodPolicy beta.SodPolicy
if err := json.Unmarshal(sodpolicy, &sodPolicy); err != nil {
fmt.Println("Error:", err)
@@ -251,6 +250,7 @@ func main() {
fmt.Fprintf(os.Stderr, "Error when calling `SODPoliciesAPI.DeleteSodPolicy``: %v\n", err)
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
}
}
```
@@ -319,6 +319,7 @@ func main() {
fmt.Fprintf(os.Stderr, "Error when calling `SODPoliciesAPI.DeleteSodPolicySchedule``: %v\n", err)
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
}
}
```
@@ -938,8 +939,7 @@ func main() {
id := `2c9180835d191a86015d28455b4a2329` // string | The ID of the SOD policy being modified. # string | The ID of the SOD policy being modified.
requestbody := []byte(`[{op=replace, path=/description, value=Modified description}, {op=replace, path=/conflictingAccessCriteria/leftCriteria/name, value=money-in-modified}, {op=replace, path=/conflictingAccessCriteria/rightCriteria, value={name=money-out-modified, criteriaList=[{type=ENTITLEMENT, id=2c918087682f9a86016839c0509c1ab2}]}}]`) // []map[string]interface{} | A list of SOD Policy update operations according to the [JSON Patch](https://tools.ietf.org/html/rfc6902) standard. The following fields are patchable: * name * description * ownerRef * externalPolicyReference * compensatingControls * correctionAdvice * state * tags * violationOwnerAssignmentConfig * scheduled * conflictingAccessCriteria
var requestBody beta.[]RequestBody
var requestBody []beta.RequestBody
if err := json.Unmarshal(requestbody, &requestBody); err != nil {
fmt.Println("Error:", err)
return
@@ -1101,7 +1101,6 @@ func main() {
"emailEmptyResults" : false
}`) // SodPolicySchedule |
var sodPolicySchedule beta.SodPolicySchedule
if err := json.Unmarshal(sodpolicyschedule, &sodPolicySchedule); err != nil {
fmt.Println("Error:", err)
@@ -1234,7 +1233,6 @@ func main() {
"externalPolicyReference" : "XYZ policy"
}`) // SodPolicy |
var sodPolicy beta.SodPolicy
if err := json.Unmarshal(sodpolicy, &sodPolicy); err != nil {
fmt.Println("Error:", err)

View File

@@ -97,7 +97,6 @@ func main() {
} ]
}`) // IdentityWithNewAccess |
var identityWithNewAccess beta.IdentityWithNewAccess
if err := json.Unmarshal(identitywithnewaccess, &identityWithNewAccess); err != nil {
fmt.Println("Error:", err)

View File

@@ -72,7 +72,6 @@ func main() {
"description" : "Export Job 1 Test"
}`) // ExportPayload | Export options control what will be included in the export.
var exportPayload beta.ExportPayload
if err := json.Unmarshal(exportpayload, &exportPayload); err != nil {
fmt.Println("Error:", err)

View File

@@ -93,7 +93,6 @@ func main() {
}
}`) // SearchAttributeConfig |
var searchAttributeConfig beta.SearchAttributeConfig
if err := json.Unmarshal(searchattributeconfig, &searchAttributeConfig); err != nil {
fmt.Println("Error:", err)
@@ -175,6 +174,7 @@ func main() {
fmt.Fprintf(os.Stderr, "Error when calling `SearchAttributeConfigurationAPI.DeleteSearchAttributeConfig``: %v\n", err)
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
}
}
```
@@ -364,8 +364,7 @@ func main() {
name := `promotedMailAttribute` // string | Name of the extended search attribute configuration to patch. # string | Name of the extended search attribute configuration to patch.
jsonpatchoperation := []byte(`[{op=replace, path=/name, value=newAttributeName}, {op=replace, path=/displayName, value=new attribute display name}, {op=add, path=/applicationAttributes, value={2c91808b79fd2422017a0b35d30f3968=employeeNumber}}]`) // []JsonPatchOperation |
var jsonPatchOperation beta.[]JsonPatchOperation
var jsonPatchOperation []beta.JsonPatchOperation
if err := json.Unmarshal(jsonpatchoperation, &jsonPatchOperation); err != nil {
fmt.Println("Error:", err)
return

View File

@@ -109,7 +109,6 @@ func main() {
"id" : "0f11f2a4-7c94-4bf3-a2bd-742580fe3bde"
}`) // Segment |
var segment beta.Segment
if err := json.Unmarshal(segment, &segment); err != nil {
fmt.Println("Error:", err)
@@ -193,6 +192,7 @@ func main() {
fmt.Fprintf(os.Stderr, "Error when calling `SegmentsAPI.DeleteSegment``: %v\n", err)
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
}
}
```
@@ -385,8 +385,7 @@ func main() {
id := `ef38f94347e94562b5bb8424a56397d8` // string | The segment ID to modify. # string | The segment ID to modify.
requestbody := []byte(`[{op=replace, path=/visibilityCriteria, value={expression={operator=AND, children=[{operator=EQUALS, attribute=location, value={type=STRING, value=Philadelphia}}, {operator=EQUALS, attribute=department, value={type=STRING, value=HR}}]}}}]`) // []map[string]interface{} | A list of segment update operations according to the [JSON Patch](https://tools.ietf.org/html/rfc6902) standard. The following fields are patchable: * name * description * owner * visibilityCriteria * active
var requestBody beta.[]RequestBody
var requestBody []beta.RequestBody
if err := json.Unmarshal(requestbody, &requestBody); err != nil {
fmt.Println("Error:", err)
return

View File

@@ -126,7 +126,6 @@ func main() {
"beforeProvisioningRule" : ""
}`) // ServiceDeskIntegrationDto | The specifics of a new integration to create
var serviceDeskIntegrationDto beta.ServiceDeskIntegrationDto
if err := json.Unmarshal(servicedeskintegrationdto, &serviceDeskIntegrationDto); err != nil {
fmt.Println("Error:", err)
@@ -208,6 +207,7 @@ func main() {
fmt.Fprintf(os.Stderr, "Error when calling `ServiceDeskIntegrationAPI.DeleteServiceDeskIntegration``: %v\n", err)
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
}
}
```
@@ -580,8 +580,7 @@ func main() {
id := `anId` // string | ID of the Service Desk integration to update # string | ID of the Service Desk integration to update
jsonpatchoperation := []byte(``) // []JsonPatchOperation | A list of SDIM update operations according to the [JSON Patch](https://tools.ietf.org/html/rfc6902) standard. Only `replace` operations are accepted by this endpoint. A 403 Forbidden Error indicates that a PATCH operation was attempted that is not allowed.
var jsonPatchOperation beta.[]JsonPatchOperation
var jsonPatchOperation []beta.JsonPatchOperation
if err := json.Unmarshal(jsonpatchoperation, &jsonPatchOperation); err != nil {
fmt.Println("Error:", err)
return
@@ -684,7 +683,6 @@ func main() {
"beforeProvisioningRule" : ""
}`) // ServiceDeskIntegrationDto | The specifics of the integration to update
var serviceDeskIntegrationDto beta.ServiceDeskIntegrationDto
if err := json.Unmarshal(servicedeskintegrationdto, &serviceDeskIntegrationDto); err != nil {
fmt.Println("Error:", err)
@@ -755,7 +753,6 @@ func main() {
"provisioningMaxStatusCheckDays" : "2"
}`) // QueuedCheckConfigDetails | The modified time check configuration
var queuedCheckConfigDetails beta.QueuedCheckConfigDetails
if err := json.Unmarshal(queuedcheckconfigdetails, &queuedCheckConfigDetails); err != nil {
fmt.Println("Error:", err)

View File

@@ -209,7 +209,6 @@ func main() {
"usageType" : "CREATE"
}`) // ProvisioningPolicyDto |
var provisioningPolicyDto beta.ProvisioningPolicyDto
if err := json.Unmarshal(provisioningpolicydto, &provisioningPolicyDto); err != nil {
fmt.Println("Error:", err)
@@ -362,7 +361,6 @@ func main() {
}`) // Source |
provisionAsCsv := false // bool | If this parameter is `true`, it configures the source as a Delimited File (CSV) source. Setting this to `true` will automatically set the `type` of the source to `DelimitedFile`. You must use this query parameter to create a Delimited File source as you would in the UI. If you don't set this query parameter and you attempt to set the `type` attribute directly, the request won't correctly generate the source. (optional) # bool | If this parameter is `true`, it configures the source as a Delimited File (CSV) source. Setting this to `true` will automatically set the `type` of the source to `DelimitedFile`. You must use this query parameter to create a Delimited File source as you would in the UI. If you don't set this query parameter and you attempt to set the `type` attribute directly, the request won't correctly generate the source. (optional)
var source beta.Source
if err := json.Unmarshal(source, &source); err != nil {
fmt.Println("Error:", err)
@@ -469,7 +467,6 @@ func main() {
"identityAttribute" : "sAMAccountName"
}`) // Schema |
var schema beta.Schema
if err := json.Unmarshal(schema, &schema); err != nil {
fmt.Println("Error:", err)
@@ -692,6 +689,7 @@ func main() {
fmt.Fprintf(os.Stderr, "Error when calling `SourcesAPI.DeleteNativeChangeDetectionConfig``: %v\n", err)
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
}
}
```
@@ -759,6 +757,7 @@ func main() {
fmt.Fprintf(os.Stderr, "Error when calling `SourcesAPI.DeleteProvisioningPolicy``: %v\n", err)
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
}
}
```
@@ -826,6 +825,7 @@ func main() {
fmt.Fprintf(os.Stderr, "Error when calling `SourcesAPI.DeleteSourceSchema``: %v\n", err)
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
}
}
```
@@ -1159,6 +1159,7 @@ func main() {
fmt.Fprintf(os.Stderr, "Error when calling `SourcesAPI.GetSourceAccountsSchema``: %v\n", err)
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
}
}
```
@@ -1433,6 +1434,7 @@ func main() {
fmt.Fprintf(os.Stderr, "Error when calling `SourcesAPI.GetSourceEntitlementsSchema``: %v\n", err)
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
}
}
```
@@ -2194,7 +2196,6 @@ func main() {
"objectType" : "group"
}`) // ResourceObjectsRequest |
var resourceObjectsRequest beta.ResourceObjectsRequest
if err := json.Unmarshal(resourceobjectsrequest, &resourceObjectsRequest); err != nil {
fmt.Println("Error:", err)
@@ -2355,7 +2356,6 @@ func main() {
"id" : "2c9180835d191a86015d28455b4a2329"
}`) // CorrelationConfig |
var correlationConfig beta.CorrelationConfig
if err := json.Unmarshal(correlationconfig, &correlationConfig); err != nil {
fmt.Println("Error:", err)
@@ -2438,7 +2438,6 @@ func main() {
"enabled" : true
}`) // NativeChangeDetectionConfig |
var nativeChangeDetectionConfig beta.NativeChangeDetectionConfig
if err := json.Unmarshal(nativechangedetectionconfig, &nativeChangeDetectionConfig); err != nil {
fmt.Println("Error:", err)
@@ -2556,7 +2555,6 @@ func main() {
"usageType" : "CREATE"
}`) // ProvisioningPolicyDto |
var provisioningPolicyDto beta.ProvisioningPolicyDto
if err := json.Unmarshal(provisioningpolicydto, &provisioningPolicyDto); err != nil {
fmt.Println("Error:", err)
@@ -2726,7 +2724,6 @@ func main() {
"since" : "2021-09-28T15:48:29.3801666300Z"
}`) // Source |
var source beta.Source
if err := json.Unmarshal(source, &source); err != nil {
fmt.Println("Error:", err)
@@ -2819,7 +2816,6 @@ func main() {
}
}`) // AttrSyncSourceConfig |
var attrSyncSourceConfig beta.AttrSyncSourceConfig
if err := json.Unmarshal(attrsyncsourceconfig, &attrSyncSourceConfig); err != nil {
fmt.Println("Error:", err)
@@ -2934,7 +2930,6 @@ func main() {
"identityAttribute" : "sAMAccountName"
}`) // Schema |
var schema beta.Schema
if err := json.Unmarshal(schema, &schema); err != nil {
fmt.Println("Error:", err)
@@ -3209,8 +3204,7 @@ func main() {
sourceId := `2c9180835d191a86015d28455b4a2329` // string | The Source id. # string | The Source id.
provisioningpolicydto := []byte(``) // []ProvisioningPolicyDto |
var provisioningPolicyDto beta.[]ProvisioningPolicyDto
var provisioningPolicyDto []beta.ProvisioningPolicyDto
if err := json.Unmarshal(provisioningpolicydto, &provisioningPolicyDto); err != nil {
fmt.Println("Error:", err)
return
@@ -3288,8 +3282,7 @@ func main() {
usageType := CREATE // UsageType | The type of provisioning policy usage. In IdentityNow, a source can support various provisioning operations. For example, when a joiner is added to a source, this may trigger both CREATE and UPDATE provisioning operations. Each usage type is considered a provisioning policy. A source can have any number of these provisioning policies defined. These are the common usage types: CREATE - This usage type relates to 'Create Account Profile', the provisioning template for the account to be created. For example, this would be used for a joiner on a source. UPDATE - This usage type relates to 'Update Account Profile', the provisioning template for the 'Update' connector operations. For example, this would be used for an attribute sync on a source. ENABLE - This usage type relates to 'Enable Account Profile', the provisioning template for the account to be enabled. For example, this could be used for a joiner on a source once the joiner's account is created. DISABLE - This usage type relates to 'Disable Account Profile', the provisioning template for the account to be disabled. For example, this could be used when a leaver is removed temporarily from a source. You can use these four usage types for all your provisioning policy needs. # UsageType | The type of provisioning policy usage. In IdentityNow, a source can support various provisioning operations. For example, when a joiner is added to a source, this may trigger both CREATE and UPDATE provisioning operations. Each usage type is considered a provisioning policy. A source can have any number of these provisioning policies defined. These are the common usage types: CREATE - This usage type relates to 'Create Account Profile', the provisioning template for the account to be created. For example, this would be used for a joiner on a source. UPDATE - This usage type relates to 'Update Account Profile', the provisioning template for the 'Update' connector operations. For example, this would be used for an attribute sync on a source. ENABLE - This usage type relates to 'Enable Account Profile', the provisioning template for the account to be enabled. For example, this could be used for a joiner on a source once the joiner's account is created. DISABLE - This usage type relates to 'Disable Account Profile', the provisioning template for the account to be disabled. For example, this could be used when a leaver is removed temporarily from a source. You can use these four usage types for all your provisioning policy needs.
jsonpatchoperation := []byte(`[{op=add, path=/fields/0, value={name=email, transform={type=identityAttribute, attributes={name=email}}, attributes={}, isRequired=false, type=string, isMultiValued=false}}]`) // []JsonPatchOperation | The JSONPatch payload used to update the schema.
var jsonPatchOperation beta.[]JsonPatchOperation
var jsonPatchOperation []beta.JsonPatchOperation
if err := json.Unmarshal(jsonpatchoperation, &jsonPatchOperation); err != nil {
fmt.Println("Error:", err)
return
@@ -3378,8 +3371,7 @@ func main() {
id := `2c9180835d191a86015d28455b4a2329` // string | Source ID. # string | Source ID.
jsonpatchoperation := []byte(`[{op=replace, path=/description, value=new description}]`) // []JsonPatchOperation | A list of account update operations according to the [JSON Patch](https://tools.ietf.org/html/rfc6902) standard. Any password changes are submitted as plain-text and encrypted upon receipt in Identity Security Cloud (ISC).
var jsonPatchOperation beta.[]JsonPatchOperation
var jsonPatchOperation []beta.JsonPatchOperation
if err := json.Unmarshal(jsonpatchoperation, &jsonPatchOperation); err != nil {
fmt.Println("Error:", err)
return
@@ -3466,11 +3458,20 @@ func main() {
"approverId" : "e3eab852-8315-467f-9de7-70eda97f63c8",
"approverType" : "GOVERNANCE_GROUP"
} ],
"reauthorizationRequired" : false,
"requestCommentRequired" : true
},
"revocationRequestConfig" : {
"approvalSchemes" : [ {
"approverId" : "e3eab852-8315-467f-9de7-70eda97f63c8",
"approverType" : "GOVERNANCE_GROUP"
}, {
"approverId" : "e3eab852-8315-467f-9de7-70eda97f63c8",
"approverType" : "GOVERNANCE_GROUP"
} ]
}
}`) // SourceEntitlementRequestConfig |
var sourceEntitlementRequestConfig beta.SourceEntitlementRequestConfig
if err := json.Unmarshal(sourceentitlementrequestconfig, &sourceEntitlementRequestConfig); err != nil {
fmt.Println("Error:", err)
@@ -3576,8 +3577,7 @@ func main() {
schemaId := `2c9180835d191a86015d28455b4a2329` // string | The Schema id. # string | The Schema id.
jsonpatchoperation := []byte(`[{op=replace, path=/displayAttribute, value={new-display-attribute=null}}]`) // []JsonPatchOperation | The JSONPatch payload used to update the schema.
var jsonPatchOperation beta.[]JsonPatchOperation
var jsonPatchOperation []beta.JsonPatchOperation
if err := json.Unmarshal(jsonpatchoperation, &jsonPatchOperation); err != nil {
fmt.Println("Error:", err)
return

View File

@@ -294,8 +294,7 @@ func main() {
id := `ebab396f-0af1-4050-89b7-dafc63ec70e7` // string | id is sed id # string | id is sed id
sedpatch := []byte(``) // []SedPatch | Sed Patch Request
var sedPatch beta.[]SedPatch
var sedPatch []beta.SedPatch
if err := json.Unmarshal(sedpatch, &sedPatch); err != nil {
fmt.Println("Error:", err)
return
@@ -363,8 +362,7 @@ import (
func main() {
sedapproval := []byte(``) // []SedApproval | Sed Approval
var sedApproval beta.[]SedApproval
var sedApproval []beta.SedApproval
if err := json.Unmarshal(sedapproval, &sedApproval); err != nil {
fmt.Println("Error:", err)
return
@@ -438,7 +436,6 @@ func main() {
"items" : [ "016629d1-1d25-463f-97f3-0c6686846650", "016629d1-1d25-463f-97f3-0c6686846650" ]
}`) // SedAssignment | Sed Assignment Request
var sedAssignment beta.SedAssignment
if err := json.Unmarshal(sedassignment, &sedAssignment); err != nil {
fmt.Println("Error:", err)

View File

@@ -140,6 +140,7 @@ func main() {
fmt.Fprintf(os.Stderr, "Error when calling `TaggedObjectsAPI.DeleteTaggedObject``: %v\n", err)
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
}
}
```
@@ -204,7 +205,6 @@ func main() {
"tags" : [ "BU_FINANCE", "PCI" ]
}`) // BulkTaggedObject | Supported object types are ACCESS_PROFILE, APPLICATION, CAMPAIGN, ENTITLEMENT, IDENTITY, ROLE, SOD_POLICY, SOURCE.
var bulkTaggedObject beta.BulkTaggedObject
if err := json.Unmarshal(bulktaggedobject, &bulkTaggedObject); err != nil {
fmt.Println("Error:", err)
@@ -220,6 +220,7 @@ func main() {
fmt.Fprintf(os.Stderr, "Error when calling `TaggedObjectsAPI.DeleteTagsToManyObject``: %v\n", err)
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
}
}
```
@@ -501,7 +502,6 @@ func main() {
"tags" : [ "BU_FINANCE", "PCI" ]
}`) // TaggedObject |
var taggedObject beta.TaggedObject
if err := json.Unmarshal(taggedobject, &taggedObject); err != nil {
fmt.Println("Error:", err)
@@ -578,7 +578,6 @@ func main() {
"tags" : [ "BU_FINANCE", "PCI" ]
}`) // TaggedObject |
var taggedObject beta.TaggedObject
if err := json.Unmarshal(taggedobject, &taggedObject); err != nil {
fmt.Println("Error:", err)
@@ -594,6 +593,7 @@ func main() {
fmt.Fprintf(os.Stderr, "Error when calling `TaggedObjectsAPI.SetTagToObject``: %v\n", err)
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
}
}
```
@@ -658,7 +658,6 @@ func main() {
"tags" : [ "BU_FINANCE", "PCI" ]
}`) // BulkTaggedObject | Supported object types are ACCESS_PROFILE, APPLICATION, CAMPAIGN, ENTITLEMENT, IDENTITY, ROLE, SOD_POLICY, SOURCE.
var bulkTaggedObject beta.BulkTaggedObject
if err := json.Unmarshal(bulktaggedobject, &bulkTaggedObject); err != nil {
fmt.Println("Error:", err)

View File

@@ -83,7 +83,6 @@ func main() {
"id" : "449ecdc0-d4ff-4341-acf6-92f6f7ce604f"
}`) // Tag |
var tag beta.Tag
if err := json.Unmarshal(tag, &tag); err != nil {
fmt.Println("Error:", err)
@@ -167,6 +166,7 @@ func main() {
fmt.Fprintf(os.Stderr, "Error when calling `TagsAPI.DeleteTagById``: %v\n", err)
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
}
}
```

View File

@@ -81,6 +81,7 @@ func main() {
fmt.Fprintf(os.Stderr, "Error when calling `TaskManagementAPI.GetPendingTaskHeaders``: %v\n", err)
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
}
}
```
@@ -340,8 +341,7 @@ func main() {
id := `00eebcf881994e419d72e757fd30dc0e` // string | Task ID. # string | Task ID.
jsonpatchoperation := []byte(``) // []JsonPatchOperation | The JSONPatch payload used to update the object.
var jsonPatchOperation beta.[]JsonPatchOperation
var jsonPatchOperation []beta.JsonPatchOperation
if err := json.Unmarshal(jsonpatchoperation, &jsonPatchOperation); err != nil {
fmt.Println("Error:", err)
return

View File

@@ -76,7 +76,6 @@ func main() {
"type" : "dateFormat"
}`) // Transform | The transform to be created.
var transform beta.Transform
if err := json.Unmarshal(transform, &transform); err != nil {
fmt.Println("Error:", err)
@@ -159,6 +158,7 @@ func main() {
fmt.Fprintf(os.Stderr, "Error when calling `TransformsAPI.DeleteTransform``: %v\n", err)
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
}
}
```

View File

@@ -125,7 +125,6 @@ func main() {
"error" : "Access request is denied."
}`) // CompleteInvocation |
var completeInvocation beta.CompleteInvocation
if err := json.Unmarshal(completeinvocation, &completeInvocation); err != nil {
fmt.Println("Error:", err)
@@ -141,6 +140,7 @@ func main() {
fmt.Fprintf(os.Stderr, "Error when calling `TriggersAPI.CompleteTriggerInvocation``: %v\n", err)
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
}
}
```
@@ -217,7 +217,6 @@ func main() {
"enabled" : true
}`) // SubscriptionPostRequest |
var subscriptionPostRequest beta.SubscriptionPostRequest
if err := json.Unmarshal(subscriptionpostrequest, &subscriptionPostRequest); err != nil {
fmt.Println("Error:", err)
@@ -299,6 +298,7 @@ func main() {
fmt.Fprintf(os.Stderr, "Error when calling `TriggersAPI.DeleteSubscription``: %v\n", err)
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
}
}
```
@@ -569,8 +569,7 @@ func main() {
id := `0f11f2a4-7c94-4bf3-a2bd-742580fe3bde` // string | ID of the Subscription to patch # string | ID of the Subscription to patch
subscriptionpatchrequestinner := []byte(``) // []SubscriptionPatchRequestInner |
var subscriptionPatchRequestInner beta.[]SubscriptionPatchRequestInner
var subscriptionPatchRequestInner []beta.SubscriptionPatchRequestInner
if err := json.Unmarshal(subscriptionpatchrequestinner, &subscriptionPatchRequestInner); err != nil {
fmt.Println("Error:", err)
return
@@ -646,7 +645,6 @@ func main() {
}
}`) // TestInvocation |
var testInvocation beta.TestInvocation
if err := json.Unmarshal(testinvocation, &testInvocation); err != nil {
fmt.Println("Error:", err)
@@ -720,7 +718,6 @@ func main() {
}
}`) // ValidateFilterInputDto |
var validateFilterInputDto beta.ValidateFilterInputDto
if err := json.Unmarshal(validatefilterinputdto, &validateFilterInputDto); err != nil {
fmt.Println("Error:", err)
@@ -826,7 +823,6 @@ func main() {
"enabled" : true
}`) // SubscriptionPutRequest |
var subscriptionPutRequest beta.SubscriptionPutRequest
if err := json.Unmarshal(subscriptionputrequest, &subscriptionPutRequest); err != nil {
fmt.Println("Error:", err)

View File

@@ -128,7 +128,6 @@ func main() {
"iframeWhiteList" : "http://example.com http://example2.com"
}`) // TenantUiMetadataItemUpdateRequest |
var tenantUiMetadataItemUpdateRequest beta.TenantUiMetadataItemUpdateRequest
if err := json.Unmarshal(tenantuimetadataitemupdaterequest, &tenantUiMetadataItemUpdateRequest); err != nil {
fmt.Println("Error:", err)

View File

@@ -92,7 +92,6 @@ func main() {
}
}`) // VendorConnectorMapping |
var vendorConnectorMapping beta.VendorConnectorMapping
if err := json.Unmarshal(vendorconnectormapping, &vendorConnectorMapping); err != nil {
fmt.Println("Error:", err)
@@ -183,7 +182,6 @@ func main() {
}
}`) // VendorConnectorMapping |
var vendorConnectorMapping beta.VendorConnectorMapping
if err := json.Unmarshal(vendorconnectormapping, &vendorConnectorMapping); err != nil {
fmt.Println("Error:", err)

View File

@@ -863,7 +863,6 @@ func main() {
id := `ef38f94347e94562b5bb8424a56397d8` // string | The ID of the work item # string | The ID of the work item
requestBody := {fieldName=fieldValue} // map[string]interface{} | Account Selection Data map, keyed on fieldName # map[string]interface{} | Account Selection Data map, keyed on fieldName
var requestBody beta.RequestBody
if err := json.Unmarshal(requestbody, &requestBody); err != nil {
fmt.Println("Error:", err)
@@ -944,7 +943,6 @@ func main() {
"sendNotifications" : true
}`) // WorkItemForward |
var workItemForward beta.WorkItemForward
if err := json.Unmarshal(workitemforward, &workItemForward); err != nil {
fmt.Println("Error:", err)
@@ -960,6 +958,7 @@ func main() {
fmt.Fprintf(os.Stderr, "Error when calling `WorkItemsAPI.SubmitForwardWorkItem``: %v\n", err)
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
}
}
```

View File

@@ -87,7 +87,6 @@ func main() {
"startDate" : "2022-07-21T11:13:12.345Z"
}`) // ConfigurationItemRequest |
var configurationItemRequest beta.ConfigurationItemRequest
if err := json.Unmarshal(configurationitemrequest, &configurationItemRequest); err != nil {
fmt.Println("Error:", err)
@@ -172,6 +171,7 @@ func main() {
fmt.Fprintf(os.Stderr, "Error when calling `WorkReassignmentAPI.DeleteReassignmentConfiguration``: %v\n", err)
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
}
}
```
@@ -549,7 +549,6 @@ func main() {
"startDate" : "2022-07-21T11:13:12.345Z"
}`) // ConfigurationItemRequest |
var configurationItemRequest beta.ConfigurationItemRequest
if err := json.Unmarshal(configurationitemrequest, &configurationItemRequest); err != nil {
fmt.Println("Error:", err)
@@ -621,7 +620,6 @@ func main() {
}
}`) // TenantConfigurationRequest |
var tenantConfigurationRequest beta.TenantConfigurationRequest
if err := json.Unmarshal(tenantconfigurationrequest, &tenantConfigurationRequest); err != nil {
fmt.Println("Error:", err)

View File

@@ -95,6 +95,7 @@ func main() {
fmt.Fprintf(os.Stderr, "Error when calling `WorkflowsAPI.CancelWorkflowExecution``: %v\n", err)
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
}
}
```
@@ -145,7 +146,6 @@ import (
func main() {
createworkflowrequest := []byte(`{name=Send Email, owner={type=IDENTITY, id=2c91808568c529c60168cca6f90c1313, name=William Wilson}, description=Send an email to the identity who's attributes changed., definition={start=Send Email Test, steps={Send Email={actionId=sp:send-email, attributes={body=This is a test, from=sailpoint@sailpoint.com, recipientId.$=$.identity.id, subject=test}, nextStep=success, selectResult=null, type=action}, success={type=success}}}, enabled=false, trigger={type=EVENT, attributes={id=idn:identity-attributes-changed, filter=$.changes[?(@.attribute == 'manager')]}}}`) // CreateWorkflowRequest |
var createWorkflowRequest beta.CreateWorkflowRequest
if err := json.Unmarshal(createworkflowrequest, &createWorkflowRequest); err != nil {
fmt.Println("Error:", err)
@@ -227,6 +227,7 @@ func main() {
fmt.Fprintf(os.Stderr, "Error when calling `WorkflowsAPI.DeleteWorkflow``: %v\n", err)
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
}
}
```
@@ -888,8 +889,7 @@ func main() {
id := `c17bea3a-574d-453c-9e04-4365fbf5af0b` // string | Id of the Workflow # string | Id of the Workflow
jsonpatchoperation := []byte(`[{op=replace, path=/name, value=Send Email}, {op=replace, path=/owner, value={type=IDENTITY, id=2c91808568c529c60168cca6f90c1313, name=William Wilson}}, {op=replace, path=/description, value=Send an email to the identity who's attributes changed.}, {op=replace, path=/enabled, value=false}, {op=replace, path=/definition, value={start=Send Email Test, steps={Send Email={actionId=sp:send-email, attributes={body=This is a test, from=sailpoint@sailpoint.com, recipientId.$=$.identity.id, subject=test}, nextStep=success, selectResult=null, type=action}, success={type=success}}}}, {op=replace, path=/trigger, value={type=EVENT, attributes={id=idn:identity-attributes-changed}}}]`) // []JsonPatchOperation |
var jsonPatchOperation beta.[]JsonPatchOperation
var jsonPatchOperation []beta.JsonPatchOperation
if err := json.Unmarshal(jsonpatchoperation, &jsonPatchOperation); err != nil {
fmt.Println("Error:", err)
return
@@ -1129,7 +1129,6 @@ func main() {
"enabled" : false
}`) // WorkflowBody |
var workflowBody beta.WorkflowBody
if err := json.Unmarshal(workflowbody, &workflowBody); err != nil {
fmt.Println("Error:", err)
@@ -1273,7 +1272,6 @@ func main() {
id := `c17bea3a-574d-453c-9e04-4365fbf5af0b` // string | Id of the workflow # string | Id of the workflow
testworkflowrequest := []byte(`{input={identity={id=ee769173319b41d19ccec6cea52f237b, name=john.doe, type=IDENTITY}, changes=[{attribute=department, oldValue=sales, newValue=marketing}, {attribute=manager, oldValue={id=ee769173319b41d19ccec6c235423237b, name=nice.guy, type=IDENTITY}, newValue={id=ee769173319b41d19ccec6c235423236c, name=mean.guy, type=IDENTITY}}, {attribute=email, oldValue=john.doe@hotmail.com, newValue=john.doe@gmail.com}]}}`) // TestWorkflowRequest |
var testWorkflowRequest beta.TestWorkflowRequest
if err := json.Unmarshal(testworkflowrequest, &testWorkflowRequest); err != nil {
fmt.Println("Error:", err)

View File

@@ -19,7 +19,7 @@ Name | Type | Description | Notes
**RequestType** | Pointer to [**NullableAccessRequestType**](access-request-type) | | [optional]
**RequestedItems** | [**[]AccessRequestItem**](access-request-item) | |
**ClientMetadata** | Pointer to **map[string]string** | Arbitrary key-value pairs. They will never be processed by the IdentityNow system but will be returned on associated APIs such as /account-activities. | [optional]
**RequestedForWithRequestedItems** | Pointer to [**[]RequestedForDtoRef**](requested-for-dto-ref) | Additional submit data structure with requestedFor containing requestedItems allowing distinction for each request item and Identity. * Can only be used when 'requestedFor' and 'requestedItems' are not separately provided * Adds ability to specify which account the user wants the access on, in case they have multiple accounts on a source * Allows the ability to request items with different remove dates * Also allows different combinations of request items and identities in the same request | [optional]
**RequestedForWithRequestedItems** | Pointer to [**[]RequestedForDtoRef**](requested-for-dto-ref) | Additional submit data structure with requestedFor containing requestedItems allowing distinction for each request item and Identity. * Can only be used when 'requestedFor' and 'requestedItems' are not separately provided * Adds ability to specify which account the user wants the access on, in case they have multiple accounts on a source * Allows the ability to request items with different remove dates * Also allows different combinations of request items and identities in the same request * Only for use in GRANT_ACCESS type requests | [optional]
## Methods

View File

@@ -21,7 +21,7 @@ Name | Type | Description | Notes
**ClientMetadata** | Pointer to **map[string]string** | Arbitrary key-value pairs. They will never be processed by the IdentityNow system but will be returned on associated APIs such as /account-activities and /access-request-status. | [optional]
**RemoveDate** | Pointer to **SailPointTime** | The date the role or access profile or entitlement is no longer assigned to the specified identity. Also known as the expiration date. * Specify a date in the future. * The current SLA for the deprovisioning is 24 hours. * This date can be modified to either extend or decrease the duration of access item assignments for the specified identity. You can change the expiration date for requests for yourself or direct reports, but you cannot remove an expiration date on an already approved item. If the access request has not been approved, you can cancel it and submit a new one without the expiration. If it has already been approved, then you have to revoke the access and then re-request without the expiration. | [optional]
**AssignmentId** | Pointer to **NullableString** | The assignmentId for a specific role assignment on the identity. This id is used to revoke that specific roleAssignment on that identity. * For use with REVOKE_ACCESS requests for roles for identities with multiple accounts on a single source. | [optional]
**NativeIdentity** | Pointer to **NullableString** | The 'distinguishedName' field for an account on the identity, also called nativeIdentity. This nativeIdentity is used to revoke a specific attributeAssignment on the identity. * For use with REVOKE_ACCESS requests for entitlements for identities with multiple accounts on a single source. | [optional]
**NativeIdentity** | Pointer to **NullableString** | The unique identifier for an account on the identity, designated as the account ID attribute in the source's account schema. This is used to revoke a specific attributeAssignment on the identity. * For use with REVOKE_ACCESS requests for entitlements for identities with multiple accounts on a single source. | [optional]
## Methods

View File

@@ -18,6 +18,7 @@ Name | Type | Description | Notes
**ApprovalSchemes** | Pointer to [**[]EntitlementApprovalScheme**](entitlement-approval-scheme) | Ordered list of approval steps for the access request. Empty when no approval is required. | [optional]
**RequestCommentRequired** | Pointer to **bool** | If the requester must provide a comment during access request. | [optional] [default to false]
**DenialCommentRequired** | Pointer to **bool** | If the reviewer must provide a comment when denying the access request. | [optional] [default to false]
**ReauthorizationRequired** | Pointer to **bool** | Is Reauthorization Required | [optional] [default to false]
## Methods
@@ -113,4 +114,29 @@ SetDenialCommentRequired sets DenialCommentRequired field to given value.
HasDenialCommentRequired returns a boolean if a field has been set.
### GetReauthorizationRequired
`func (o *EntitlementAccessRequestConfig) GetReauthorizationRequired() bool`
GetReauthorizationRequired returns the ReauthorizationRequired field if non-nil, zero value otherwise.
### GetReauthorizationRequiredOk
`func (o *EntitlementAccessRequestConfig) GetReauthorizationRequiredOk() (*bool, bool)`
GetReauthorizationRequiredOk returns a tuple with the ReauthorizationRequired field if it's non-nil, zero value otherwise
and a boolean to check if the value has been set.
### SetReauthorizationRequired
`func (o *EntitlementAccessRequestConfig) SetReauthorizationRequired(v bool)`
SetReauthorizationRequired sets ReauthorizationRequired field to given value.
### HasReauthorizationRequired
`func (o *EntitlementAccessRequestConfig) HasReauthorizationRequired() bool`
HasReauthorizationRequired returns a boolean if a field has been set.

View File

@@ -16,6 +16,7 @@ tags: ['SDK', 'Software Development Kit', 'EntitlementRequestConfig', 'BetaEntit
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
**AccessRequestConfig** | Pointer to [**EntitlementAccessRequestConfig**](entitlement-access-request-config) | | [optional]
**RevocationRequestConfig** | Pointer to [**EntitlementRevocationRequestConfig**](entitlement-revocation-request-config) | | [optional]
## Methods
@@ -61,4 +62,29 @@ SetAccessRequestConfig sets AccessRequestConfig field to given value.
HasAccessRequestConfig returns a boolean if a field has been set.
### GetRevocationRequestConfig
`func (o *EntitlementRequestConfig) GetRevocationRequestConfig() EntitlementRevocationRequestConfig`
GetRevocationRequestConfig returns the RevocationRequestConfig field if non-nil, zero value otherwise.
### GetRevocationRequestConfigOk
`func (o *EntitlementRequestConfig) GetRevocationRequestConfigOk() (*EntitlementRevocationRequestConfig, bool)`
GetRevocationRequestConfigOk returns a tuple with the RevocationRequestConfig field if it's non-nil, zero value otherwise
and a boolean to check if the value has been set.
### SetRevocationRequestConfig
`func (o *EntitlementRequestConfig) SetRevocationRequestConfig(v EntitlementRevocationRequestConfig)`
SetRevocationRequestConfig sets RevocationRequestConfig field to given value.
### HasRevocationRequestConfig
`func (o *EntitlementRequestConfig) HasRevocationRequestConfig() bool`
HasRevocationRequestConfig returns a boolean if a field has been set.

View File

@@ -0,0 +1,64 @@
---
id: beta-entitlement-revocation-request-config
title: EntitlementRevocationRequestConfig
pagination_label: EntitlementRevocationRequestConfig
sidebar_label: EntitlementRevocationRequestConfig
sidebar_class_name: gosdk
keywords: ['go', 'Golang', 'sdk', 'EntitlementRevocationRequestConfig', 'BetaEntitlementRevocationRequestConfig']
slug: /tools/sdk/go/beta/models/entitlement-revocation-request-config
tags: ['SDK', 'Software Development Kit', 'EntitlementRevocationRequestConfig', 'BetaEntitlementRevocationRequestConfig']
---
# EntitlementRevocationRequestConfig
## Properties
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
**ApprovalSchemes** | Pointer to [**[]EntitlementApprovalScheme**](entitlement-approval-scheme) | Ordered list of approval steps for the access request. Empty when no approval is required. | [optional]
## Methods
### NewEntitlementRevocationRequestConfig
`func NewEntitlementRevocationRequestConfig() *EntitlementRevocationRequestConfig`
NewEntitlementRevocationRequestConfig instantiates a new EntitlementRevocationRequestConfig object
This constructor will assign default values to properties that have it defined,
and makes sure properties required by API are set, but the set of arguments
will change when the set of required properties is changed
### NewEntitlementRevocationRequestConfigWithDefaults
`func NewEntitlementRevocationRequestConfigWithDefaults() *EntitlementRevocationRequestConfig`
NewEntitlementRevocationRequestConfigWithDefaults instantiates a new EntitlementRevocationRequestConfig object
This constructor will only assign default values to properties that have it defined,
but it doesn't guarantee that properties required by API are set
### GetApprovalSchemes
`func (o *EntitlementRevocationRequestConfig) GetApprovalSchemes() []EntitlementApprovalScheme`
GetApprovalSchemes returns the ApprovalSchemes field if non-nil, zero value otherwise.
### GetApprovalSchemesOk
`func (o *EntitlementRevocationRequestConfig) GetApprovalSchemesOk() (*[]EntitlementApprovalScheme, bool)`
GetApprovalSchemesOk returns a tuple with the ApprovalSchemes field if it's non-nil, zero value otherwise
and a boolean to check if the value has been set.
### SetApprovalSchemes
`func (o *EntitlementRevocationRequestConfig) SetApprovalSchemes(v []EntitlementApprovalScheme)`
SetApprovalSchemes sets ApprovalSchemes field to given value.
### HasApprovalSchemes
`func (o *EntitlementRevocationRequestConfig) HasApprovalSchemes() bool`
HasApprovalSchemes returns a boolean if a field has been set.

View File

@@ -20,8 +20,6 @@ Name | Type | Description | Notes
**Comment** | Pointer to **string** | Comment provided by requester. * Comment is required when the request is of type Revoke Access. | [optional]
**ClientMetadata** | Pointer to **map[string]string** | Arbitrary key-value pairs. They will never be processed by the IdentityNow system but will be returned on associated APIs such as /account-activities and /access-request-status. | [optional]
**RemoveDate** | Pointer to **SailPointTime** | The date the role or access profile or entitlement is no longer assigned to the specified identity. Also known as the expiration date. * Specify a date in the future. * The current SLA for the deprovisioning is 24 hours. * This date can be modified to either extend or decrease the duration of access item assignments for the specified identity. You can change the expiration date for requests for yourself or direct reports, but you cannot remove an expiration date on an already approved item. If the access request has not been approved, you can cancel it and submit a new one without the expiration. If it has already been approved, then you have to revoke the access and then re-request without the expiration. | [optional]
**AssignmentId** | Pointer to **NullableString** | The assignmentId for a specific role assignment on the identity. This id is used to revoke that specific roleAssignment on that identity. * For use with REVOKE_ACCESS requests for roles for identities with multiple accounts on a single source. | [optional]
**NativeIdentity** | Pointer to **NullableString** | The 'distinguishedName' field for an account on the identity, also called nativeIdentity. This nativeIdentity is used to revoke a specific attributeAssignment on the identity. * For use with REVOKE_ACCESS requests for entitlements for identities with multiple accounts on a single source. | [optional]
**AccountSelection** | Pointer to [**[]SourceItemRef**](source-item-ref) | The accounts where the access item will be provisioned to * Includes selections performed by the user in the event of multiple accounts existing on the same source * Also includes details for sources where user only has one account | [optional]
## Methods
@@ -158,76 +156,6 @@ SetRemoveDate sets RemoveDate field to given value.
HasRemoveDate returns a boolean if a field has been set.
### GetAssignmentId
`func (o *RequestedItemDtoRef) GetAssignmentId() string`
GetAssignmentId returns the AssignmentId field if non-nil, zero value otherwise.
### GetAssignmentIdOk
`func (o *RequestedItemDtoRef) GetAssignmentIdOk() (*string, bool)`
GetAssignmentIdOk returns a tuple with the AssignmentId field if it's non-nil, zero value otherwise
and a boolean to check if the value has been set.
### SetAssignmentId
`func (o *RequestedItemDtoRef) SetAssignmentId(v string)`
SetAssignmentId sets AssignmentId field to given value.
### HasAssignmentId
`func (o *RequestedItemDtoRef) HasAssignmentId() bool`
HasAssignmentId returns a boolean if a field has been set.
### SetAssignmentIdNil
`func (o *RequestedItemDtoRef) SetAssignmentIdNil(b bool)`
SetAssignmentIdNil sets the value for AssignmentId to be an explicit nil
### UnsetAssignmentId
`func (o *RequestedItemDtoRef) UnsetAssignmentId()`
UnsetAssignmentId ensures that no value is present for AssignmentId, not even an explicit nil
### GetNativeIdentity
`func (o *RequestedItemDtoRef) GetNativeIdentity() string`
GetNativeIdentity returns the NativeIdentity field if non-nil, zero value otherwise.
### GetNativeIdentityOk
`func (o *RequestedItemDtoRef) GetNativeIdentityOk() (*string, bool)`
GetNativeIdentityOk returns a tuple with the NativeIdentity field if it's non-nil, zero value otherwise
and a boolean to check if the value has been set.
### SetNativeIdentity
`func (o *RequestedItemDtoRef) SetNativeIdentity(v string)`
SetNativeIdentity sets NativeIdentity field to given value.
### HasNativeIdentity
`func (o *RequestedItemDtoRef) HasNativeIdentity() bool`
HasNativeIdentity returns a boolean if a field has been set.
### SetNativeIdentityNil
`func (o *RequestedItemDtoRef) SetNativeIdentityNil(b bool)`
SetNativeIdentityNil sets the value for NativeIdentity to be an explicit nil
### UnsetNativeIdentity
`func (o *RequestedItemDtoRef) UnsetNativeIdentity()`
UnsetNativeIdentity ensures that no value is present for NativeIdentity, not even an explicit nil
### GetAccountSelection
`func (o *RequestedItemDtoRef) GetAccountSelection() []SourceItemRef`

View File

@@ -16,6 +16,7 @@ tags: ['SDK', 'Software Development Kit', 'SourceEntitlementRequestConfig', 'Bet
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
**AccessRequestConfig** | Pointer to [**EntitlementAccessRequestConfig**](entitlement-access-request-config) | | [optional]
**RevocationRequestConfig** | Pointer to [**EntitlementRevocationRequestConfig**](entitlement-revocation-request-config) | | [optional]
## Methods
@@ -61,4 +62,29 @@ SetAccessRequestConfig sets AccessRequestConfig field to given value.
HasAccessRequestConfig returns a boolean if a field has been set.
### GetRevocationRequestConfig
`func (o *SourceEntitlementRequestConfig) GetRevocationRequestConfig() EntitlementRevocationRequestConfig`
GetRevocationRequestConfig returns the RevocationRequestConfig field if non-nil, zero value otherwise.
### GetRevocationRequestConfigOk
`func (o *SourceEntitlementRequestConfig) GetRevocationRequestConfigOk() (*EntitlementRevocationRequestConfig, bool)`
GetRevocationRequestConfigOk returns a tuple with the RevocationRequestConfig field if it's non-nil, zero value otherwise
and a boolean to check if the value has been set.
### SetRevocationRequestConfig
`func (o *SourceEntitlementRequestConfig) SetRevocationRequestConfig(v EntitlementRevocationRequestConfig)`
SetRevocationRequestConfig sets RevocationRequestConfig field to given value.
### HasRevocationRequestConfig
`func (o *SourceEntitlementRequestConfig) HasRevocationRequestConfig() bool`
HasRevocationRequestConfig returns a boolean if a field has been set.

View File

@@ -192,7 +192,6 @@ func main() {
"requestable" : true
}`) // AccessProfile |
var accessProfile v2024.AccessProfile
if err := json.Unmarshal(accessprofile, &accessProfile); err != nil {
fmt.Println("Error:", err)
@@ -278,6 +277,7 @@ func main() {
fmt.Fprintf(os.Stderr, "Error when calling `AccessProfilesAPI.DeleteAccessProfile``: %v\n", err)
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
}
}
```
@@ -335,7 +335,6 @@ func main() {
"bestEffortOnly" : true
}`) // AccessProfileBulkDeleteRequest |
var accessProfileBulkDeleteRequest v2024.AccessProfileBulkDeleteRequest
if err := json.Unmarshal(accessprofilebulkdeleterequest, &accessProfileBulkDeleteRequest); err != nil {
fmt.Println("Error:", err)
@@ -659,8 +658,7 @@ func main() {
id := `2c91808a7813090a017814121919ecca` // string | ID of the Access Profile to patch # string | ID of the Access Profile to patch
jsonpatchoperation := []byte(`[{op=add, path=/entitlements, value=[{id=2c9180857725c14301772a93bb77242d, type=ENTITLEMENT, name=AD User Group}]}]`) // []JsonPatchOperation |
var jsonPatchOperation v2024.[]JsonPatchOperation
var jsonPatchOperation []v2024.JsonPatchOperation
if err := json.Unmarshal(jsonpatchoperation, &jsonPatchOperation); err != nil {
fmt.Println("Error:", err)
return
@@ -746,8 +744,7 @@ func main() {
xSailPointExperimental := `true` // string | Use this header to enable this experimental API. (default to "true") # string | Use this header to enable this experimental API. (default to "true")
accessprofilebulkupdaterequestinner := []byte(`[{id=464ae7bf-791e-49fd-b746-06a2e4a89635, requestable=false}]`) // []AccessProfileBulkUpdateRequestInner |
var accessProfileBulkUpdateRequestInner v2024.[]AccessProfileBulkUpdateRequestInner
var accessProfileBulkUpdateRequestInner []v2024.AccessProfileBulkUpdateRequestInner
if err := json.Unmarshal(accessprofilebulkupdaterequestinner, &accessProfileBulkUpdateRequestInner); err != nil {
fmt.Println("Error:", err)
return

View File

@@ -171,7 +171,6 @@ func main() {
"comment" : "2c91808568c529c60168cca6f90c1313"
}`) // ForwardApprovalDto | Information about the forwarded approval.
var forwardApprovalDto v2024.ForwardApprovalDto
if err := json.Unmarshal(forwardapprovaldto, &forwardApprovalDto); err != nil {
fmt.Println("Error:", err)
@@ -534,7 +533,6 @@ func main() {
"comment" : "This is a comment."
}`) // CommentDto | Reviewer's comment.
var commentDto v2024.CommentDto
if err := json.Unmarshal(commentdto, &commentDto); err != nil {
fmt.Println("Error:", err)

View File

@@ -90,7 +90,6 @@ func main() {
"approvalIds" : [ "2c9180835d2e5168015d32f890ca1581", "2c9180835d2e5168015d32f890ca1582" ]
}`) // BulkApproveAccessRequest |
var bulkApproveAccessRequest v2024.BulkApproveAccessRequest
if err := json.Unmarshal(bulkapproveaccessrequest, &bulkApproveAccessRequest); err != nil {
fmt.Println("Error:", err)
@@ -162,7 +161,6 @@ func main() {
"comment" : "I requested this role by mistake."
}`) // CancelAccessRequest |
var cancelAccessRequest v2024.CancelAccessRequest
if err := json.Unmarshal(cancelaccessrequest, &cancelAccessRequest); err != nil {
fmt.Println("Error:", err)
@@ -234,7 +232,6 @@ func main() {
"comment" : "I requested this role by mistake."
}`) // BulkCancelAccessRequest |
var bulkCancelAccessRequest v2024.BulkCancelAccessRequest
if err := json.Unmarshal(bulkcancelaccessrequest, &bulkCancelAccessRequest); err != nil {
fmt.Println("Error:", err)
@@ -331,7 +328,6 @@ func main() {
"message" : "The IdentityNow Administrator manually closed this request."
}`) // CloseAccessRequest |
var closeAccessRequest v2024.CloseAccessRequest
if err := json.Unmarshal(closeaccessrequest, &closeAccessRequest); err != nil {
fmt.Println("Error:", err)
@@ -387,7 +383,8 @@ __REVOKE_ACCESS__
* Revoke requests for entitlements are limited to 1 entitlement per access request currently.
* You can specify a `removeDate` if the access doesn't already have a sunset date. The `removeDate` must be a future date, in the UTC timezone.
* 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.
* Now supports REVOKE_ACCESS requests for identities with multiple accounts on a single source, with the help of 'assignmentId' and 'nativeIdentity' fields.
* Now supports REVOKE_ACCESS requests for identities with multiple accounts on a single source, with the help of 'assignmentId' and 'nativeIdentity' fields. These fields should be used within the 'requestedItems' section for the revoke requests.
* Usage of 'requestedForWithRequestedItems' field is not supported for revoke requests.
[API Spec](https://developer.sailpoint.com/docs/api/v2024/create-access-request)
@@ -521,9 +518,7 @@ func main() {
} ],
"comment" : "Requesting access profile for John Doe",
"id" : "2c9180835d2e5168015d32f890ca1581",
"type" : "ACCESS_PROFILE",
"assignmentId" : "ee48a191c00d49bf9264eb0a4fc3a9fc",
"nativeIdentity" : "CN=User db3377de14bf,OU=YOURCONTAINER, DC=YOURDOMAIN"
"type" : "ACCESS_PROFILE"
}, {
"clientMetadata" : {
"requestedAppName" : "test-app",
@@ -551,9 +546,7 @@ func main() {
} ],
"comment" : "Requesting access profile for John Doe",
"id" : "2c9180835d2e5168015d32f890ca1581",
"type" : "ACCESS_PROFILE",
"assignmentId" : "ee48a191c00d49bf9264eb0a4fc3a9fc",
"nativeIdentity" : "CN=User db3377de14bf,OU=YOURCONTAINER, DC=YOURDOMAIN"
"type" : "ACCESS_PROFILE"
} ]
}, {
"identityId" : "cb89bc2f1ee6445fbea12224c526ba3a",
@@ -584,9 +577,7 @@ func main() {
} ],
"comment" : "Requesting access profile for John Doe",
"id" : "2c9180835d2e5168015d32f890ca1581",
"type" : "ACCESS_PROFILE",
"assignmentId" : "ee48a191c00d49bf9264eb0a4fc3a9fc",
"nativeIdentity" : "CN=User db3377de14bf,OU=YOURCONTAINER, DC=YOURDOMAIN"
"type" : "ACCESS_PROFILE"
}, {
"clientMetadata" : {
"requestedAppName" : "test-app",
@@ -614,14 +605,11 @@ func main() {
} ],
"comment" : "Requesting access profile for John Doe",
"id" : "2c9180835d2e5168015d32f890ca1581",
"type" : "ACCESS_PROFILE",
"assignmentId" : "ee48a191c00d49bf9264eb0a4fc3a9fc",
"nativeIdentity" : "CN=User db3377de14bf,OU=YOURCONTAINER, DC=YOURDOMAIN"
"type" : "ACCESS_PROFILE"
} ]
} ]
}`) // AccessRequest |
var accessRequest v2024.AccessRequest
if err := json.Unmarshal(accessrequest, &accessRequest); err != nil {
fmt.Println("Error:", err)
@@ -975,7 +963,6 @@ func main() {
} ]
}`) // AccountsSelectionRequest |
var accountsSelectionRequest v2024.AccountsSelectionRequest
if err := json.Unmarshal(accountsselectionrequest, &accountsSelectionRequest); err != nil {
fmt.Println("Error:", err)
@@ -1068,14 +1055,23 @@ func main() {
"approverId" : "e3eab852-8315-467f-9de7-70eda97f63c8",
"approverType" : "GOVERNANCE_GROUP"
} ],
"reauthorizationRequired" : false,
"requestCommentRequired" : true
},
"revocationRequestConfig" : {
"approvalSchemes" : [ {
"approverId" : "e3eab852-8315-467f-9de7-70eda97f63c8",
"approverType" : "GOVERNANCE_GROUP"
}, {
"approverId" : "e3eab852-8315-467f-9de7-70eda97f63c8",
"approverType" : "GOVERNANCE_GROUP"
} ]
}
},
"reauthorizationEnabled" : true,
"approvalsMustBeExternal" : true
}`) // AccessRequestConfig |
var accessRequestConfig v2024.AccessRequestConfig
if err := json.Unmarshal(accessrequestconfig, &accessRequestConfig); err != nil {
fmt.Println("Error:", err)

View File

@@ -125,7 +125,6 @@ func main() {
}
}`) // AccountAttributesCreate |
var accountAttributesCreate v2024.AccountAttributesCreate
if err := json.Unmarshal(accountattributescreate, &accountAttributesCreate); err != nil {
fmt.Println("Error:", err)
@@ -356,7 +355,6 @@ func main() {
"externalVerificationId" : "3f9180835d2e5168015d32f890ca1581"
}`) // AccountToggleRequest |
var accountToggleRequest v2024.AccountToggleRequest
if err := json.Unmarshal(accounttogglerequest, &accountToggleRequest); err != nil {
fmt.Println("Error:", err)
@@ -518,7 +516,6 @@ func main() {
"identityIds" : [ "2c91808384203c2d018437e631158308", "2c9180858082150f0180893dbaf553fe" ]
}`) // IdentitiesAccountsBulkRequest |
var identitiesAccountsBulkRequest v2024.IdentitiesAccountsBulkRequest
if err := json.Unmarshal(identitiesaccountsbulkrequest, &identitiesAccountsBulkRequest); err != nil {
fmt.Println("Error:", err)
@@ -595,7 +592,6 @@ func main() {
"externalVerificationId" : "3f9180835d2e5168015d32f890ca1581"
}`) // AccountToggleRequest |
var accountToggleRequest v2024.AccountToggleRequest
if err := json.Unmarshal(accounttogglerequest, &accountToggleRequest); err != nil {
fmt.Println("Error:", err)
@@ -757,7 +753,6 @@ func main() {
"identityIds" : [ "2c91808384203c2d018437e631158308", "2c9180858082150f0180893dbaf553fe" ]
}`) // IdentitiesAccountsBulkRequest |
var identitiesAccountsBulkRequest v2024.IdentitiesAccountsBulkRequest
if err := json.Unmarshal(identitiesaccountsbulkrequest, &identitiesAccountsBulkRequest); err != nil {
fmt.Println("Error:", err)
@@ -1054,7 +1049,6 @@ func main() {
}
}`) // AccountAttributes |
var accountAttributes v2024.AccountAttributes
if err := json.Unmarshal(accountattributes, &accountAttributes); err != nil {
fmt.Println("Error:", err)
@@ -1199,7 +1193,6 @@ func main() {
"unlockIDNAccount" : false
}`) // AccountUnlockRequest |
var accountUnlockRequest v2024.AccountUnlockRequest
if err := json.Unmarshal(accountunlockrequest, &accountUnlockRequest); err != nil {
fmt.Println("Error:", err)
@@ -1283,8 +1276,7 @@ func main() {
id := `ef38f94347e94562b5bb8424a56397d8` // string | Account ID. # string | Account ID.
requestbody := []byte(`[{op=remove, path=/identityId}]`) // []map[string]interface{} | A list of account update operations according to the [JSON Patch](https://tools.ietf.org/html/rfc6902) standard.
var requestBody v2024.[]RequestBody
var requestBody []v2024.RequestBody
if err := json.Unmarshal(requestbody, &requestBody); err != nil {
fmt.Println("Error:", err)
return

View File

@@ -209,6 +209,7 @@ func main() {
fmt.Fprintf(os.Stderr, "Error when calling `ApplicationDiscoveryAPI.SendManualDiscoverApplicationsCsvTemplate``: %v\n", err)
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
}
}
```

View File

@@ -100,7 +100,6 @@ func main() {
"matchAllAccounts" : true
}`) // SourceAppCreateDto |
var sourceAppCreateDto v2024.SourceAppCreateDto
if err := json.Unmarshal(sourceappcreatedto, &sourceAppCreateDto); err != nil {
fmt.Println("Error:", err)
@@ -189,8 +188,7 @@ func main() {
requestbody := []byte(`[c9575abb5e3a4e3db82b2f989a738aa2, c9dc28e148a24d65b3ccb5fb8ca5ddd9]`) // []string |
limit := 250 // int32 | Max number of results to return. See [V3 API Standard Collection Parameters](https://developer.sailpoint.com/idn/api/standard-collection-parameters) for more information. (optional) (default to 250) # int32 | Max number of results to return. See [V3 API Standard Collection Parameters](https://developer.sailpoint.com/idn/api/standard-collection-parameters) for more information. (optional) (default to 250)
var requestBody v2024.[]RequestBody
var requestBody []v2024.RequestBody
if err := json.Unmarshal(requestbody, &requestBody); err != nil {
fmt.Println("Error:", err)
return
@@ -1196,6 +1194,7 @@ func main() {
fmt.Fprintf(os.Stderr, "Error when calling `AppsAPI.UpdateSourceAppsInBulk``: %v\n", err)
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
}
}
```

View File

@@ -243,8 +243,7 @@ func main() {
xSailPointExperimental := `true` // string | Use this header to enable this experimental API. (default to "true") # string | Use this header to enable this experimental API. (default to "true")
jsonpatchoperation := []byte(``) // []JsonPatchOperation |
var jsonPatchOperation v2024.[]JsonPatchOperation
var jsonPatchOperation []v2024.JsonPatchOperation
if err := json.Unmarshal(jsonpatchoperation, &jsonPatchOperation); err != nil {
fmt.Println("Error:", err)
return

View File

@@ -145,8 +145,7 @@ func main() {
id := `ef38f94347e94562b5bb8424a56397d8` // string | Identity ID # string | Identity ID
jsonpatchoperation := []byte(`[{op=replace, path=/capabilities, value=[ORG_ADMIN]}]`) // []JsonPatchOperation | A list of auth user update operations according to the [JSON Patch](https://tools.ietf.org/html/rfc6902) standard.
var jsonPatchOperation v2024.[]JsonPatchOperation
var jsonPatchOperation []v2024.JsonPatchOperation
if err := json.Unmarshal(jsonpatchoperation, &jsonPatchOperation); err != nil {
fmt.Println("Error:", err)
return

View File

@@ -162,6 +162,7 @@ func main() {
fmt.Fprintf(os.Stderr, "Error when calling `BrandingAPI.DeleteBranding``: %v\n", err)
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
}
}
```

View File

@@ -111,7 +111,6 @@ func main() {
} ]
}`) // CampaignFilterDetails |
var campaignFilterDetails v2024.CampaignFilterDetails
if err := json.Unmarshal(campaignfilterdetails, &campaignFilterDetails); err != nil {
fmt.Println("Error:", err)
@@ -179,8 +178,7 @@ import (
func main() {
requestbody := []byte(``) // []string | A json list of IDs of campaign filters to delete.
var requestBody v2024.[]RequestBody
var requestBody []v2024.RequestBody
if err := json.Unmarshal(requestbody, &requestBody); err != nil {
fmt.Println("Error:", err)
return
@@ -195,6 +193,7 @@ func main() {
fmt.Fprintf(os.Stderr, "Error when calling `CertificationCampaignFiltersAPI.DeleteCampaignFilters``: %v\n", err)
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
}
}
```
@@ -400,7 +399,6 @@ func main() {
} ]
}`) // CampaignFilterDetails | A campaign filter details with updated field values.
var campaignFilterDetails v2024.CampaignFilterDetails
if err := json.Unmarshal(campaignfilterdetails, &campaignFilterDetails); err != nil {
fmt.Println("Error:", err)

View File

@@ -339,7 +339,6 @@ func main() {
"correlatedStatus" : "CORRELATED"
}`) // Campaign |
var campaign v2024.Campaign
if err := json.Unmarshal(campaign, &campaign); err != nil {
fmt.Println("Error:", err)
@@ -533,7 +532,6 @@ func main() {
"id" : "2c9079b270a266a60170a277bb960008"
}`) // CampaignTemplate |
var campaignTemplate v2024.CampaignTemplate
if err := json.Unmarshal(campaigntemplate, &campaignTemplate); err != nil {
fmt.Println("Error:", err)
@@ -616,6 +614,7 @@ func main() {
fmt.Fprintf(os.Stderr, "Error when calling `CertificationCampaignsAPI.DeleteCampaignTemplate``: %v\n", err)
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
}
}
```
@@ -681,6 +680,7 @@ func main() {
fmt.Fprintf(os.Stderr, "Error when calling `CertificationCampaignsAPI.DeleteCampaignTemplateSchedule``: %v\n", err)
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
}
}
```
@@ -734,7 +734,6 @@ func main() {
"ids" : [ "2c9180887335cee10173490db1776c26", "2c9180836a712436016a7125a90c0021" ]
}`) // CampaignsDeleteRequest | IDs of the campaigns to delete.
var campaignsDeleteRequest v2024.CampaignsDeleteRequest
if err := json.Unmarshal(campaignsdeleterequest, &campaignsDeleteRequest); err != nil {
fmt.Println("Error:", err)
@@ -1290,7 +1289,6 @@ func main() {
}
}`) // AdminReviewReassign |
var adminReviewReassign v2024.AdminReviewReassign
if err := json.Unmarshal(adminreviewreassign, &adminReviewReassign); err != nil {
fmt.Println("Error:", err)
@@ -1365,8 +1363,7 @@ func main() {
id := `2c9180835d191a86015d28455b4a2329` // string | ID of the campaign template being modified. # string | ID of the campaign template being modified.
jsonpatchoperation := []byte(`[{op=replace, path=/description, value=Updated description!}, {op=replace, path=/campaign/filter/id, value=ff80818155fe8c080155fe8d925b0316}]`) // []JsonPatchOperation | A list of campaign update operations according to the [JSON Patch](https://tools.ietf.org/html/rfc6902) standard. The following fields are patchable: * name * description * deadlineDuration * campaign (all fields that are allowed during create)
var jsonPatchOperation v2024.[]JsonPatchOperation
var jsonPatchOperation []v2024.JsonPatchOperation
if err := json.Unmarshal(jsonpatchoperation, &jsonPatchOperation); err != nil {
fmt.Println("Error:", err)
return
@@ -1436,7 +1433,6 @@ func main() {
"identityAttributeColumns" : [ "firstname", "lastname" ]
}`) // CampaignReportsConfig | Campaign report configuration.
var campaignReportsConfig v2024.CampaignReportsConfig
if err := json.Unmarshal(campaignreportsconfig, &campaignReportsConfig); err != nil {
fmt.Println("Error:", err)
@@ -1540,6 +1536,7 @@ func main() {
fmt.Fprintf(os.Stderr, "Error when calling `CertificationCampaignsAPI.SetCampaignTemplateSchedule``: %v\n", err)
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
}
}
```
@@ -1882,8 +1879,7 @@ func main() {
id := `2c91808571bcfcf80171c23e4b4221fc` // string | ID of the campaign template being modified. # string | ID of the campaign template being modified.
jsonpatchoperation := []byte(`[{op=replace, path=/name, value=This field has been updated!}, {op=copy, from=/name, path=/description}]`) // []JsonPatchOperation | A list of campaign update operations according to the [JSON Patch](https://tools.ietf.org/html/rfc6902) standard. The fields that can be patched differ based on the status of the campaign. When the campaign is in the *STAGED* status, you can patch these fields: * name * description * recommendationsEnabled * deadline * emailNotificationEnabled * autoRevokeAllowed When the campaign is in the *ACTIVE* status, you can patch these fields: * deadline
var jsonPatchOperation v2024.[]JsonPatchOperation
var jsonPatchOperation []v2024.JsonPatchOperation
if err := json.Unmarshal(jsonpatchoperation, &jsonPatchOperation); err != nil {
fmt.Println("Error:", err)
return

View File

@@ -611,8 +611,7 @@ func main() {
id := `ef38f94347e94562b5bb8424a56397d8` // string | The ID of the identity campaign certification on which to make decisions # string | The ID of the identity campaign certification on which to make decisions
reviewdecision := []byte(`[{id=ef38f94347e94562b5bb8424a56396b5, decision=APPROVE, bulk=true, comments=This user still needs access to this source.}, {id=ef38f94347e94562b5bb8424a56397d8, decision=APPROVE, bulk=true, comments=This user still needs access to this source too.}]`) // []ReviewDecision | A non-empty array of decisions to be made.
var reviewDecision v2024.[]ReviewDecision
var reviewDecision []v2024.ReviewDecision
if err := json.Unmarshal(reviewdecision, &reviewDecision); err != nil {
fmt.Println("Error:", err)
return
@@ -695,7 +694,6 @@ func main() {
} ]
}`) // ReviewReassign |
var reviewReassign v2024.ReviewReassign
if err := json.Unmarshal(reviewreassign, &reviewReassign); err != nil {
fmt.Println("Error:", err)
@@ -850,7 +848,6 @@ func main() {
} ]
}`) // ReviewReassign |
var reviewReassign v2024.ReviewReassign
if err := json.Unmarshal(reviewreassign, &reviewReassign); err != nil {
fmt.Println("Error:", err)

View File

@@ -95,7 +95,6 @@ func main() {
"draftId" : "3d0fe04b-57df-4a46-a83b-8f04b0f9d10b"
}`) // DeployRequest | The deploy request body.
var deployRequest v2024.DeployRequest
if err := json.Unmarshal(deployrequest, &deployRequest); err != nil {
fmt.Println("Error:", err)
@@ -178,7 +177,6 @@ func main() {
"objectType" : "IDENTITY"
}`) // ObjectMappingRequest | The object mapping request body.
var objectMappingRequest v2024.ObjectMappingRequest
if err := json.Unmarshal(objectmappingrequest, &objectMappingRequest); err != nil {
fmt.Println("Error:", err)
@@ -269,7 +267,6 @@ func main() {
} ]
}`) // ObjectMappingBulkCreateRequest | The bulk create object mapping request body.
var objectMappingBulkCreateRequest v2024.ObjectMappingBulkCreateRequest
if err := json.Unmarshal(objectmappingbulkcreaterequest, &objectMappingBulkCreateRequest); err != nil {
fmt.Println("Error:", err)
@@ -359,7 +356,6 @@ func main() {
}
}`) // ScheduledActionPayload | The scheduled action creation request body.
var scheduledActionPayload v2024.ScheduledActionPayload
if err := json.Unmarshal(scheduledactionpayload, &scheduledActionPayload); err != nil {
fmt.Println("Error:", err)
@@ -513,6 +509,7 @@ func main() {
fmt.Fprintf(os.Stderr, "Error when calling `ConfigurationHubAPI.DeleteBackup``: %v\n", err)
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
}
}
```
@@ -581,6 +578,7 @@ func main() {
fmt.Fprintf(os.Stderr, "Error when calling `ConfigurationHubAPI.DeleteDraft``: %v\n", err)
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
}
}
```
@@ -651,6 +649,7 @@ func main() {
fmt.Fprintf(os.Stderr, "Error when calling `ConfigurationHubAPI.DeleteObjectMapping``: %v\n", err)
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
}
}
```
@@ -715,6 +714,7 @@ func main() {
fmt.Fprintf(os.Stderr, "Error when calling `ConfigurationHubAPI.DeleteScheduledAction``: %v\n", err)
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
}
}
```
@@ -783,6 +783,7 @@ func main() {
fmt.Fprintf(os.Stderr, "Error when calling `ConfigurationHubAPI.DeleteUploadedConfiguration``: %v\n", err)
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
}
}
```
@@ -1356,7 +1357,6 @@ func main() {
}
}`) // ObjectMappingBulkPatchRequest | The object mapping request body.
var objectMappingBulkPatchRequest v2024.ObjectMappingBulkPatchRequest
if err := json.Unmarshal(objectmappingbulkpatchrequest, &objectMappingBulkPatchRequest); err != nil {
fmt.Println("Error:", err)
@@ -1440,7 +1440,6 @@ func main() {
} ]
}`) // JsonPatch | The JSON Patch document containing the changes to apply to the scheduled action.
var jsonPatch v2024.JsonPatch
if err := json.Unmarshal(jsonpatch, &jsonPatch); err != nil {
fmt.Println("Error:", err)

View File

@@ -73,7 +73,6 @@ func main() {
"name" : "My Custom Connector"
}`) // ConnectorCustomizerCreateRequest | Connector customizer to create.
var connectorCustomizerCreateRequest v2024.ConnectorCustomizerCreateRequest
if err := json.Unmarshal(connectorcustomizercreaterequest, &connectorCustomizerCreateRequest); err != nil {
fmt.Println("Error:", err)
@@ -221,6 +220,7 @@ func main() {
fmt.Fprintf(os.Stderr, "Error when calling `ConnectorCustomizersAPI.DeleteConnectorCustomizer``: %v\n", err)
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
}
}
```

View File

@@ -100,7 +100,6 @@ func main() {
"type" : "BuildMap"
}`) // ConnectorRuleCreateRequest | Connector rule to create.
var connectorRuleCreateRequest v2024.ConnectorRuleCreateRequest
if err := json.Unmarshal(connectorrulecreaterequest, &connectorRuleCreateRequest); err != nil {
fmt.Println("Error:", err)
@@ -182,6 +181,7 @@ func main() {
fmt.Fprintf(os.Stderr, "Error when calling `ConnectorRuleManagementAPI.DeleteConnectorRule``: %v\n", err)
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
}
}
```
@@ -461,7 +461,6 @@ func main() {
"script" : "return \"Mr. \" + firstName;"
}`) // SourceCode | Code to validate.
var sourceCode v2024.SourceCode
if err := json.Unmarshal(sourcecode, &sourceCode); err != nil {
fmt.Println("Error:", err)

View File

@@ -95,7 +95,6 @@ func main() {
"status" : "RELEASED"
}`) // V3CreateConnectorDto |
var v3CreateConnectorDto v2024.V3CreateConnectorDto
if err := json.Unmarshal(v3createconnectordto, &v3CreateConnectorDto); err != nil {
fmt.Println("Error:", err)
@@ -177,6 +176,7 @@ func main() {
fmt.Fprintf(os.Stderr, "Error when calling `ConnectorsAPI.DeleteCustomConnector``: %v\n", err)
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
}
}
```
@@ -923,8 +923,7 @@ func main() {
scriptName := `aScriptName` // string | The scriptName value of the connector. ScriptName is the unique id generated at connector creation. # string | The scriptName value of the connector. ScriptName is the unique id generated at connector creation.
jsonpatchoperation := []byte(``) // []JsonPatchOperation | A list of connector detail update operations
var jsonPatchOperation v2024.[]JsonPatchOperation
var jsonPatchOperation []v2024.JsonPatchOperation
if err := json.Unmarshal(jsonpatchoperation, &jsonPatchOperation); err != nil {
fmt.Println("Error:", err)
return

View File

@@ -93,7 +93,6 @@ func main() {
"locale" : "en"
}`) // CustomPasswordInstruction |
var customPasswordInstruction v2024.CustomPasswordInstruction
if err := json.Unmarshal(custompasswordinstruction, &customPasswordInstruction); err != nil {
fmt.Println("Error:", err)
@@ -190,6 +189,7 @@ func main() {
fmt.Fprintf(os.Stderr, "Error when calling `CustomPasswordInstructionsAPI.DeleteCustomPasswordInstructions``: %v\n", err)
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
}
}
```

View File

@@ -73,7 +73,6 @@ import (
func main() {
datasegment := []byte(``) // DataSegment |
var dataSegment v2024.DataSegment
if err := json.Unmarshal(datasegment, &dataSegment); err != nil {
fmt.Println("Error:", err)
@@ -170,6 +169,7 @@ func main() {
fmt.Fprintf(os.Stderr, "Error when calling `DataSegmentationAPI.DeleteDataSegment``: %v\n", err)
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
}
}
```
@@ -563,8 +563,7 @@ func main() {
xSailPointExperimental := `true` // string | Use this header to enable this experimental API. (default to "true") # string | Use this header to enable this experimental API. (default to "true")
requestbody := []byte(`[{op=replace, path=/memberFilter, value={expression={operator=AND, children=[{operator=EQUALS, attribute=location, value={type=STRING, value=Philadelphia}}, {operator=EQUALS, attribute=department, value={type=STRING, value=HR}}]}}}]`) // []map[string]interface{} | A list of segment update operations according to the [JSON Patch](https://tools.ietf.org/html/rfc6902) standard. The following fields are patchable: * name * description * membership * memberFilter * memberSelection * scopes * enabled
var requestBody v2024.[]RequestBody
var requestBody []v2024.RequestBody
if err := json.Unmarshal(requestbody, &requestBody); err != nil {
fmt.Println("Error:", err)
return
@@ -646,8 +645,7 @@ func main() {
requestbody := []byte(``) // []string | A list of segment ids that you wish to publish
publishAll := true // bool | This flag decides whether you want to publish all unpublished or a list of specific segment ids (optional) (default to true) # bool | This flag decides whether you want to publish all unpublished or a list of specific segment ids (optional) (default to true)
var requestBody v2024.[]RequestBody
var requestBody []v2024.RequestBody
if err := json.Unmarshal(requestbody, &requestBody); err != nil {
fmt.Println("Error:", err)
return
@@ -662,6 +660,7 @@ func main() {
fmt.Fprintf(os.Stderr, "Error when calling `DataSegmentationAPI.PublishDataSegment``: %v\n", err)
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
}
}
```

View File

@@ -166,7 +166,6 @@ func main() {
"parentId" : "2c918086749d78830174a1a40e121518"
}`) // Dimension |
var dimension v2024.Dimension
if err := json.Unmarshal(dimension, &dimension); err != nil {
fmt.Println("Error:", err)
@@ -245,7 +244,6 @@ func main() {
"dimensionIds" : [ "2c9180847812e0b1017817051919ecca", "2c9180887812e0b201781e129f151816" ]
}`) // DimensionBulkDeleteRequest |
var dimensionBulkDeleteRequest v2024.DimensionBulkDeleteRequest
if err := json.Unmarshal(dimensionbulkdeleterequest, &dimensionBulkDeleteRequest); err != nil {
fmt.Println("Error:", err)
@@ -331,6 +329,7 @@ func main() {
fmt.Fprintf(os.Stderr, "Error when calling `DimensionsAPI.DeleteDimension``: %v\n", err)
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
}
}
```
@@ -707,8 +706,7 @@ func main() {
dimensionId := `2c9180835d191a86015d28455b4a2329` // string | Id of the Dimension # string | Id of the Dimension
jsonpatchoperation := []byte(`[{op=replace, path=/description, value=Test Description}, {op=replace, path=/name, value=new name}]`) // []JsonPatchOperation |
var jsonPatchOperation v2024.[]JsonPatchOperation
var jsonPatchOperation []v2024.JsonPatchOperation
if err := json.Unmarshal(jsonpatchoperation, &jsonPatchOperation); err != nil {
fmt.Println("Error:", err)
return

View File

@@ -241,6 +241,7 @@ func main() {
fmt.Fprintf(os.Stderr, "Error when calling `EntitlementsAPI.DeleteAccessModelMetadataFromEntitlement``: %v\n", err)
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
}
}
```
@@ -922,11 +923,20 @@ func main() {
"approverId" : "e3eab852-8315-467f-9de7-70eda97f63c8",
"approverType" : "GOVERNANCE_GROUP"
} ],
"reauthorizationRequired" : false,
"requestCommentRequired" : true
},
"revocationRequestConfig" : {
"approvalSchemes" : [ {
"approverId" : "e3eab852-8315-467f-9de7-70eda97f63c8",
"approverType" : "GOVERNANCE_GROUP"
}, {
"approverId" : "e3eab852-8315-467f-9de7-70eda97f63c8",
"approverType" : "GOVERNANCE_GROUP"
} ]
}
}`) // EntitlementRequestConfig |
var entitlementRequestConfig v2024.EntitlementRequestConfig
if err := json.Unmarshal(entitlementrequestconfig, &entitlementRequestConfig); err != nil {
fmt.Println("Error:", err)
@@ -1104,7 +1114,6 @@ func main() {
} ]
}`) // EntitlementBulkUpdateRequest |
var entitlementBulkUpdateRequest v2024.EntitlementBulkUpdateRequest
if err := json.Unmarshal(entitlementbulkupdaterequest, &entitlementBulkUpdateRequest); err != nil {
fmt.Println("Error:", err)
@@ -1120,6 +1129,7 @@ func main() {
fmt.Fprintf(os.Stderr, "Error when calling `EntitlementsAPI.UpdateEntitlementsInBulk``: %v\n", err)
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
}
}
```

View File

@@ -78,7 +78,6 @@ func main() {
"geolocation" : [ "CA", "FR", "HT" ]
}`) // NetworkConfiguration | Network configuration creation request body. The following constraints ensure the request body conforms to certain logical guidelines, which are: 1. Each string element in the range array must be a valid ip address or ip subnet mask. 2. Each string element in the geolocation array must be 2 characters, and they can only be uppercase letters.
var networkConfiguration v2024.NetworkConfiguration
if err := json.Unmarshal(networkconfiguration, &networkConfiguration); err != nil {
fmt.Println("Error:", err)
@@ -375,8 +374,7 @@ import (
func main() {
jsonpatchoperation := []byte(`[{op=replace, path=/maximumAttempts, value=7,}, {op=add, path=/lockoutDuration, value=35}]`) // []JsonPatchOperation | A list of auth org lockout configuration update operations according to the [JSON Patch](https://tools.ietf.org/html/rfc6902) standard. Ensures that the patched Lockout Config conforms to certain logical guidelines, which are: `1. maximumAttempts >= 1 && maximumAttempts <= 15 2. lockoutDuration >= 5 && lockoutDuration <= 60 3. lockoutWindow >= 5 && lockoutDuration <= 60`
var jsonPatchOperation v2024.[]JsonPatchOperation
var jsonPatchOperation []v2024.JsonPatchOperation
if err := json.Unmarshal(jsonpatchoperation, &jsonPatchOperation); err != nil {
fmt.Println("Error:", err)
return
@@ -444,8 +442,7 @@ import (
func main() {
jsonpatchoperation := []byte(`[{op=replace, path=/whitelisted, value=false,}, {op=add, path=/geolocation, value=[AF, HN, ES]}]`) // []JsonPatchOperation | A list of auth org network configuration update operations according to the [JSON Patch](https://tools.ietf.org/html/rfc6902) standard. Ensures that the patched Network Config conforms to certain logical guidelines, which are: 1. Each string element in the range array must be a valid ip address or ip subnet mask. 2. Each string element in the geolocation array must be 2 characters, and they can only be uppercase letters.
var jsonPatchOperation v2024.[]JsonPatchOperation
var jsonPatchOperation []v2024.JsonPatchOperation
if err := json.Unmarshal(jsonpatchoperation, &jsonPatchOperation); err != nil {
fmt.Println("Error:", err)
return
@@ -512,8 +509,7 @@ import (
func main() {
jsonpatchoperation := []byte(`[{op=replace, path=/enabled, value=true,}, {op=add, path=/federationProtocolDetails/0/jitConfiguration, value={enabled=true, sourceId=2c9180857377ed2901739c12a2da5ac8, sourceAttributeMappings={firstName=okta.firstName, lastName=okta.lastName, email=okta.email, employeeNumber=okta.employeeNumber}}}]`) // []JsonPatchOperation | A list of auth org service provider configuration update operations according to the [JSON Patch](https://tools.ietf.org/html/rfc6902) standard. Note: /federationProtocolDetails/0 is IdpDetails /federationProtocolDetails/1 is SpDetails Ensures that the patched ServiceProviderConfig conforms to certain logical guidelines, which are: 1. Do not add or remove any elements in the federation protocol details in the service provider configuration. 2. Do not modify, add, or delete the service provider details element in the federation protocol details. 3. If this is the first time the patched ServiceProviderConfig enables Remote IDP sign-in, it must also include IDPDetails. 4. If the patch enables Remote IDP sign in, the entityID in the IDPDetails cannot be null. IDPDetails must include an entityID. 5. Any JIT configuration update must be valid. Just in time configuration update must be valid when enabled. This includes: - A Source ID - Source attribute mappings - Source attribute maps have all the required key values (firstName, lastName, email)
var jsonPatchOperation v2024.[]JsonPatchOperation
var jsonPatchOperation []v2024.JsonPatchOperation
if err := json.Unmarshal(jsonpatchoperation, &jsonPatchOperation); err != nil {
fmt.Println("Error:", err)
return
@@ -580,8 +576,7 @@ import (
func main() {
jsonpatchoperation := []byte(`[{op=replace, path=/rememberMe, value=true,}, {op=add, path=/maxSessionTime, value=480}]`) // []JsonPatchOperation | A list of auth org session configuration update operations according to the [JSON Patch](https://tools.ietf.org/html/rfc6902) standard. Ensures that the patched Session Config conforms to certain logical guidelines, which are: `1. maxSessionTime >= 1 && maxSessionTime <= 10080 (1 week) 2. maxIdleTime >= 1 && maxIdleTime <= 1440 (1 day) 3. maxSessionTime must have a greater duration than maxIdleTime.`
var jsonPatchOperation v2024.[]JsonPatchOperation
var jsonPatchOperation []v2024.JsonPatchOperation
if err := json.Unmarshal(jsonpatchoperation, &jsonPatchOperation); err != nil {
fmt.Println("Error:", err)
return

View File

@@ -105,7 +105,6 @@ func main() {
"id" : "2c91808568c529c60168cca6f90c1313"
}`) // WorkgroupDto |
var workgroupDto v2024.WorkgroupDto
if err := json.Unmarshal(workgroupdto, &workgroupDto); err != nil {
fmt.Println("Error:", err)
@@ -200,6 +199,7 @@ func main() {
fmt.Fprintf(os.Stderr, "Error when calling `GovernanceGroupsAPI.DeleteWorkgroup``: %v\n", err)
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
}
}
```
@@ -272,8 +272,7 @@ func main() {
xSailPointExperimental := `true` // string | Use this header to enable this experimental API. (default to "true") # string | Use this header to enable this experimental API. (default to "true")
identitypreviewresponseidentity := []byte(``) // []IdentityPreviewResponseIdentity | List of identities to be removed from a Governance Group members list.
var identityPreviewResponseIdentity v2024.[]IdentityPreviewResponseIdentity
var identityPreviewResponseIdentity []v2024.IdentityPreviewResponseIdentity
if err := json.Unmarshal(identitypreviewresponseidentity, &identityPreviewResponseIdentity); err != nil {
fmt.Println("Error:", err)
return
@@ -366,7 +365,6 @@ func main() {
"ids" : [ "567a697e-885b-495a-afc5-d55e1c23a302", "c7b0f7b2-1e78-4063-b294-a555333dacd2" ]
}`) // WorkgroupBulkDeleteRequest |
var workgroupBulkDeleteRequest v2024.WorkgroupBulkDeleteRequest
if err := json.Unmarshal(workgroupbulkdeleterequest, &workgroupBulkDeleteRequest); err != nil {
fmt.Println("Error:", err)
@@ -877,8 +875,7 @@ func main() {
xSailPointExperimental := `true` // string | Use this header to enable this experimental API. (default to "true") # string | Use this header to enable this experimental API. (default to "true")
identitypreviewresponseidentity := []byte(``) // []IdentityPreviewResponseIdentity | List of identities to be added to a Governance Group members list.
var identityPreviewResponseIdentity v2024.[]IdentityPreviewResponseIdentity
var identityPreviewResponseIdentity []v2024.IdentityPreviewResponseIdentity
if err := json.Unmarshal(identitypreviewresponseidentity, &identityPreviewResponseIdentity); err != nil {
fmt.Println("Error:", err)
return

View File

@@ -91,7 +91,6 @@ func main() {
"identityId" : "2c91808570313110017040b06f344ec9"
}`) // AccessRequestRecommendationActionItemDto | The recommended access item to ignore for an identity.
var accessRequestRecommendationActionItemDto v2024.AccessRequestRecommendationActionItemDto
if err := json.Unmarshal(accessrequestrecommendationactionitemdto, &accessRequestRecommendationActionItemDto); err != nil {
fmt.Println("Error:", err)
@@ -178,7 +177,6 @@ func main() {
"identityId" : "2c91808570313110017040b06f344ec9"
}`) // AccessRequestRecommendationActionItemDto | The recommended access item that was requested for an identity.
var accessRequestRecommendationActionItemDto v2024.AccessRequestRecommendationActionItemDto
if err := json.Unmarshal(accessrequestrecommendationactionitemdto, &accessRequestRecommendationActionItemDto); err != nil {
fmt.Println("Error:", err)
@@ -265,7 +263,6 @@ func main() {
"identityId" : "2c91808570313110017040b06f344ec9"
}`) // AccessRequestRecommendationActionItemDto | The recommended access that was viewed for an identity.
var accessRequestRecommendationActionItemDto v2024.AccessRequestRecommendationActionItemDto
if err := json.Unmarshal(accessrequestrecommendationactionitemdto, &accessRequestRecommendationActionItemDto); err != nil {
fmt.Println("Error:", err)
@@ -346,8 +343,7 @@ func main() {
xSailPointExperimental := `true` // string | Use this header to enable this experimental API. (default to "true") # string | Use this header to enable this experimental API. (default to "true")
accessrequestrecommendationactionitemdto := []byte(``) // []AccessRequestRecommendationActionItemDto | The recommended access items that were viewed for an identity.
var accessRequestRecommendationActionItemDto v2024.[]AccessRequestRecommendationActionItemDto
var accessRequestRecommendationActionItemDto []v2024.AccessRequestRecommendationActionItemDto
if err := json.Unmarshal(accessrequestrecommendationactionitemdto, &accessRequestRecommendationActionItemDto); err != nil {
fmt.Println("Error:", err)
return
@@ -843,7 +839,6 @@ func main() {
"useRestrictionAttribute" : true
}`) // AccessRequestRecommendationConfigDto | The desired configurations for Access Request Recommender for the tenant.
var accessRequestRecommendationConfigDto v2024.AccessRequestRecommendationConfigDto
if err := json.Unmarshal(accessrequestrecommendationconfigdto, &accessRequestRecommendationConfigDto); err != nil {
fmt.Println("Error:", err)

View File

@@ -88,7 +88,6 @@ func main() {
"status" : "CONFIRMED"
}`) // CommonAccessItemRequest |
var commonAccessItemRequest v2024.CommonAccessItemRequest
if err := json.Unmarshal(commonaccessitemrequest, &commonAccessItemRequest); err != nil {
fmt.Println("Error:", err)
@@ -252,8 +251,7 @@ func main() {
xSailPointExperimental := `true` // string | Use this header to enable this experimental API. (default to "true") # string | Use this header to enable this experimental API. (default to "true")
commonaccessidstatus := []byte(``) // []CommonAccessIDStatus | Confirm or deny in bulk the common access ids that are (or aren't) common access
var commonAccessIDStatus v2024.[]CommonAccessIDStatus
var commonAccessIDStatus []v2024.CommonAccessIDStatus
if err := json.Unmarshal(commonaccessidstatus, &commonAccessIDStatus); err != nil {
fmt.Println("Error:", err)
return

View File

@@ -579,8 +579,7 @@ func main() {
xSailPointExperimental := `true` // string | Use this header to enable this experimental API. (default to "true") # string | Use this header to enable this experimental API. (default to "true")
requestbody := []byte(``) // []string |
var requestBody v2024.[]RequestBody
var requestBody []v2024.RequestBody
if err := json.Unmarshal(requestbody, &requestBody); err != nil {
fmt.Println("Error:", err)
return
@@ -595,6 +594,7 @@ func main() {
fmt.Fprintf(os.Stderr, "Error when calling `IAIOutliersAPI.IgnoreIdentityOutliers``: %v\n", err)
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
}
}
```
@@ -753,8 +753,7 @@ func main() {
xSailPointExperimental := `true` // string | Use this header to enable this experimental API. (default to "true") # string | Use this header to enable this experimental API. (default to "true")
requestbody := []byte(``) // []string |
var requestBody v2024.[]RequestBody
var requestBody []v2024.RequestBody
if err := json.Unmarshal(requestbody, &requestBody); err != nil {
fmt.Println("Error:", err)
return
@@ -769,6 +768,7 @@ func main() {
fmt.Fprintf(os.Stderr, "Error when calling `IAIOutliersAPI.UnIgnoreIdentityOutliers``: %v\n", err)
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
}
}
```

View File

@@ -96,7 +96,6 @@ func main() {
"includeDebugInformation" : true
}`) // RecommendationRequestDto |
var recommendationRequestDto v2024.RecommendationRequestDto
if err := json.Unmarshal(recommendationrequestdto, &recommendationRequestDto); err != nil {
fmt.Println("Error:", err)
@@ -255,7 +254,6 @@ func main() {
"onlyTuneThreshold" : false
}`) // RecommendationConfigDto |
var recommendationConfigDto v2024.RecommendationConfigDto
if err := json.Unmarshal(recommendationconfigdto, &recommendationConfigDto); err != nil {
fmt.Println("Error:", err)

View File

@@ -225,7 +225,6 @@ func main() {
"type" : "SPECIALIZED"
}`) // RoleMiningSessionDto | Role mining session parameters
var roleMiningSessionDto v2024.RoleMiningSessionDto
if err := json.Unmarshal(roleminingsessiondto, &roleMiningSessionDto); err != nil {
fmt.Println("Error:", err)
@@ -1953,8 +1952,7 @@ func main() {
xSailPointExperimental := `true` // string | Use this header to enable this experimental API. (default to "true") # string | Use this header to enable this experimental API. (default to "true")
patchpotentialrolerequestinner := []byte(`[{op=remove, path=/description}, {op=replace, path=/description, value=Acct I - Potential Role}, {op=remove, path=/saved}, {op=replace, path=/saved, value=false}, {op=remove, path=/name}, {op=replace, path=/name, value=Potential Role Accounting}]`) // []PatchPotentialRoleRequestInner |
var patchPotentialRoleRequestInner v2024.[]PatchPotentialRoleRequestInner
var patchPotentialRoleRequestInner []v2024.PatchPotentialRoleRequestInner
if err := json.Unmarshal(patchpotentialrolerequestinner, &patchPotentialRoleRequestInner); err != nil {
fmt.Println("Error:", err)
return
@@ -2055,8 +2053,7 @@ func main() {
xSailPointExperimental := `true` // string | Use this header to enable this experimental API. (default to "true") # string | Use this header to enable this experimental API. (default to "true")
patchpotentialrolerequestinner := []byte(`[{op=remove, path=/description}, {op=replace, path=/description, value=Acct I - Potential Role}, {op=remove, path=/saved}, {op=replace, path=/saved, value=false}, {op=remove, path=/name}, {op=replace, path=/name, value=Potential Role Accounting}]`) // []PatchPotentialRoleRequestInner |
var patchPotentialRoleRequestInner v2024.[]PatchPotentialRoleRequestInner
var patchPotentialRoleRequestInner []v2024.PatchPotentialRoleRequestInner
if err := json.Unmarshal(patchpotentialrolerequestinner, &patchPotentialRoleRequestInner); err != nil {
fmt.Println("Error:", err)
return
@@ -2142,8 +2139,7 @@ func main() {
xSailPointExperimental := `true` // string | Use this header to enable this experimental API. (default to "true") # string | Use this header to enable this experimental API. (default to "true")
jsonpatchoperation := []byte(`[{op=replace, path=/pruneThreshold, value=83}, {op=replace, path=/minNumIdentitiesInPotentialRole, value=10}, {op=replace, path=/saved, value=false}, {op=replace, path=/name, value=RM Session - 07/10/22}, {op=add, path=/name, value=RM Session - 07/10/22}]`) // []JsonPatchOperation | Replace pruneThreshold and/or minNumIdentitiesInPotentialRole in role mining session. Update saved status or saved name for a role mining session.
var jsonPatchOperation v2024.[]JsonPatchOperation
var jsonPatchOperation []v2024.JsonPatchOperation
if err := json.Unmarshal(jsonpatchoperation, &jsonPatchOperation); err != nil {
fmt.Println("Error:", err)
return
@@ -2235,7 +2231,6 @@ func main() {
"exclude" : true
}`) // RoleMiningPotentialRoleEditEntitlements | Role mining session parameters
var roleMiningPotentialRoleEditEntitlements v2024.RoleMiningPotentialRoleEditEntitlements
if err := json.Unmarshal(roleminingpotentialroleeditentitlements, &roleMiningPotentialRoleEditEntitlements); err != nil {
fmt.Println("Error:", err)

View File

@@ -96,6 +96,7 @@ func main() {
fmt.Fprintf(os.Stderr, "Error when calling `IconsAPI.DeleteIcon``: %v\n", err)
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
}
}
```

View File

@@ -115,6 +115,7 @@ func main() {
fmt.Fprintf(os.Stderr, "Error when calling `IdentitiesAPI.DeleteIdentity``: %v\n", err)
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
}
}
```
@@ -602,6 +603,7 @@ func main() {
fmt.Fprintf(os.Stderr, "Error when calling `IdentitiesAPI.ResetIdentity``: %v\n", err)
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
}
}
```
@@ -675,7 +677,6 @@ func main() {
"via" : "EMAIL_WORK"
}`) // SendAccountVerificationRequest |
var sendAccountVerificationRequest v2024.SendAccountVerificationRequest
if err := json.Unmarshal(sendaccountverificationrequest, &sendAccountVerificationRequest); err != nil {
fmt.Println("Error:", err)
@@ -691,6 +692,7 @@ func main() {
fmt.Fprintf(os.Stderr, "Error when calling `IdentitiesAPI.SendIdentityVerificationAccountToken``: %v\n", err)
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
}
}
```
@@ -762,7 +764,6 @@ func main() {
"uninvited" : false
}`) // InviteIdentitiesRequest |
var inviteIdentitiesRequest v2024.InviteIdentitiesRequest
if err := json.Unmarshal(inviteidentitiesrequest, &inviteIdentitiesRequest); err != nil {
fmt.Println("Error:", err)
@@ -852,7 +853,6 @@ func main() {
"identityIds" : [ "ef38f94347e94562b5bb8424a56397d8", "ef38f94347e94562b5bb8424a56397d8", "ef38f94347e94562b5bb8424a56397d8", "ef38f94347e94562b5bb8424a56397d8", "ef38f94347e94562b5bb8424a56397d8" ]
}`) // ProcessIdentitiesRequest |
var processIdentitiesRequest v2024.ProcessIdentitiesRequest
if err := json.Unmarshal(processidentitiesrequest, &processIdentitiesRequest); err != nil {
fmt.Println("Error:", err)

View File

@@ -102,7 +102,6 @@ func main() {
"multi" : false
}`) // IdentityAttribute |
var identityAttribute v2024.IdentityAttribute
if err := json.Unmarshal(identityattribute, &identityAttribute); err != nil {
fmt.Println("Error:", err)
@@ -197,6 +196,7 @@ func main() {
fmt.Fprintf(os.Stderr, "Error when calling `IdentityAttributesAPI.DeleteIdentityAttribute``: %v\n", err)
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
}
}
```
@@ -262,7 +262,6 @@ func main() {
"ids" : [ "name", "displayName" ]
}`) // IdentityAttributeNames |
var identityAttributeNames v2024.IdentityAttributeNames
if err := json.Unmarshal(identityattributenames, &identityAttributeNames); err != nil {
fmt.Println("Error:", err)
@@ -278,6 +277,7 @@ func main() {
fmt.Fprintf(os.Stderr, "Error when calling `IdentityAttributesAPI.DeleteIdentityAttributesInBulk``: %v\n", err)
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
}
}
```
@@ -528,7 +528,6 @@ func main() {
"multi" : false
}`) // IdentityAttribute |
var identityAttribute v2024.IdentityAttribute
if err := json.Unmarshal(identityattribute, &identityAttribute); err != nil {
fmt.Println("Error:", err)

View File

@@ -131,7 +131,6 @@ func main() {
"id" : "id12345"
}`) // IdentityProfile |
var identityProfile v2024.IdentityProfile
if err := json.Unmarshal(identityprofile, &identityProfile); err != nil {
fmt.Println("Error:", err)
@@ -270,8 +269,7 @@ import (
func main() {
requestbody := []byte(``) // []string | Identity Profile bulk delete request body.
var requestBody v2024.[]RequestBody
var requestBody []v2024.RequestBody
if err := json.Unmarshal(requestbody, &requestBody); err != nil {
fmt.Println("Error:", err)
return
@@ -447,7 +445,6 @@ func main() {
}
}`) // IdentityPreviewRequest | Identity Preview request body.
var identityPreviewRequest v2024.IdentityPreviewRequest
if err := json.Unmarshal(identitypreviewrequest, &identityPreviewRequest); err != nil {
fmt.Println("Error:", err)
@@ -647,8 +644,7 @@ import (
func main() {
identityprofileexportedobject := []byte(``) // []IdentityProfileExportedObject | Previously exported Identity Profiles.
var identityProfileExportedObject v2024.[]IdentityProfileExportedObject
var identityProfileExportedObject []v2024.IdentityProfileExportedObject
if err := json.Unmarshal(identityprofileexportedobject, &identityProfileExportedObject); err != nil {
fmt.Println("Error:", err)
return
@@ -869,8 +865,7 @@ func main() {
identityProfileId := `ef38f94347e94562b5bb8424a56397d8` // string | Identity profile ID. # string | Identity profile ID.
jsonpatchoperation := []byte(`[{op=add, path=/identityAttributeConfig/attributeTransforms/0, value={identityAttributeName=location, transformDefinition={type=accountAttribute, attributes={sourceName=Employees, attributeName=location, sourceId=2c91808878b7d63b0178c66ffcdc4ce4}}}}]`) // []JsonPatchOperation | List of identity profile update operations according to the [JSON Patch](https://tools.ietf.org/html/rfc6902) standard.
var jsonPatchOperation v2024.[]JsonPatchOperation
var jsonPatchOperation []v2024.JsonPatchOperation
if err := json.Unmarshal(jsonpatchoperation, &jsonPatchOperation); err != nil {
fmt.Println("Error:", err)
return

View File

@@ -136,7 +136,6 @@ func main() {
"enabled" : true
}`) // LifecycleState | Lifecycle state to be created.
var lifecycleState v2024.LifecycleState
if err := json.Unmarshal(lifecyclestate, &lifecycleState); err != nil {
fmt.Println("Error:", err)
@@ -422,7 +421,6 @@ func main() {
identityId := `2c9180857893f1290178944561990364` // string | ID of the identity to update. # string | ID of the identity to update.
setlifecyclestaterequest := []byte(``) // SetLifecycleStateRequest |
var setLifecycleStateRequest v2024.SetLifecycleStateRequest
if err := json.Unmarshal(setlifecyclestaterequest, &setLifecycleStateRequest); err != nil {
fmt.Println("Error:", err)
@@ -499,8 +497,7 @@ func main() {
lifecycleStateId := `ef38f94347e94562b5bb8424a56397d8` // string | Lifecycle state ID. # string | Lifecycle state ID.
jsonpatchoperation := []byte(`[{op=replace, path=/description, value=Updated description!}, {op=replace, path=/accessProfileIds, value=[2c918087742bab150174407a80f3125e, 2c918087742bab150174407a80f3124f]}, {op=replace, path=/accountActions, value=[{action=ENABLE, sourceIds=[2c9180846a2f82fb016a481c1b1560c5, 2c9180846a2f82fb016a481c1b1560cc]}, {action=DISABLE, sourceIds=[2c91808869a0c9980169a207258513fb]}]}, {op=replace, path=/emailNotificationOption, value={notifyManagers=true, notifyAllAdmins=false, notifySpecificUsers=false, emailAddressList=[]}}]`) // []JsonPatchOperation | A list of lifecycle state update operations according to the [JSON Patch](https://tools.ietf.org/html/rfc6902) standard. The following fields can be updated: * enabled * description * accountActions * accessProfileIds * emailNotificationOption
var jsonPatchOperation v2024.[]JsonPatchOperation
var jsonPatchOperation []v2024.JsonPatchOperation
if err := json.Unmarshal(jsonpatchoperation, &jsonPatchOperation); err != nil {
fmt.Println("Error:", err)
return

View File

@@ -255,7 +255,6 @@ func main() {
"identityAttribute" : "email"
}`) // MfaDuoConfig |
var mfaDuoConfig v2024.MfaDuoConfig
if err := json.Unmarshal(mfaduoconfig, &mfaDuoConfig); err != nil {
fmt.Println("Error:", err)
@@ -323,8 +322,7 @@ import (
func main() {
kbaanswerrequestitem := []byte(`[{id=173423, answer=822cd15d6c15aa0c55ad015a3bf4f1b2b0b822cd15d6c15b0f00a0859a2fea34}, {id=c54fee53-2d63-4fc5-9259-3e93b9994135, answer=9f86d081884c7d659a2feaa0c55ad015a3bf4f1b2b0b822cd15d6c15b0f00a08}]`) // []KbaAnswerRequestItem |
var kbaAnswerRequestItem v2024.[]KbaAnswerRequestItem
var kbaAnswerRequestItem []v2024.KbaAnswerRequestItem
if err := json.Unmarshal(kbaanswerrequestitem, &kbaAnswerRequestItem); err != nil {
fmt.Println("Error:", err)
return
@@ -397,7 +395,6 @@ func main() {
"identityAttribute" : "email"
}`) // MfaOktaConfig |
var mfaOktaConfig v2024.MfaOktaConfig
if err := json.Unmarshal(mfaoktaconfig, &mfaOktaConfig); err != nil {
fmt.Println("Error:", err)

View File

@@ -93,7 +93,6 @@ func main() {
}
}`) // AttributeMappings |
var attributeMappings v2024.AttributeMappings
if err := json.Unmarshal(attributemappings, &attributeMappings); err != nil {
fmt.Println("Error:", err)
@@ -176,6 +175,7 @@ func main() {
fmt.Fprintf(os.Stderr, "Error when calling `MachineAccountMappingsAPI.DeleteMachineAccountMappings``: %v\n", err)
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
}
}
```
@@ -322,7 +322,6 @@ func main() {
}
}`) // AttributeMappings |
var attributeMappings v2024.AttributeMappings
if err := json.Unmarshal(attributemappings, &attributeMappings); err != nil {
fmt.Println("Error:", err)

Some files were not shown because too many files have changed in this diff Show More