mirror of
https://github.com/LukeHagar/developer.sailpoint.com.git
synced 2025-12-09 20:37:47 +00:00
update go docs and examples
This commit is contained in:
@@ -105,7 +105,7 @@ import (
|
||||
)
|
||||
|
||||
func main() {
|
||||
data := []byte(`{
|
||||
accessprofile := []byte(`{
|
||||
"owner" : {
|
||||
"name" : "support",
|
||||
"id" : "2c9180a46faadee4016fb4e018c20639",
|
||||
@@ -194,7 +194,7 @@ func main() {
|
||||
|
||||
|
||||
var accessProfile beta.AccessProfile
|
||||
if err := json.Unmarshal(data, &accessProfile); err != nil {
|
||||
if err := json.Unmarshal(accessprofile, &accessProfile); err != nil {
|
||||
fmt.Println("Error:", err)
|
||||
return
|
||||
}
|
||||
@@ -329,14 +329,14 @@ import (
|
||||
)
|
||||
|
||||
func main() {
|
||||
data := []byte(`{
|
||||
accessprofilebulkdeleterequest := []byte(`{
|
||||
"accessProfileIds" : [ "2c9180847812e0b1017817051919ecca", "2c9180887812e0b201781e129f151816" ],
|
||||
"bestEffortOnly" : true
|
||||
}`) // AccessProfileBulkDeleteRequest |
|
||||
|
||||
|
||||
var accessProfileBulkDeleteRequest beta.AccessProfileBulkDeleteRequest
|
||||
if err := json.Unmarshal(data, &accessProfileBulkDeleteRequest); err != nil {
|
||||
if err := json.Unmarshal(accessprofilebulkdeleterequest, &accessProfileBulkDeleteRequest); err != nil {
|
||||
fmt.Println("Error:", err)
|
||||
return
|
||||
}
|
||||
@@ -631,11 +631,11 @@ import (
|
||||
|
||||
func main() {
|
||||
id := `2c91808a7813090a017814121919ecca` // string | ID of the Access Profile to patch # string | ID of the Access Profile to patch
|
||||
jsonPatchOperation := fmt.Sprintf(`[{op=add, path=/entitlements, value=[{id=2c9180857725c14301772a93bb77242d, type=ENTITLEMENT, name=AD User Group}]}]`) // []JsonPatchOperation |
|
||||
jsonpatchoperation := []byte(`[{op=add, path=/entitlements, value=[{id=2c9180857725c14301772a93bb77242d, type=ENTITLEMENT, name=AD User Group}]}]`) // []JsonPatchOperation |
|
||||
|
||||
|
||||
var jsonPatchOperation beta.JsonPatchOperation
|
||||
if err := json.Unmarshal(data, &jsonPatchOperation); err != nil {
|
||||
var jsonPatchOperation beta.[]JsonPatchOperation
|
||||
if err := json.Unmarshal(jsonpatchoperation, &jsonPatchOperation); err != nil {
|
||||
fmt.Println("Error:", err)
|
||||
return
|
||||
}
|
||||
@@ -705,11 +705,11 @@ import (
|
||||
)
|
||||
|
||||
func main() {
|
||||
accessProfileBulkUpdateRequestInner := fmt.Sprintf(`[{id=464ae7bf-791e-49fd-b746-06a2e4a89635, requestable=false}]`) // []AccessProfileBulkUpdateRequestInner |
|
||||
accessprofilebulkupdaterequestinner := []byte(`[{id=464ae7bf-791e-49fd-b746-06a2e4a89635, requestable=false}]`) // []AccessProfileBulkUpdateRequestInner |
|
||||
|
||||
|
||||
var accessProfileBulkUpdateRequestInner beta.AccessProfileBulkUpdateRequestInner
|
||||
if err := json.Unmarshal(data, &accessProfileBulkUpdateRequestInner); err != nil {
|
||||
var accessProfileBulkUpdateRequestInner beta.[]AccessProfileBulkUpdateRequestInner
|
||||
if err := json.Unmarshal(accessprofilebulkupdaterequestinner, &accessProfileBulkUpdateRequestInner); err != nil {
|
||||
fmt.Println("Error:", err)
|
||||
return
|
||||
}
|
||||
|
||||
@@ -89,7 +89,7 @@ import (
|
||||
|
||||
func main() {
|
||||
approvalId := `2c91808b7294bea301729568c68c002e` // string | Approval ID. # string | Approval ID.
|
||||
data := []byte(`{
|
||||
commentdto := []byte(`{
|
||||
"author" : {
|
||||
"name" : "Adam Kennedy",
|
||||
"id" : "2c91808568c529c60168cca6f90c1313",
|
||||
@@ -101,7 +101,7 @@ func main() {
|
||||
|
||||
|
||||
var commentDto beta.CommentDto
|
||||
if err := json.Unmarshal(data, &commentDto); err != nil {
|
||||
if err := json.Unmarshal(commentdto, &commentDto); err != nil {
|
||||
fmt.Println("Error:", err)
|
||||
return
|
||||
}
|
||||
@@ -171,14 +171,14 @@ import (
|
||||
|
||||
func main() {
|
||||
approvalId := `2c91808b7294bea301729568c68c002e` // string | Approval ID. # string | Approval ID.
|
||||
data := []byte(`{
|
||||
forwardapprovaldto := []byte(`{
|
||||
"newOwnerId" : "newOwnerId",
|
||||
"comment" : "comment"
|
||||
}`) // ForwardApprovalDto | Information about the forwarded approval.
|
||||
|
||||
|
||||
var forwardApprovalDto beta.ForwardApprovalDto
|
||||
if err := json.Unmarshal(data, &forwardApprovalDto); err != nil {
|
||||
if err := json.Unmarshal(forwardapprovaldto, &forwardApprovalDto); err != nil {
|
||||
fmt.Println("Error:", err)
|
||||
return
|
||||
}
|
||||
@@ -456,7 +456,7 @@ import (
|
||||
|
||||
func main() {
|
||||
approvalId := `2c91808b7294bea301729568c68c002e` // string | Approval ID. # string | Approval ID.
|
||||
data := []byte(`{
|
||||
commentdto := []byte(`{
|
||||
"author" : {
|
||||
"name" : "Adam Kennedy",
|
||||
"id" : "2c91808568c529c60168cca6f90c1313",
|
||||
@@ -468,7 +468,7 @@ func main() {
|
||||
|
||||
|
||||
var commentDto beta.CommentDto
|
||||
if err := json.Unmarshal(data, &commentDto); err != nil {
|
||||
if err := json.Unmarshal(commentdto, &commentDto); err != nil {
|
||||
fmt.Println("Error:", err)
|
||||
return
|
||||
}
|
||||
|
||||
@@ -82,14 +82,14 @@ import (
|
||||
)
|
||||
|
||||
func main() {
|
||||
data := []byte(`{
|
||||
cancelaccessrequest := []byte(`{
|
||||
"accountActivityId" : "2c9180835d2e5168015d32f890ca1581",
|
||||
"comment" : "I requested this role by mistake."
|
||||
}`) // CancelAccessRequest |
|
||||
|
||||
|
||||
var cancelAccessRequest beta.CancelAccessRequest
|
||||
if err := json.Unmarshal(data, &cancelAccessRequest); err != nil {
|
||||
if err := json.Unmarshal(cancelaccessrequest, &cancelAccessRequest); err != nil {
|
||||
fmt.Println("Error:", err)
|
||||
return
|
||||
}
|
||||
@@ -164,7 +164,7 @@ import (
|
||||
)
|
||||
|
||||
func main() {
|
||||
data := []byte(`{
|
||||
closeaccessrequest := []byte(`{
|
||||
"executionStatus" : "Terminated",
|
||||
"accessRequestIds" : [ "2c90ad2a70ace7d50170acf22ca90010" ],
|
||||
"completionStatus" : "Failure",
|
||||
@@ -173,7 +173,7 @@ func main() {
|
||||
|
||||
|
||||
var closeAccessRequest beta.CloseAccessRequest
|
||||
if err := json.Unmarshal(data, &closeAccessRequest); err != nil {
|
||||
if err := json.Unmarshal(closeaccessrequest, &closeAccessRequest); err != nil {
|
||||
fmt.Println("Error:", err)
|
||||
return
|
||||
}
|
||||
@@ -269,7 +269,7 @@ import (
|
||||
)
|
||||
|
||||
func main() {
|
||||
data := []byte(`{
|
||||
accessrequest := []byte(`{
|
||||
"requestedFor" : "2c918084660f45d6016617daa9210584",
|
||||
"clientMetadata" : {
|
||||
"requestedAppId" : "2c91808f7892918f0178b78da4a305a1",
|
||||
@@ -463,7 +463,7 @@ func main() {
|
||||
|
||||
|
||||
var accessRequest beta.AccessRequest
|
||||
if err := json.Unmarshal(data, &accessRequest); err != nil {
|
||||
if err := json.Unmarshal(accessrequest, &accessRequest); err != nil {
|
||||
fmt.Println("Error:", err)
|
||||
return
|
||||
}
|
||||
@@ -666,7 +666,7 @@ import (
|
||||
)
|
||||
|
||||
func main() {
|
||||
data := []byte(`{
|
||||
accessrequestconfig := []byte(`{
|
||||
"requestOnBehalfOfConfig" : {
|
||||
"allowRequestOnBehalfOfEmployeeByManager" : true,
|
||||
"allowRequestOnBehalfOfAnyoneByAnyone" : true
|
||||
@@ -695,7 +695,7 @@ func main() {
|
||||
|
||||
|
||||
var accessRequestConfig beta.AccessRequestConfig
|
||||
if err := json.Unmarshal(data, &accessRequestConfig); err != nil {
|
||||
if err := json.Unmarshal(accessrequestconfig, &accessRequestConfig); err != nil {
|
||||
fmt.Println("Error:", err)
|
||||
return
|
||||
}
|
||||
|
||||
@@ -117,7 +117,7 @@ import (
|
||||
)
|
||||
|
||||
func main() {
|
||||
data := []byte(`{
|
||||
accountattributescreate := []byte(`{
|
||||
"attributes" : {
|
||||
"sourceId" : "34bfcbe116c9407464af37acbaf7a4dc",
|
||||
"city" : "Austin",
|
||||
@@ -130,7 +130,7 @@ func main() {
|
||||
|
||||
|
||||
var accountAttributesCreate beta.AccountAttributesCreate
|
||||
if err := json.Unmarshal(data, &accountAttributesCreate); err != nil {
|
||||
if err := json.Unmarshal(accountattributescreate, &accountAttributesCreate); err != nil {
|
||||
fmt.Println("Error:", err)
|
||||
return
|
||||
}
|
||||
@@ -349,14 +349,14 @@ import (
|
||||
|
||||
func main() {
|
||||
id := `ef38f94347e94562b5bb8424a56397d8` // string | The account id # string | The account id
|
||||
data := []byte(`{
|
||||
accounttogglerequest := []byte(`{
|
||||
"forceProvisioning" : false,
|
||||
"externalVerificationId" : "3f9180835d2e5168015d32f890ca1581"
|
||||
}`) // AccountToggleRequest |
|
||||
|
||||
|
||||
var accountToggleRequest beta.AccountToggleRequest
|
||||
if err := json.Unmarshal(data, &accountToggleRequest); err != nil {
|
||||
if err := json.Unmarshal(accounttogglerequest, &accountToggleRequest); err != nil {
|
||||
fmt.Println("Error:", err)
|
||||
return
|
||||
}
|
||||
@@ -492,13 +492,13 @@ import (
|
||||
)
|
||||
|
||||
func main() {
|
||||
data := []byte(`{
|
||||
identitiesaccountsbulkrequest := []byte(`{
|
||||
"identityIds" : [ "2c91808384203c2d018437e631158308", "2c9180858082150f0180893dbaf553fe" ]
|
||||
}`) // IdentitiesAccountsBulkRequest |
|
||||
|
||||
|
||||
var identitiesAccountsBulkRequest beta.IdentitiesAccountsBulkRequest
|
||||
if err := json.Unmarshal(data, &identitiesAccountsBulkRequest); err != nil {
|
||||
if err := json.Unmarshal(identitiesaccountsbulkrequest, &identitiesAccountsBulkRequest); err != nil {
|
||||
fmt.Println("Error:", err)
|
||||
return
|
||||
}
|
||||
@@ -572,14 +572,14 @@ import (
|
||||
|
||||
func main() {
|
||||
id := `ef38f94347e94562b5bb8424a56397d8` // string | The account id # string | The account id
|
||||
data := []byte(`{
|
||||
accounttogglerequest := []byte(`{
|
||||
"forceProvisioning" : false,
|
||||
"externalVerificationId" : "3f9180835d2e5168015d32f890ca1581"
|
||||
}`) // AccountToggleRequest |
|
||||
|
||||
|
||||
var accountToggleRequest beta.AccountToggleRequest
|
||||
if err := json.Unmarshal(data, &accountToggleRequest); err != nil {
|
||||
if err := json.Unmarshal(accounttogglerequest, &accountToggleRequest); err != nil {
|
||||
fmt.Println("Error:", err)
|
||||
return
|
||||
}
|
||||
@@ -715,13 +715,13 @@ import (
|
||||
)
|
||||
|
||||
func main() {
|
||||
data := []byte(`{
|
||||
identitiesaccountsbulkrequest := []byte(`{
|
||||
"identityIds" : [ "2c91808384203c2d018437e631158308", "2c9180858082150f0180893dbaf553fe" ]
|
||||
}`) // IdentitiesAccountsBulkRequest |
|
||||
|
||||
|
||||
var identitiesAccountsBulkRequest beta.IdentitiesAccountsBulkRequest
|
||||
if err := json.Unmarshal(data, &identitiesAccountsBulkRequest); err != nil {
|
||||
if err := json.Unmarshal(identitiesaccountsbulkrequest, &identitiesAccountsBulkRequest); err != nil {
|
||||
fmt.Println("Error:", err)
|
||||
return
|
||||
}
|
||||
@@ -1022,7 +1022,7 @@ import (
|
||||
|
||||
func main() {
|
||||
id := `ef38f94347e94562b5bb8424a56397d8` // string | Account ID. # string | Account ID.
|
||||
data := []byte(`{
|
||||
accountattributes := []byte(`{
|
||||
"attributes" : {
|
||||
"city" : "Austin",
|
||||
"displayName" : "John Doe",
|
||||
@@ -1034,7 +1034,7 @@ func main() {
|
||||
|
||||
|
||||
var accountAttributes beta.AccountAttributes
|
||||
if err := json.Unmarshal(data, &accountAttributes); err != nil {
|
||||
if err := json.Unmarshal(accountattributes, &accountAttributes); err != nil {
|
||||
fmt.Println("Error:", err)
|
||||
return
|
||||
}
|
||||
@@ -1179,7 +1179,7 @@ import (
|
||||
|
||||
func main() {
|
||||
id := `ef38f94347e94562b5bb8424a56397d8` // string | The account ID. # string | The account ID.
|
||||
data := []byte(`{
|
||||
accountunlockrequest := []byte(`{
|
||||
"forceProvisioning" : false,
|
||||
"externalVerificationId" : "3f9180835d2e5168015d32f890ca1581",
|
||||
"unlockIDNAccount" : false
|
||||
@@ -1187,7 +1187,7 @@ func main() {
|
||||
|
||||
|
||||
var accountUnlockRequest beta.AccountUnlockRequest
|
||||
if err := json.Unmarshal(data, &accountUnlockRequest); err != nil {
|
||||
if err := json.Unmarshal(accountunlockrequest, &accountUnlockRequest); err != nil {
|
||||
fmt.Println("Error:", err)
|
||||
return
|
||||
}
|
||||
@@ -1271,11 +1271,11 @@ import (
|
||||
|
||||
func main() {
|
||||
id := `ef38f94347e94562b5bb8424a56397d8` // string | Account ID. # string | Account ID.
|
||||
requestBody := fmt.Sprintf(`{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.
|
||||
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
|
||||
if err := json.Unmarshal(data, &requestBody); err != nil {
|
||||
var requestBody beta.[]RequestBody
|
||||
if err := json.Unmarshal(requestbody, &requestBody); err != nil {
|
||||
fmt.Println("Error:", err)
|
||||
return
|
||||
}
|
||||
|
||||
@@ -270,7 +270,7 @@ import (
|
||||
|
||||
func main() {
|
||||
id := `123e4567-e89b-12d3-a456-426655440000` // string | Discovered application's ID. # string | Discovered application's ID.
|
||||
jsonPatchOperations := fmt.Sprintf(`[{op=replace, path=/dismissed, value=true}]`) // []JsonPatchOperations | (optional)
|
||||
jsonpatchoperations := []byte(`[{op=replace, path=/dismissed, value=true}]`) // []JsonPatchOperations | (optional)
|
||||
|
||||
|
||||
|
||||
|
||||
@@ -76,7 +76,7 @@ import (
|
||||
)
|
||||
|
||||
func main() {
|
||||
data := []byte(`{
|
||||
sourceappcreatedto := []byte(`{
|
||||
"name" : "my app",
|
||||
"description" : "the source app for engineers",
|
||||
"accountSource" : {
|
||||
@@ -89,7 +89,7 @@ func main() {
|
||||
|
||||
|
||||
var sourceAppCreateDto beta.SourceAppCreateDto
|
||||
if err := json.Unmarshal(data, &sourceAppCreateDto); err != nil {
|
||||
if err := json.Unmarshal(sourceappcreatedto, &sourceAppCreateDto); err != nil {
|
||||
fmt.Println("Error:", err)
|
||||
return
|
||||
}
|
||||
@@ -160,12 +160,12 @@ import (
|
||||
|
||||
func main() {
|
||||
id := `2c91808a7813090a017814121e121518` // string | ID of the source app # string | ID of the source app
|
||||
requestBody := fmt.Sprintf(``) // []string |
|
||||
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
|
||||
if err := json.Unmarshal(data, &requestBody); err != nil {
|
||||
var requestBody beta.[]RequestBody
|
||||
if err := json.Unmarshal(requestbody, &requestBody); err != nil {
|
||||
fmt.Println("Error:", err)
|
||||
return
|
||||
}
|
||||
@@ -862,7 +862,7 @@ import (
|
||||
|
||||
func main() {
|
||||
id := `2c91808a7813090a017814121e121518` // string | ID of the source app to patch # string | ID of the source app to patch
|
||||
jsonPatchOperation := fmt.Sprintf(`[{op=replace, path=/enabled, value=true}, {op=replace, path=/matchAllAccounts, value=true}]`) // []JsonPatchOperation | (optional)
|
||||
jsonpatchoperation := []byte(`[{op=replace, path=/enabled, value=true}, {op=replace, path=/matchAllAccounts, value=true}]`) // []JsonPatchOperation | (optional)
|
||||
|
||||
|
||||
|
||||
@@ -931,7 +931,7 @@ import (
|
||||
|
||||
func main() {
|
||||
id := `2c91808a7813090a017814121e121518` // string | ID of the user app to patch # string | ID of the user app to patch
|
||||
jsonPatchOperation := fmt.Sprintf(``) // []JsonPatchOperation | (optional)
|
||||
jsonpatchoperation := []byte(``) // []JsonPatchOperation | (optional)
|
||||
|
||||
|
||||
|
||||
@@ -995,7 +995,7 @@ import (
|
||||
)
|
||||
|
||||
func main() {
|
||||
data := []byte(`{
|
||||
sourceappbulkupdaterequest := []byte(`{
|
||||
"appIds" : [ "2c91808a7624751a01762f19d665220d", "2c91808a7624751a01762f19d67c220e", "2c91808a7624751a01762f19d692220f" ],
|
||||
"jsonPatch" : [ {
|
||||
"op" : "replace",
|
||||
|
||||
@@ -199,11 +199,11 @@ import (
|
||||
|
||||
func main() {
|
||||
id := `2c91808a7813090a017814121919ecca` // string | ID of the Auth Profile to patch. # string | ID of the Auth Profile to patch.
|
||||
jsonPatchOperation := fmt.Sprintf(``) // []JsonPatchOperation |
|
||||
jsonpatchoperation := []byte(``) // []JsonPatchOperation |
|
||||
|
||||
|
||||
var jsonPatchOperation beta.JsonPatchOperation
|
||||
if err := json.Unmarshal(data, &jsonPatchOperation); err != nil {
|
||||
var jsonPatchOperation beta.[]JsonPatchOperation
|
||||
if err := json.Unmarshal(jsonpatchoperation, &jsonPatchOperation); err != nil {
|
||||
fmt.Println("Error:", err)
|
||||
return
|
||||
}
|
||||
|
||||
@@ -168,7 +168,7 @@ import (
|
||||
|
||||
func main() {
|
||||
id := `ef38f94347e94562b5bb8424a56397d8` // string | Campaign ID. # string | Campaign ID.
|
||||
data := []byte(`{
|
||||
completecampaignoptions := []byte(`{
|
||||
"autoCompleteAction" : "REVOKE"
|
||||
}`) // CompleteCampaignOptions | Optional. Default behavior is for the campaign to auto-approve upon completion, unless autoCompleteAction=REVOKE (optional)
|
||||
|
||||
@@ -238,7 +238,7 @@ import (
|
||||
)
|
||||
|
||||
func main() {
|
||||
data := []byte(`{
|
||||
campaign := []byte(`{
|
||||
"totalCertifications" : 100,
|
||||
"sourcesWithOrphanEntitlements" : [ {
|
||||
"name" : "Source with orphan entitlements",
|
||||
@@ -350,7 +350,7 @@ func main() {
|
||||
|
||||
|
||||
var campaign beta.Campaign
|
||||
if err := json.Unmarshal(data, &campaign); err != nil {
|
||||
if err := json.Unmarshal(campaign, &campaign); err != nil {
|
||||
fmt.Println("Error:", err)
|
||||
return
|
||||
}
|
||||
@@ -421,7 +421,7 @@ import (
|
||||
)
|
||||
|
||||
func main() {
|
||||
data := []byte(`{
|
||||
campaigntemplate := []byte(`{
|
||||
"ownerRef" : {
|
||||
"name" : "Mister Manager",
|
||||
"id" : "2c918086676d3e0601677611dbde220f",
|
||||
@@ -548,7 +548,7 @@ func main() {
|
||||
|
||||
|
||||
var campaignTemplate beta.CampaignTemplate
|
||||
if err := json.Unmarshal(data, &campaignTemplate); err != nil {
|
||||
if err := json.Unmarshal(campaigntemplate, &campaignTemplate); err != nil {
|
||||
fmt.Println("Error:", err)
|
||||
return
|
||||
}
|
||||
@@ -758,13 +758,13 @@ import (
|
||||
)
|
||||
|
||||
func main() {
|
||||
data := []byte(`{
|
||||
deletecampaignsrequest := []byte(`{
|
||||
"ids" : [ "2c9180887335cee10173490db1776c26", "2c9180836a712436016a7125a90c0021" ]
|
||||
}`) // DeleteCampaignsRequest | IDs of the campaigns to delete.
|
||||
|
||||
|
||||
var deleteCampaignsRequest beta.DeleteCampaignsRequest
|
||||
if err := json.Unmarshal(data, &deleteCampaignsRequest); err != nil {
|
||||
if err := json.Unmarshal(deletecampaignsrequest, &deleteCampaignsRequest); err != nil {
|
||||
fmt.Println("Error:", err)
|
||||
return
|
||||
}
|
||||
@@ -1347,7 +1347,7 @@ import (
|
||||
|
||||
func main() {
|
||||
id := `ef38f94347e94562b5bb8424a56397d8` // string | The certification campaign ID # string | The certification campaign ID
|
||||
data := []byte(`{
|
||||
adminreviewreassign := []byte(`{
|
||||
"certificationIds" : [ "af3859464779471211bb8424a563abc1", "af3859464779471211bb8424a563abc2", "af3859464779471211bb8424a563abc3" ],
|
||||
"reason" : "reassigned for some reason",
|
||||
"reassignTo" : {
|
||||
@@ -1358,7 +1358,7 @@ func main() {
|
||||
|
||||
|
||||
var adminReviewReassign beta.AdminReviewReassign
|
||||
if err := json.Unmarshal(data, &adminReviewReassign); err != nil {
|
||||
if err := json.Unmarshal(adminreviewreassign, &adminReviewReassign); err != nil {
|
||||
fmt.Println("Error:", err)
|
||||
return
|
||||
}
|
||||
@@ -1434,11 +1434,11 @@ import (
|
||||
|
||||
func main() {
|
||||
id := `2c9180835d191a86015d28455b4a2329` // string | ID of the campaign template being modified. # string | ID of the campaign template being modified.
|
||||
jsonPatchOperation := fmt.Sprintf(`[{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)
|
||||
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
|
||||
if err := json.Unmarshal(data, &jsonPatchOperation); err != nil {
|
||||
var jsonPatchOperation beta.[]JsonPatchOperation
|
||||
if err := json.Unmarshal(jsonpatchoperation, &jsonPatchOperation); err != nil {
|
||||
fmt.Println("Error:", err)
|
||||
return
|
||||
}
|
||||
@@ -1508,13 +1508,13 @@ import (
|
||||
)
|
||||
|
||||
func main() {
|
||||
data := []byte(`{
|
||||
campaignreportsconfig := []byte(`{
|
||||
"identityAttributeColumns" : [ "firstname", "lastname" ]
|
||||
}`) // CampaignReportsConfig | Campaign report configuration.
|
||||
|
||||
|
||||
var campaignReportsConfig beta.CampaignReportsConfig
|
||||
if err := json.Unmarshal(data, &campaignReportsConfig); err != nil {
|
||||
if err := json.Unmarshal(campaignreportsconfig, &campaignReportsConfig); err != nil {
|
||||
fmt.Println("Error:", err)
|
||||
return
|
||||
}
|
||||
@@ -1591,7 +1591,7 @@ import (
|
||||
|
||||
func main() {
|
||||
id := `04bedce387bd47b2ae1f86eb0bb36dee` // string | ID of the campaign template being scheduled. # string | ID of the campaign template being scheduled.
|
||||
data := []byte(`{
|
||||
schedule := []byte(`{
|
||||
"hours" : {
|
||||
"values" : [ "1" ],
|
||||
"interval" : 2,
|
||||
@@ -1682,7 +1682,7 @@ import (
|
||||
|
||||
func main() {
|
||||
id := `ef38f94347e94562b5bb8424a56397d8` // string | Campaign ID. # string | Campaign ID.
|
||||
data := []byte(`{
|
||||
activatecampaignoptions := []byte(`{
|
||||
"timeZone" : "-05:00"
|
||||
}`) // ActivateCampaignOptions | Optional. If no timezone is specified, the standard UTC timezone is used (i.e. UTC+00:00). Although this can take any timezone, the intended value is the caller's timezone. The activation time calculated from the given timezone may cause the campaign deadline time to be modified, but it will remain within the original date. The timezone must be in a valid ISO 8601 format. (optional)
|
||||
|
||||
@@ -1989,11 +1989,11 @@ import (
|
||||
|
||||
func main() {
|
||||
id := `2c91808571bcfcf80171c23e4b4221fc` // string | ID of the campaign being modified. # string | ID of the campaign being modified.
|
||||
requestBody := fmt.Sprintf(`[{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
|
||||
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
|
||||
if err := json.Unmarshal(data, &requestBody); err != nil {
|
||||
var requestBody beta.[]RequestBody
|
||||
if err := json.Unmarshal(requestbody, &requestBody); err != nil {
|
||||
fmt.Println("Error:", err)
|
||||
return
|
||||
}
|
||||
|
||||
@@ -456,7 +456,7 @@ import (
|
||||
|
||||
func main() {
|
||||
id := `ef38f94347e94562b5bb8424a56397d8` // string | The identity campaign certification ID # string | The identity campaign certification ID
|
||||
data := []byte(`{
|
||||
reviewreassign := []byte(`{
|
||||
"reason" : "reassigned for some reason",
|
||||
"reassignTo" : "ef38f94347e94562b5bb8424a56397d8",
|
||||
"reassign" : [ {
|
||||
@@ -470,7 +470,7 @@ func main() {
|
||||
|
||||
|
||||
var reviewReassign beta.ReviewReassign
|
||||
if err := json.Unmarshal(data, &reviewReassign); err != nil {
|
||||
if err := json.Unmarshal(reviewreassign, &reviewReassign); err != nil {
|
||||
fmt.Println("Error:", err)
|
||||
return
|
||||
}
|
||||
|
||||
@@ -73,7 +73,7 @@ import (
|
||||
)
|
||||
|
||||
func main() {
|
||||
data := []byte(`{
|
||||
connectorrulecreaterequest := []byte(`{
|
||||
"sourceCode" : {
|
||||
"version" : "1.0",
|
||||
"script" : "return \"Mr. \" + firstName;"
|
||||
@@ -102,7 +102,7 @@ func main() {
|
||||
|
||||
|
||||
var connectorRuleCreateRequest beta.ConnectorRuleCreateRequest
|
||||
if err := json.Unmarshal(data, &connectorRuleCreateRequest); err != nil {
|
||||
if err := json.Unmarshal(connectorrulecreaterequest, &connectorRuleCreateRequest); err != nil {
|
||||
fmt.Println("Error:", err)
|
||||
return
|
||||
}
|
||||
@@ -363,7 +363,7 @@ import (
|
||||
|
||||
func main() {
|
||||
id := `8c190e6787aa4ed9a90bd9d5344523fb` // string | ID of the connector rule to update # string | ID of the connector rule to update
|
||||
data := []byte(`{
|
||||
connectorruleupdaterequest := []byte(`{
|
||||
"sourceCode" : {
|
||||
"version" : "1.0",
|
||||
"script" : "return \"Mr. \" + firstName;"
|
||||
@@ -452,14 +452,14 @@ import (
|
||||
)
|
||||
|
||||
func main() {
|
||||
data := []byte(`{
|
||||
sourcecode := []byte(`{
|
||||
"version" : "1.0",
|
||||
"script" : "return \"Mr. \" + firstName;"
|
||||
}`) // SourceCode | The code to validate
|
||||
|
||||
|
||||
var sourceCode beta.SourceCode
|
||||
if err := json.Unmarshal(data, &sourceCode); err != nil {
|
||||
if err := json.Unmarshal(sourcecode, &sourceCode); err != nil {
|
||||
fmt.Println("Error:", err)
|
||||
return
|
||||
}
|
||||
|
||||
@@ -87,7 +87,7 @@ import (
|
||||
)
|
||||
|
||||
func main() {
|
||||
data := []byte(`{
|
||||
createformdefinitionrequest := []byte(`{
|
||||
"owner" : {
|
||||
"name" : "Grant Smith",
|
||||
"id" : "2c9180867624cbd7017642d8c8c81f67",
|
||||
@@ -259,7 +259,7 @@ import (
|
||||
)
|
||||
|
||||
func main() {
|
||||
data := []byte(`{
|
||||
createformdefinitionrequest := []byte(`{
|
||||
"owner" : {
|
||||
"name" : "Grant Smith",
|
||||
"id" : "2c9180867624cbd7017642d8c8c81f67",
|
||||
@@ -431,7 +431,7 @@ import (
|
||||
)
|
||||
|
||||
func main() {
|
||||
data := []byte(`{
|
||||
body := []byte(`{
|
||||
"description" : "A description",
|
||||
"attributes" : {
|
||||
"formDefinitionId" : "00000000-0000-0000-0000-000000000000"
|
||||
@@ -569,7 +569,7 @@ import (
|
||||
)
|
||||
|
||||
func main() {
|
||||
data := []byte(`{
|
||||
body := []byte(`{
|
||||
"formInput" : {
|
||||
"input1" : "Sales"
|
||||
},
|
||||
@@ -1055,7 +1055,7 @@ import (
|
||||
)
|
||||
|
||||
func main() {
|
||||
body := fmt.Sprintf(`[{version=1, self={name=All fields not required, id=05ed4edb-d0a9-41d9-ad0c-2f6e486ec4aa, type=FORM_DEFINITION}, object={id=05ed4edb-d0a9-41d9-ad0c-2f6e486ec4aa, name=All fields not required, description=description, owner={type=IDENTITY, id=3447d8ec2602455ab6f1e8408a0f0150}, usedBy=[{type=WORKFLOW, id=5008594c-dacc-4295-8fee-41df60477304}, {type=WORKFLOW, id=97e75a75-c179-4fbc-a2da-b5fa4aaa8743}], formInput=[{type=STRING, label=input1, description=A single dynamic scalar value (i.e. number, string, date, etc) that can be passed into the form for use in conditional logic}], formElements=[{id=3069272797630701, elementType=SECTION, config={label=First Section, formElements=[{id=3069272797630700, elementType=TEXT, key=firstName, config={label=First Name}}, {id=3498415402897539, elementType=TEXT, key=lastName, config={label=Last Name}}]}}], formConditions=[{ruleOperator=AND, rules=[{sourceType=INPUT, source=Department, operator=EQ, valueType=STRING, value=Sales}], effects=[{effectType=HIDE, config={element=2614088730489570}}]}], created=2022-10-04T19:27:04.456Z, modified=2022-11-16T20:45:02.172Z}}]`) // []ImportFormDefinitionsRequestInner | Body is the request payload to import form definitions (optional)
|
||||
body := []byte(`[{version=1, self={name=All fields not required, id=05ed4edb-d0a9-41d9-ad0c-2f6e486ec4aa, type=FORM_DEFINITION}, object={id=05ed4edb-d0a9-41d9-ad0c-2f6e486ec4aa, name=All fields not required, description=description, owner={type=IDENTITY, id=3447d8ec2602455ab6f1e8408a0f0150}, usedBy=[{type=WORKFLOW, id=5008594c-dacc-4295-8fee-41df60477304}, {type=WORKFLOW, id=97e75a75-c179-4fbc-a2da-b5fa4aaa8743}], formInput=[{type=STRING, label=input1, description=A single dynamic scalar value (i.e. number, string, date, etc) that can be passed into the form for use in conditional logic}], formElements=[{id=3069272797630701, elementType=SECTION, config={label=First Section, formElements=[{id=3069272797630700, elementType=TEXT, key=firstName, config={label=First Name}}, {id=3498415402897539, elementType=TEXT, key=lastName, config={label=Last Name}}]}}], formConditions=[{ruleOperator=AND, rules=[{sourceType=INPUT, source=Department, operator=EQ, valueType=STRING, value=Sales}], effects=[{effectType=HIDE, config={element=2614088730489570}}]}], created=2022-10-04T19:27:04.456Z, modified=2022-11-16T20:45:02.172Z}}]`) // []ImportFormDefinitionsRequestInner | Body is the request payload to import form definitions (optional)
|
||||
|
||||
|
||||
|
||||
@@ -1123,7 +1123,7 @@ import (
|
||||
|
||||
func main() {
|
||||
formDefinitionID := `00000000-0000-0000-0000-000000000000` // string | Form definition ID # string | Form definition ID
|
||||
body := fmt.Sprintf(`[{op=replace, path=/description, value=test-description}]`) // []map[string]map[string]interface{} | Body is the request payload to patch a form definition, check: https://jsonpatch.com (optional)
|
||||
body := []byte(`[{op=replace, path=/description, value=test-description}]`) // []map[string]map[string]interface{} | Body is the request payload to patch a form definition, check: https://jsonpatch.com (optional)
|
||||
|
||||
|
||||
|
||||
@@ -1191,7 +1191,7 @@ import (
|
||||
|
||||
func main() {
|
||||
formInstanceID := `00000000-0000-0000-0000-000000000000` // string | Form instance ID # string | Form instance ID
|
||||
body := fmt.Sprintf(`[{op=replace, path=/state, value=SUBMITTED}, {op=replace, path=/formData, value={a-key-1=a-value-1, a-key-2=true, a-key-3=1}}]`) // []map[string]map[string]interface{} | Body is the request payload to patch a form instance, check: https://jsonpatch.com (optional)
|
||||
body := []byte(`[{op=replace, path=/state, value=SUBMITTED}, {op=replace, path=/formData, value={a-key-1=a-value-1, a-key-2=true, a-key-3=1}}]`) // []map[string]map[string]interface{} | Body is the request payload to patch a form instance, check: https://jsonpatch.com (optional)
|
||||
|
||||
|
||||
|
||||
@@ -1523,7 +1523,7 @@ func main() {
|
||||
limit := 10 // int64 | Limit Integer specifying the maximum number of records to return in a single API call. The standard syntax described in [V3 API Standard Collection Parameters](https://developer.sailpoint.com/idn/api/standard-collection-parameters#paginating-results). If it is not specified, a default limit is used. (optional) (default to 10) # int64 | Limit Integer specifying the maximum number of records to return in a single API call. The standard syntax described in [V3 API Standard Collection Parameters](https://developer.sailpoint.com/idn/api/standard-collection-parameters#paginating-results). If it is not specified, a default limit is used. (optional) (default to 10)
|
||||
filters := `value eq "ID01"` // string | Filter results using the standard syntax described in [V3 API Standard Collection Parameters](https://developer.sailpoint.com/idn/api/standard-collection-parameters#filtering-results) Filtering is supported for the following fields and operators: **value**: *eq, ne, in* Supported composite operators: *not* Only a single *not* may be used, and it can only be used with the `in` operator. The `not` composite operator must be used in front of the field. For example, the following is valid: `not value in (\"ID01\")` (optional) # string | Filter results using the standard syntax described in [V3 API Standard Collection Parameters](https://developer.sailpoint.com/idn/api/standard-collection-parameters#filtering-results) Filtering is supported for the following fields and operators: **value**: *eq, ne, in* Supported composite operators: *not* Only a single *not* may be used, and it can only be used with the `in` operator. The `not` composite operator must be used in front of the field. For example, the following is valid: `not value in (\"ID01\")` (optional)
|
||||
query := `ac` // string | String that is passed to the underlying API to filter other (non-ID) fields. For example, for access profile data sources, this string will be passed to the access profile api and used with a \"starts with\" filter against several fields. (optional) # string | String that is passed to the underlying API to filter other (non-ID) fields. For example, for access profile data sources, this string will be passed to the access profile api and used with a \"starts with\" filter against several fields. (optional)
|
||||
data := []byte(`{
|
||||
formelementpreviewrequest := []byte(`{
|
||||
"dataSource" : {
|
||||
"config" : {
|
||||
"indices" : [ "identities" ],
|
||||
|
||||
@@ -74,7 +74,7 @@ import (
|
||||
)
|
||||
|
||||
func main() {
|
||||
data := []byte(`{
|
||||
custompasswordinstruction := []byte(`{
|
||||
"pageContent" : "Please enter a new password. Your password must be at least 8 characters long and contain at least one number and one letter.",
|
||||
"pageId" : "change-password:enter-password",
|
||||
"locale" : "en"
|
||||
@@ -82,7 +82,7 @@ func main() {
|
||||
|
||||
|
||||
var customPasswordInstruction beta.CustomPasswordInstruction
|
||||
if err := json.Unmarshal(data, &customPasswordInstruction); err != nil {
|
||||
if err := json.Unmarshal(custompasswordinstruction, &customPasswordInstruction); err != nil {
|
||||
fmt.Println("Error:", err)
|
||||
return
|
||||
}
|
||||
|
||||
@@ -716,7 +716,7 @@ import (
|
||||
|
||||
func main() {
|
||||
id := `2c91808a7813090a017814121e121518` // string | ID of the entitlement to patch # string | ID of the entitlement to patch
|
||||
jsonPatchOperation := fmt.Sprintf(`[{op=replace, path=/requestable, value=true}, {op=replace, path=/privileged, value=true}]`) // []JsonPatchOperation | (optional)
|
||||
jsonpatchoperation := []byte(`[{op=replace, path=/requestable, value=true}, {op=replace, path=/privileged, value=true}]`) // []JsonPatchOperation | (optional)
|
||||
|
||||
|
||||
|
||||
@@ -784,7 +784,7 @@ import (
|
||||
|
||||
func main() {
|
||||
id := `2c91808a7813090a017814121e121518` // string | Entitlement ID # string | Entitlement ID
|
||||
data := []byte(`{
|
||||
entitlementrequestconfig := []byte(`{
|
||||
"accessRequestConfig" : {
|
||||
"denialCommentRequired" : false,
|
||||
"approvalSchemes" : [ {
|
||||
@@ -800,7 +800,7 @@ func main() {
|
||||
|
||||
|
||||
var entitlementRequestConfig beta.EntitlementRequestConfig
|
||||
if err := json.Unmarshal(data, &entitlementRequestConfig); err != nil {
|
||||
if err := json.Unmarshal(entitlementrequestconfig, &entitlementRequestConfig); err != nil {
|
||||
fmt.Println("Error:", err)
|
||||
return
|
||||
}
|
||||
@@ -944,7 +944,7 @@ import (
|
||||
)
|
||||
|
||||
func main() {
|
||||
data := []byte(`{
|
||||
entitlementbulkupdaterequest := []byte(`{
|
||||
"entitlementIds" : [ "2c91808a7624751a01762f19d665220d", "2c91808a7624751a01762f19d67c220e", "2c91808a7624751a01762f19d692220f" ],
|
||||
"jsonPatch" : [ {
|
||||
"op" : "replace",
|
||||
@@ -959,7 +959,7 @@ func main() {
|
||||
|
||||
|
||||
var entitlementBulkUpdateRequest beta.EntitlementBulkUpdateRequest
|
||||
if err := json.Unmarshal(data, &entitlementBulkUpdateRequest); err != nil {
|
||||
if err := json.Unmarshal(entitlementbulkupdaterequest, &entitlementBulkUpdateRequest); err != nil {
|
||||
fmt.Println("Error:", err)
|
||||
return
|
||||
}
|
||||
|
||||
@@ -75,7 +75,7 @@ import (
|
||||
)
|
||||
|
||||
func main() {
|
||||
data := []byte(`{
|
||||
workgroupdto := []byte(`{
|
||||
"owner" : {
|
||||
"emailAddress" : "support@sailpoint.com",
|
||||
"displayName" : "Support",
|
||||
@@ -94,7 +94,7 @@ func main() {
|
||||
|
||||
|
||||
var workgroupDto beta.WorkgroupDto
|
||||
if err := json.Unmarshal(data, &workgroupDto); err != nil {
|
||||
if err := json.Unmarshal(workgroupdto, &workgroupDto); err != nil {
|
||||
fmt.Println("Error:", err)
|
||||
return
|
||||
}
|
||||
@@ -232,11 +232,11 @@ import (
|
||||
|
||||
func main() {
|
||||
workgroupId := `2c91808a7813090a017814121919ecca` // string | ID of the Governance Group. # string | ID of the Governance Group.
|
||||
bulkWorkgroupMembersRequestInner := fmt.Sprintf(``) // []BulkWorkgroupMembersRequestInner | List of identities to be removed from a Governance Group members list.
|
||||
bulkworkgroupmembersrequestinner := []byte(``) // []BulkWorkgroupMembersRequestInner | List of identities to be removed from a Governance Group members list.
|
||||
|
||||
|
||||
var bulkWorkgroupMembersRequestInner beta.BulkWorkgroupMembersRequestInner
|
||||
if err := json.Unmarshal(data, &bulkWorkgroupMembersRequestInner); err != nil {
|
||||
var bulkWorkgroupMembersRequestInner beta.[]BulkWorkgroupMembersRequestInner
|
||||
if err := json.Unmarshal(bulkworkgroupmembersrequestinner, &bulkWorkgroupMembersRequestInner); err != nil {
|
||||
fmt.Println("Error:", err)
|
||||
return
|
||||
}
|
||||
@@ -311,13 +311,13 @@ import (
|
||||
)
|
||||
|
||||
func main() {
|
||||
data := []byte(`{
|
||||
workgroupbulkdeleterequest := []byte(`{
|
||||
"ids" : [ "567a697e-885b-495a-afc5-d55e1c23a302", "c7b0f7b2-1e78-4063-b294-a555333dacd2" ]
|
||||
}`) // WorkgroupBulkDeleteRequest |
|
||||
|
||||
|
||||
var workgroupBulkDeleteRequest beta.WorkgroupBulkDeleteRequest
|
||||
if err := json.Unmarshal(data, &workgroupBulkDeleteRequest); err != nil {
|
||||
if err := json.Unmarshal(workgroupbulkdeleterequest, &workgroupBulkDeleteRequest); err != nil {
|
||||
fmt.Println("Error:", err)
|
||||
return
|
||||
}
|
||||
@@ -677,7 +677,7 @@ import (
|
||||
|
||||
func main() {
|
||||
id := `2c9180837ca6693d017ca8d097500149` // string | ID of the Governance Group # string | ID of the Governance Group
|
||||
jsonPatchOperation := fmt.Sprintf(`[{op=replace, path=/description, value=Governance Group new description.}]`) // []JsonPatchOperation | (optional)
|
||||
jsonpatchoperation := []byte(`[{op=replace, path=/description, value=Governance Group new description.}]`) // []JsonPatchOperation | (optional)
|
||||
|
||||
|
||||
|
||||
@@ -749,11 +749,11 @@ import (
|
||||
|
||||
func main() {
|
||||
workgroupId := `2c91808a7813090a017814121919ecca` // string | ID of the Governance Group. # string | ID of the Governance Group.
|
||||
bulkWorkgroupMembersRequestInner := fmt.Sprintf(``) // []BulkWorkgroupMembersRequestInner | List of identities to be added to a Governance Group members list.
|
||||
bulkworkgroupmembersrequestinner := []byte(``) // []BulkWorkgroupMembersRequestInner | List of identities to be added to a Governance Group members list.
|
||||
|
||||
|
||||
var bulkWorkgroupMembersRequestInner beta.BulkWorkgroupMembersRequestInner
|
||||
if err := json.Unmarshal(data, &bulkWorkgroupMembersRequestInner); err != nil {
|
||||
var bulkWorkgroupMembersRequestInner beta.[]BulkWorkgroupMembersRequestInner
|
||||
if err := json.Unmarshal(bulkworkgroupmembersrequestinner, &bulkWorkgroupMembersRequestInner); err != nil {
|
||||
fmt.Println("Error:", err)
|
||||
return
|
||||
}
|
||||
|
||||
@@ -68,7 +68,7 @@ import (
|
||||
)
|
||||
|
||||
func main() {
|
||||
data := []byte(`{
|
||||
accessrequestrecommendationactionitemdto := []byte(`{
|
||||
"access" : {
|
||||
"id" : "2c9180835d2e5168015d32f890ca1581",
|
||||
"type" : "ACCESS_PROFILE"
|
||||
@@ -78,7 +78,7 @@ func main() {
|
||||
|
||||
|
||||
var accessRequestRecommendationActionItemDto beta.AccessRequestRecommendationActionItemDto
|
||||
if err := json.Unmarshal(data, &accessRequestRecommendationActionItemDto); err != nil {
|
||||
if err := json.Unmarshal(accessrequestrecommendationactionitemdto, &accessRequestRecommendationActionItemDto); err != nil {
|
||||
fmt.Println("Error:", err)
|
||||
return
|
||||
}
|
||||
@@ -142,7 +142,7 @@ import (
|
||||
)
|
||||
|
||||
func main() {
|
||||
data := []byte(`{
|
||||
accessrequestrecommendationactionitemdto := []byte(`{
|
||||
"access" : {
|
||||
"id" : "2c9180835d2e5168015d32f890ca1581",
|
||||
"type" : "ACCESS_PROFILE"
|
||||
@@ -152,7 +152,7 @@ func main() {
|
||||
|
||||
|
||||
var accessRequestRecommendationActionItemDto beta.AccessRequestRecommendationActionItemDto
|
||||
if err := json.Unmarshal(data, &accessRequestRecommendationActionItemDto); err != nil {
|
||||
if err := json.Unmarshal(accessrequestrecommendationactionitemdto, &accessRequestRecommendationActionItemDto); err != nil {
|
||||
fmt.Println("Error:", err)
|
||||
return
|
||||
}
|
||||
@@ -216,7 +216,7 @@ import (
|
||||
)
|
||||
|
||||
func main() {
|
||||
data := []byte(`{
|
||||
accessrequestrecommendationactionitemdto := []byte(`{
|
||||
"access" : {
|
||||
"id" : "2c9180835d2e5168015d32f890ca1581",
|
||||
"type" : "ACCESS_PROFILE"
|
||||
@@ -226,7 +226,7 @@ func main() {
|
||||
|
||||
|
||||
var accessRequestRecommendationActionItemDto beta.AccessRequestRecommendationActionItemDto
|
||||
if err := json.Unmarshal(data, &accessRequestRecommendationActionItemDto); err != nil {
|
||||
if err := json.Unmarshal(accessrequestrecommendationactionitemdto, &accessRequestRecommendationActionItemDto); err != nil {
|
||||
fmt.Println("Error:", err)
|
||||
return
|
||||
}
|
||||
@@ -290,11 +290,11 @@ import (
|
||||
)
|
||||
|
||||
func main() {
|
||||
accessRequestRecommendationActionItemDto := fmt.Sprintf(``) // []AccessRequestRecommendationActionItemDto | The recommended access items that were viewed for an identity.
|
||||
accessrequestrecommendationactionitemdto := []byte(``) // []AccessRequestRecommendationActionItemDto | The recommended access items that were viewed for an identity.
|
||||
|
||||
|
||||
var accessRequestRecommendationActionItemDto beta.AccessRequestRecommendationActionItemDto
|
||||
if err := json.Unmarshal(data, &accessRequestRecommendationActionItemDto); err != nil {
|
||||
var accessRequestRecommendationActionItemDto beta.[]AccessRequestRecommendationActionItemDto
|
||||
if err := json.Unmarshal(accessrequestrecommendationactionitemdto, &accessRequestRecommendationActionItemDto); err != nil {
|
||||
fmt.Println("Error:", err)
|
||||
return
|
||||
}
|
||||
|
||||
@@ -63,7 +63,7 @@ import (
|
||||
)
|
||||
|
||||
func main() {
|
||||
data := []byte(`{
|
||||
commonaccessitemrequest := []byte(`{
|
||||
"access" : {
|
||||
"ownerName" : "ownerName",
|
||||
"name" : "name",
|
||||
@@ -77,7 +77,7 @@ func main() {
|
||||
|
||||
|
||||
var commonAccessItemRequest beta.CommonAccessItemRequest
|
||||
if err := json.Unmarshal(data, &commonAccessItemRequest); err != nil {
|
||||
if err := json.Unmarshal(commonaccessitemrequest, &commonAccessItemRequest); err != nil {
|
||||
fmt.Println("Error:", err)
|
||||
return
|
||||
}
|
||||
@@ -211,11 +211,11 @@ import (
|
||||
)
|
||||
|
||||
func main() {
|
||||
commonAccessIDStatus := fmt.Sprintf(``) // []CommonAccessIDStatus | Confirm or deny in bulk the common access ids that are (or aren't) common access
|
||||
commonaccessidstatus := []byte(``) // []CommonAccessIDStatus | Confirm or deny in bulk the common access ids that are (or aren't) common access
|
||||
|
||||
|
||||
var commonAccessIDStatus beta.CommonAccessIDStatus
|
||||
if err := json.Unmarshal(data, &commonAccessIDStatus); err != nil {
|
||||
var commonAccessIDStatus beta.[]CommonAccessIDStatus
|
||||
if err := json.Unmarshal(commonaccessidstatus, &commonAccessIDStatus); err != nil {
|
||||
fmt.Println("Error:", err)
|
||||
return
|
||||
}
|
||||
|
||||
@@ -486,11 +486,11 @@ import (
|
||||
)
|
||||
|
||||
func main() {
|
||||
requestBody := fmt.Sprintf(``) // []string |
|
||||
requestbody := []byte(``) // []string |
|
||||
|
||||
|
||||
var requestBody beta.RequestBody
|
||||
if err := json.Unmarshal(data, &requestBody); err != nil {
|
||||
var requestBody beta.[]RequestBody
|
||||
if err := json.Unmarshal(requestbody, &requestBody); err != nil {
|
||||
fmt.Println("Error:", err)
|
||||
return
|
||||
}
|
||||
@@ -634,11 +634,11 @@ import (
|
||||
)
|
||||
|
||||
func main() {
|
||||
requestBody := fmt.Sprintf(``) // []string |
|
||||
requestbody := []byte(``) // []string |
|
||||
|
||||
|
||||
var requestBody beta.RequestBody
|
||||
if err := json.Unmarshal(data, &requestBody); err != nil {
|
||||
var requestBody beta.[]RequestBody
|
||||
if err := json.Unmarshal(requestbody, &requestBody); err != nil {
|
||||
fmt.Println("Error:", err)
|
||||
return
|
||||
}
|
||||
|
||||
@@ -63,7 +63,7 @@ import (
|
||||
)
|
||||
|
||||
func main() {
|
||||
data := []byte(`{
|
||||
recommendationrequestdto := []byte(`{
|
||||
"prescribeMode" : false,
|
||||
"excludeInterpretations" : false,
|
||||
"requests" : [ {
|
||||
@@ -85,7 +85,7 @@ func main() {
|
||||
|
||||
|
||||
var recommendationRequestDto beta.RecommendationRequestDto
|
||||
if err := json.Unmarshal(data, &recommendationRequestDto); err != nil {
|
||||
if err := json.Unmarshal(recommendationrequestdto, &recommendationRequestDto); err != nil {
|
||||
fmt.Println("Error:", err)
|
||||
return
|
||||
}
|
||||
@@ -206,7 +206,7 @@ import (
|
||||
)
|
||||
|
||||
func main() {
|
||||
data := []byte(`{
|
||||
recommendationconfigdto := []byte(`{
|
||||
"recommenderFeatures" : [ "jobTitle", "location", "peer_group", "department", "active" ],
|
||||
"peerGroupPercentageThreshold" : 0.5,
|
||||
"runAutoSelectOnce" : false,
|
||||
@@ -215,7 +215,7 @@ func main() {
|
||||
|
||||
|
||||
var recommendationConfigDto beta.RecommendationConfigDto
|
||||
if err := json.Unmarshal(data, &recommendationConfigDto); err != nil {
|
||||
if err := json.Unmarshal(recommendationconfigdto, &recommendationConfigDto); err != nil {
|
||||
fmt.Println("Error:", err)
|
||||
return
|
||||
}
|
||||
|
||||
@@ -98,7 +98,7 @@ func main() {
|
||||
potentialRoleId := `8c190e67-87aa-4ed9-a90b-d9d5344523fb` // string | A potential role id in a role mining session # string | A potential role id in a role mining session
|
||||
minEntitlementPopularity := 56 // int32 | Minimum popularity required for an entitlement to be included in the provisioned role. (optional) (default to 0) # int32 | Minimum popularity required for an entitlement to be included in the provisioned role. (optional) (default to 0)
|
||||
includeCommonAccess := true // bool | Boolean determining whether common access entitlements will be included in the provisioned role. (optional) (default to true) # bool | Boolean determining whether common access entitlements will be included in the provisioned role. (optional) (default to true)
|
||||
data := []byte(`{
|
||||
roleminingpotentialroleprovisionrequest := []byte(`{
|
||||
"includeIdentities" : true,
|
||||
"roleName" : "Finance - Accounting",
|
||||
"ownerId" : "2b568c65bc3c4c57a43bd97e3a8e41",
|
||||
@@ -166,7 +166,7 @@ import (
|
||||
)
|
||||
|
||||
func main() {
|
||||
data := []byte(`{
|
||||
roleminingsessiondto := []byte(`{
|
||||
"emailRecipientId" : "2c918090761a5aac0176215c46a62d58",
|
||||
"prescribedPruneThreshold" : 10,
|
||||
"pruneThreshold" : 50,
|
||||
@@ -201,7 +201,7 @@ func main() {
|
||||
|
||||
|
||||
var roleMiningSessionDto beta.RoleMiningSessionDto
|
||||
if err := json.Unmarshal(data, &roleMiningSessionDto); err != nil {
|
||||
if err := json.Unmarshal(roleminingsessiondto, &roleMiningSessionDto); err != nil {
|
||||
fmt.Println("Error:", err)
|
||||
return
|
||||
}
|
||||
@@ -415,7 +415,7 @@ import (
|
||||
func main() {
|
||||
sessionId := `8c190e67-87aa-4ed9-a90b-d9d5344523fb` // string | The role mining session id # string | The role mining session id
|
||||
potentialRoleId := `278359a6-04b7-4669-9468-924cf580964a` // string | A potential role id in a role mining session # string | A potential role id in a role mining session
|
||||
data := []byte(`{
|
||||
roleminingpotentialroleexportrequest := []byte(`{
|
||||
"minEntitlementPopularity" : 0,
|
||||
"includeCommonAccess" : true
|
||||
}`) // RoleMiningPotentialRoleExportRequest | (optional)
|
||||
@@ -1665,11 +1665,11 @@ import (
|
||||
func main() {
|
||||
sessionId := `8c190e67-87aa-4ed9-a90b-d9d5344523fb` // string | The role mining session id # string | The role mining session id
|
||||
potentialRoleId := `8c190e67-87aa-4ed9-a90b-d9d5344523fb` // string | The potential role summary id # string | The potential role summary id
|
||||
patchPotentialRoleRequestInner := fmt.Sprintf(`[{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 |
|
||||
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
|
||||
if err := json.Unmarshal(data, &patchPotentialRoleRequestInner); err != nil {
|
||||
var patchPotentialRoleRequestInner beta.[]PatchPotentialRoleRequestInner
|
||||
if err := json.Unmarshal(patchpotentialrolerequestinner, &patchPotentialRoleRequestInner); err != nil {
|
||||
fmt.Println("Error:", err)
|
||||
return
|
||||
}
|
||||
@@ -1751,11 +1751,11 @@ import (
|
||||
|
||||
func main() {
|
||||
potentialRoleId := `8c190e67-87aa-4ed9-a90b-d9d5344523fb` // string | The potential role summary id # string | The potential role summary id
|
||||
patchPotentialRoleRequestInner := fmt.Sprintf(`[{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 |
|
||||
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
|
||||
if err := json.Unmarshal(data, &patchPotentialRoleRequestInner); err != nil {
|
||||
var patchPotentialRoleRequestInner beta.[]PatchPotentialRoleRequestInner
|
||||
if err := json.Unmarshal(patchpotentialrolerequestinner, &patchPotentialRoleRequestInner); err != nil {
|
||||
fmt.Println("Error:", err)
|
||||
return
|
||||
}
|
||||
@@ -1825,11 +1825,11 @@ import (
|
||||
|
||||
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 := fmt.Sprintf(`[{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.
|
||||
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
|
||||
if err := json.Unmarshal(data, &jsonPatchOperation); err != nil {
|
||||
var jsonPatchOperation beta.[]JsonPatchOperation
|
||||
if err := json.Unmarshal(jsonpatchoperation, &jsonPatchOperation); err != nil {
|
||||
fmt.Println("Error:", err)
|
||||
return
|
||||
}
|
||||
@@ -1902,14 +1902,14 @@ import (
|
||||
func main() {
|
||||
sessionId := `8c190e67-87aa-4ed9-a90b-d9d5344523fb` // string | The role mining session id # string | The role mining session id
|
||||
potentialRoleId := `8c190e67-87aa-4ed9-a90b-d9d5344523fb` // string | A potential role id in a role mining session # string | A potential role id in a role mining session
|
||||
data := []byte(`{
|
||||
roleminingpotentialroleeditentitlements := []byte(`{
|
||||
"ids" : [ "entId1", "entId2" ],
|
||||
"exclude" : true
|
||||
}`) // RoleMiningPotentialRoleEditEntitlements | Role mining session parameters
|
||||
|
||||
|
||||
var roleMiningPotentialRoleEditEntitlements beta.RoleMiningPotentialRoleEditEntitlements
|
||||
if err := json.Unmarshal(data, &roleMiningPotentialRoleEditEntitlements); err != nil {
|
||||
if err := json.Unmarshal(roleminingpotentialroleeditentitlements, &roleMiningPotentialRoleEditEntitlements); err != nil {
|
||||
fmt.Println("Error:", err)
|
||||
return
|
||||
}
|
||||
|
||||
@@ -566,14 +566,14 @@ import (
|
||||
|
||||
func main() {
|
||||
id := `ef38f94347e94562b5bb8424a56397d8` // string | Identity ID # string | Identity ID
|
||||
data := []byte(`{
|
||||
sendaccountverificationrequest := []byte(`{
|
||||
"sourceName" : "Active Directory Source",
|
||||
"via" : "EMAIL_WORK"
|
||||
}`) // SendAccountVerificationRequest |
|
||||
|
||||
|
||||
var sendAccountVerificationRequest beta.SendAccountVerificationRequest
|
||||
if err := json.Unmarshal(data, &sendAccountVerificationRequest); err != nil {
|
||||
if err := json.Unmarshal(sendaccountverificationrequest, &sendAccountVerificationRequest); err != nil {
|
||||
fmt.Println("Error:", err)
|
||||
return
|
||||
}
|
||||
@@ -640,14 +640,14 @@ import (
|
||||
)
|
||||
|
||||
func main() {
|
||||
data := []byte(`{
|
||||
inviteidentitiesrequest := []byte(`{
|
||||
"ids" : [ "2b568c65bc3c4c57a43bd97e3a8e55", "2c9180867769897d01776ed5f125512f" ],
|
||||
"uninvited" : false
|
||||
}`) // InviteIdentitiesRequest |
|
||||
|
||||
|
||||
var inviteIdentitiesRequest beta.InviteIdentitiesRequest
|
||||
if err := json.Unmarshal(data, &inviteIdentitiesRequest); err != nil {
|
||||
if err := json.Unmarshal(inviteidentitiesrequest, &inviteIdentitiesRequest); err != nil {
|
||||
fmt.Println("Error:", err)
|
||||
return
|
||||
}
|
||||
@@ -721,13 +721,13 @@ import (
|
||||
)
|
||||
|
||||
func main() {
|
||||
data := []byte(`{
|
||||
processidentitiesrequest := []byte(`{
|
||||
"identityIds" : [ "ef38f94347e94562b5bb8424a56397d8", "ef38f94347e94562b5bb8424a56397d8", "ef38f94347e94562b5bb8424a56397d8", "ef38f94347e94562b5bb8424a56397d8", "ef38f94347e94562b5bb8424a56397d8" ]
|
||||
}`) // ProcessIdentitiesRequest |
|
||||
|
||||
|
||||
var processIdentitiesRequest beta.ProcessIdentitiesRequest
|
||||
if err := json.Unmarshal(data, &processIdentitiesRequest); err != nil {
|
||||
if err := json.Unmarshal(processidentitiesrequest, &processIdentitiesRequest); err != nil {
|
||||
fmt.Println("Error:", err)
|
||||
return
|
||||
}
|
||||
|
||||
@@ -66,7 +66,7 @@ import (
|
||||
)
|
||||
|
||||
func main() {
|
||||
data := []byte(`{
|
||||
identityattribute := []byte(`{
|
||||
"standard" : false,
|
||||
"system" : false,
|
||||
"sources" : [ {
|
||||
@@ -91,7 +91,7 @@ func main() {
|
||||
|
||||
|
||||
var identityAttribute beta.IdentityAttribute
|
||||
if err := json.Unmarshal(data, &identityAttribute); err != nil {
|
||||
if err := json.Unmarshal(identityattribute, &identityAttribute); err != nil {
|
||||
fmt.Println("Error:", err)
|
||||
return
|
||||
}
|
||||
@@ -219,13 +219,13 @@ import (
|
||||
)
|
||||
|
||||
func main() {
|
||||
data := []byte(`{
|
||||
identityattributenames := []byte(`{
|
||||
"ids" : [ "name", "displayName" ]
|
||||
}`) // IdentityAttributeNames |
|
||||
|
||||
|
||||
var identityAttributeNames beta.IdentityAttributeNames
|
||||
if err := json.Unmarshal(data, &identityAttributeNames); err != nil {
|
||||
if err := json.Unmarshal(identityattributenames, &identityAttributeNames); err != nil {
|
||||
fmt.Println("Error:", err)
|
||||
return
|
||||
}
|
||||
@@ -427,7 +427,7 @@ import (
|
||||
|
||||
func main() {
|
||||
name := `displayName` // string | The attribute's technical name. # string | The attribute's technical name.
|
||||
data := []byte(`{
|
||||
identityattribute := []byte(`{
|
||||
"standard" : false,
|
||||
"system" : false,
|
||||
"sources" : [ {
|
||||
@@ -452,7 +452,7 @@ func main() {
|
||||
|
||||
|
||||
var identityAttribute beta.IdentityAttribute
|
||||
if err := json.Unmarshal(data, &identityAttribute); err != nil {
|
||||
if err := json.Unmarshal(identityattribute, &identityAttribute); err != nil {
|
||||
fmt.Println("Error:", err)
|
||||
return
|
||||
}
|
||||
|
||||
@@ -84,7 +84,7 @@ func main() {
|
||||
id := `8c190e6787aa4ed9a90bd9d5344523fb` // string | The identity id # string | The identity id
|
||||
snapshot1 := `2007-03-01T13:00:00Z` // string | The snapshot 1 of identity (optional) # string | The snapshot 1 of identity (optional)
|
||||
snapshot2 := `2008-03-01T13:00:00Z` // string | The snapshot 2 of identity (optional) # string | The snapshot 2 of identity (optional)
|
||||
accessItemTypes := fmt.Sprintf(``) // []string | An optional list of access item types (app, account, entitlement, etc...) to return. If null or empty, all access items types are returned (optional)
|
||||
accessitemtypes := []byte(``) // []string | An optional list of access item types (app, account, entitlement, etc...) to return. If null or empty, all access items types are returned (optional)
|
||||
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)
|
||||
offset := 0 // int32 | Offset into the full result set. Usually specified with *limit* to paginate through the results. See [V3 API Standard Collection Parameters](https://developer.sailpoint.com/idn/api/standard-collection-parameters) for more information. (optional) (default to 0) # int32 | Offset into the full result set. Usually specified with *limit* to paginate through the results. See [V3 API Standard Collection Parameters](https://developer.sailpoint.com/idn/api/standard-collection-parameters) for more information. (optional) (default to 0)
|
||||
count := true // bool | If *true* it will populate the *X-Total-Count* response header with the number of results that would be returned if *limit* and *offset* were ignored. Since requesting a total count can have a performance impact, it is recommended not to send **count=true** if that value will not be used. See [V3 API Standard Collection Parameters](https://developer.sailpoint.com/idn/api/standard-collection-parameters) for more information. (optional) (default to false) # bool | If *true* it will populate the *X-Total-Count* response header with the number of results that would be returned if *limit* and *offset* were ignored. Since requesting a total count can have a performance impact, it is recommended not to send **count=true** if that value will not be used. See [V3 API Standard Collection Parameters](https://developer.sailpoint.com/idn/api/standard-collection-parameters) for more information. (optional) (default to false)
|
||||
@@ -308,8 +308,8 @@ import (
|
||||
func main() {
|
||||
id := `8c190e6787aa4ed9a90bd9d5344523fb` // string | The identity id # string | The identity id
|
||||
from := `2024-03-01T13:00:00Z` // string | The optional instant until which access events are returned (optional) # string | The optional instant until which access events are returned (optional)
|
||||
eventTypes := fmt.Sprintf(`[AccessAddedEvent, AccessRemovedEvent]`) // []string | An optional list of event types to return. If null or empty, all events are returned (optional)
|
||||
accessItemTypes := fmt.Sprintf(`[entitlement, account]`) // []string | An optional list of access item types (app, account, entitlement, etc...) to return. If null or empty, all access items types are returned (optional)
|
||||
eventtypes := []byte(`[AccessAddedEvent, AccessRemovedEvent]`) // []string | An optional list of event types to return. If null or empty, all events are returned (optional)
|
||||
accessitemtypes := []byte(`[entitlement, account]`) // []string | An optional list of access item types (app, account, entitlement, etc...) to return. If null or empty, all access items types are returned (optional)
|
||||
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)
|
||||
offset := 0 // int32 | Offset into the full result set. Usually specified with *limit* to paginate through the results. See [V3 API Standard Collection Parameters](https://developer.sailpoint.com/idn/api/standard-collection-parameters) for more information. (optional) (default to 0) # int32 | Offset into the full result set. Usually specified with *limit* to paginate through the results. See [V3 API Standard Collection Parameters](https://developer.sailpoint.com/idn/api/standard-collection-parameters) for more information. (optional) (default to 0)
|
||||
count := true // bool | If *true* it will populate the *X-Total-Count* response header with the number of results that would be returned if *limit* and *offset* were ignored. Since requesting a total count can have a performance impact, it is recommended not to send **count=true** if that value will not be used. See [V3 API Standard Collection Parameters](https://developer.sailpoint.com/idn/api/standard-collection-parameters) for more information. (optional) (default to false) # bool | If *true* it will populate the *X-Total-Count* response header with the number of results that would be returned if *limit* and *offset* were ignored. Since requesting a total count can have a performance impact, it is recommended not to send **count=true** if that value will not be used. See [V3 API Standard Collection Parameters](https://developer.sailpoint.com/idn/api/standard-collection-parameters) for more information. (optional) (default to false)
|
||||
|
||||
@@ -83,7 +83,7 @@ import (
|
||||
)
|
||||
|
||||
func main() {
|
||||
data := []byte(`{
|
||||
identityprofile := []byte(`{
|
||||
"owner" : {
|
||||
"name" : "William Wilson",
|
||||
"id" : "2c9180835d191a86015d28455b4b232a",
|
||||
@@ -135,7 +135,7 @@ func main() {
|
||||
|
||||
|
||||
var identityProfile beta.IdentityProfile
|
||||
if err := json.Unmarshal(data, &identityProfile); err != nil {
|
||||
if err := json.Unmarshal(identityprofile, &identityProfile); err != nil {
|
||||
fmt.Println("Error:", err)
|
||||
return
|
||||
}
|
||||
@@ -273,11 +273,11 @@ import (
|
||||
)
|
||||
|
||||
func main() {
|
||||
requestBody := fmt.Sprintf(``) // []string | Identity Profile bulk delete request body.
|
||||
requestbody := []byte(``) // []string | Identity Profile bulk delete request body.
|
||||
|
||||
|
||||
var requestBody beta.RequestBody
|
||||
if err := json.Unmarshal(data, &requestBody); err != nil {
|
||||
var requestBody beta.[]RequestBody
|
||||
if err := json.Unmarshal(requestbody, &requestBody); err != nil {
|
||||
fmt.Println("Error:", err)
|
||||
return
|
||||
}
|
||||
@@ -545,11 +545,11 @@ import (
|
||||
)
|
||||
|
||||
func main() {
|
||||
identityProfileExportedObject := fmt.Sprintf(``) // []IdentityProfileExportedObject | Previously exported Identity Profiles.
|
||||
identityprofileexportedobject := []byte(``) // []IdentityProfileExportedObject | Previously exported Identity Profiles.
|
||||
|
||||
|
||||
var identityProfileExportedObject beta.IdentityProfileExportedObject
|
||||
if err := json.Unmarshal(data, &identityProfileExportedObject); err != nil {
|
||||
var identityProfileExportedObject beta.[]IdentityProfileExportedObject
|
||||
if err := json.Unmarshal(identityprofileexportedobject, &identityProfileExportedObject); err != nil {
|
||||
fmt.Println("Error:", err)
|
||||
return
|
||||
}
|
||||
@@ -686,7 +686,7 @@ import (
|
||||
)
|
||||
|
||||
func main() {
|
||||
data := []byte(`{
|
||||
identitypreviewrequest := []byte(`{
|
||||
"identityId" : "046b6c7f-0b8a-43b9-b35d-6489e6daee91",
|
||||
"identityAttributeConfig" : {
|
||||
"attributeTransforms" : [ {
|
||||
@@ -716,7 +716,7 @@ func main() {
|
||||
|
||||
|
||||
var identityPreviewRequest beta.IdentityPreviewRequest
|
||||
if err := json.Unmarshal(data, &identityPreviewRequest); err != nil {
|
||||
if err := json.Unmarshal(identitypreviewrequest, &identityPreviewRequest); err != nil {
|
||||
fmt.Println("Error:", err)
|
||||
return
|
||||
}
|
||||
@@ -865,11 +865,11 @@ import (
|
||||
|
||||
func main() {
|
||||
identityProfileId := `ef38f94347e94562b5bb8424a56397d8` // string | Identity profile ID. # string | Identity profile ID.
|
||||
jsonPatchOperation := fmt.Sprintf(`[{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.
|
||||
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
|
||||
if err := json.Unmarshal(data, &jsonPatchOperation); err != nil {
|
||||
var jsonPatchOperation beta.[]JsonPatchOperation
|
||||
if err := json.Unmarshal(jsonpatchoperation, &jsonPatchOperation); err != nil {
|
||||
fmt.Println("Error:", err)
|
||||
return
|
||||
}
|
||||
|
||||
@@ -69,7 +69,7 @@ import (
|
||||
)
|
||||
|
||||
func main() {
|
||||
data := []byte(`{
|
||||
launcherrequest := []byte(`{
|
||||
"reference" : {
|
||||
"id" : "2fd6ff94-2081-4d29-acbc-83a0a2f744a5",
|
||||
"type" : "WORKFLOW"
|
||||
@@ -83,7 +83,7 @@ func main() {
|
||||
|
||||
|
||||
var launcherRequest beta.LauncherRequest
|
||||
if err := json.Unmarshal(data, &launcherRequest); err != nil {
|
||||
if err := json.Unmarshal(launcherrequest, &launcherRequest); err != nil {
|
||||
fmt.Println("Error:", err)
|
||||
return
|
||||
}
|
||||
@@ -349,7 +349,7 @@ import (
|
||||
|
||||
func main() {
|
||||
launcherID := `e3012408-8b61-4564-ad41-c5ec131c325b` // string | ID of the Launcher to be replaced # string | ID of the Launcher to be replaced
|
||||
data := []byte(`{
|
||||
launcherrequest := []byte(`{
|
||||
"reference" : {
|
||||
"id" : "2fd6ff94-2081-4d29-acbc-83a0a2f744a5",
|
||||
"type" : "WORKFLOW"
|
||||
@@ -363,7 +363,7 @@ func main() {
|
||||
|
||||
|
||||
var launcherRequest beta.LauncherRequest
|
||||
if err := json.Unmarshal(data, &launcherRequest); err != nil {
|
||||
if err := json.Unmarshal(launcherrequest, &launcherRequest); err != nil {
|
||||
fmt.Println("Error:", err)
|
||||
return
|
||||
}
|
||||
|
||||
@@ -182,11 +182,11 @@ import (
|
||||
func main() {
|
||||
identityProfileId := `2b838de9-db9b-abcf-e646-d4f274ad4238` // string | Identity Profile ID. # string | Identity Profile ID.
|
||||
lifecycleStateId := `ef38f94347e94562b5bb8424a56397d8` // string | Lifecycle State ID. # string | Lifecycle State ID.
|
||||
jsonPatchOperation := fmt.Sprintf(`[{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
|
||||
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
|
||||
if err := json.Unmarshal(data, &jsonPatchOperation); err != nil {
|
||||
var jsonPatchOperation beta.[]JsonPatchOperation
|
||||
if err := json.Unmarshal(jsonpatchoperation, &jsonPatchOperation); err != nil {
|
||||
fmt.Println("Error:", err)
|
||||
return
|
||||
}
|
||||
|
||||
@@ -310,7 +310,7 @@ import (
|
||||
)
|
||||
|
||||
func main() {
|
||||
data := []byte(`{
|
||||
mfaduoconfig := []byte(`{
|
||||
"accessKey" : "qw123Y3QlA5UqocYpdU3rEkzrK2D497y",
|
||||
"host" : "example.com",
|
||||
"configProperties" : {
|
||||
@@ -324,7 +324,7 @@ func main() {
|
||||
|
||||
|
||||
var mfaDuoConfig beta.MfaDuoConfig
|
||||
if err := json.Unmarshal(data, &mfaDuoConfig); err != nil {
|
||||
if err := json.Unmarshal(mfaduoconfig, &mfaDuoConfig); err != nil {
|
||||
fmt.Println("Error:", err)
|
||||
return
|
||||
}
|
||||
@@ -388,11 +388,11 @@ import (
|
||||
)
|
||||
|
||||
func main() {
|
||||
kbaAnswerRequestItem := fmt.Sprintf(`[{id=173423, answer=822cd15d6c15aa0c55ad015a3bf4f1b2b0b822cd15d6c15b0f00a0859a2fea34}, {id=c54fee53-2d63-4fc5-9259-3e93b9994135, answer=9f86d081884c7d659a2feaa0c55ad015a3bf4f1b2b0b822cd15d6c15b0f00a08}]`) // []KbaAnswerRequestItem |
|
||||
kbaanswerrequestitem := []byte(`[{id=173423, answer=822cd15d6c15aa0c55ad015a3bf4f1b2b0b822cd15d6c15b0f00a0859a2fea34}, {id=c54fee53-2d63-4fc5-9259-3e93b9994135, answer=9f86d081884c7d659a2feaa0c55ad015a3bf4f1b2b0b822cd15d6c15b0f00a08}]`) // []KbaAnswerRequestItem |
|
||||
|
||||
|
||||
var kbaAnswerRequestItem beta.KbaAnswerRequestItem
|
||||
if err := json.Unmarshal(data, &kbaAnswerRequestItem); err != nil {
|
||||
var kbaAnswerRequestItem beta.[]KbaAnswerRequestItem
|
||||
if err := json.Unmarshal(kbaanswerrequestitem, &kbaAnswerRequestItem); err != nil {
|
||||
fmt.Println("Error:", err)
|
||||
return
|
||||
}
|
||||
@@ -456,7 +456,7 @@ import (
|
||||
)
|
||||
|
||||
func main() {
|
||||
data := []byte(`{
|
||||
mfaoktaconfig := []byte(`{
|
||||
"accessKey" : "qw123Y3QlA5UqocYpdU3rEkzrK2D497y",
|
||||
"host" : "example.com",
|
||||
"mfaMethod" : "okta-verify",
|
||||
@@ -466,7 +466,7 @@ func main() {
|
||||
|
||||
|
||||
var mfaOktaConfig beta.MfaOktaConfig
|
||||
if err := json.Unmarshal(data, &mfaOktaConfig); err != nil {
|
||||
if err := json.Unmarshal(mfaoktaconfig, &mfaOktaConfig); err != nil {
|
||||
fmt.Println("Error:", err)
|
||||
return
|
||||
}
|
||||
|
||||
@@ -66,14 +66,14 @@ import (
|
||||
)
|
||||
|
||||
func main() {
|
||||
data := []byte(`{
|
||||
sendtokenrequest := []byte(`{
|
||||
"userAlias" : "will.albin",
|
||||
"deliveryType" : "EMAIL_WORK"
|
||||
}`) // SendTokenRequest |
|
||||
|
||||
|
||||
var sendTokenRequest beta.SendTokenRequest
|
||||
if err := json.Unmarshal(data, &sendTokenRequest); err != nil {
|
||||
if err := json.Unmarshal(sendtokenrequest, &sendTokenRequest); err != nil {
|
||||
fmt.Println("Error:", err)
|
||||
return
|
||||
}
|
||||
@@ -143,13 +143,13 @@ import (
|
||||
|
||||
func main() {
|
||||
method := `okta-verify` // string | The name of the MFA method. The currently supported method names are 'okta-verify', 'duo-web', 'kba','token', 'rsa' # string | The name of the MFA method. The currently supported method names are 'okta-verify', 'duo-web', 'kba','token', 'rsa'
|
||||
data := []byte(`{
|
||||
verificationpollrequest := []byte(`{
|
||||
"requestId" : "089899f13a8f4da7824996191587bab9"
|
||||
}`) // VerificationPollRequest |
|
||||
|
||||
|
||||
var verificationPollRequest beta.VerificationPollRequest
|
||||
if err := json.Unmarshal(data, &verificationPollRequest); err != nil {
|
||||
if err := json.Unmarshal(verificationpollrequest, &verificationPollRequest); err != nil {
|
||||
fmt.Println("Error:", err)
|
||||
return
|
||||
}
|
||||
@@ -213,14 +213,14 @@ import (
|
||||
)
|
||||
|
||||
func main() {
|
||||
data := []byte(`{
|
||||
duoverificationrequest := []byte(`{
|
||||
"signedResponse" : "AUTH|d2lsbC5hbGJpbnxESTZNMFpHSThKQVRWTVpZN0M5VXwxNzAxMjUzMDg5|f1f5f8ced5b340f3d303b05d0efa0e43b6a8f970:APP|d2lsbC5hbGJpbnxESTZNMFpHSThKQVRWTVpZN0M5VXwxNzAxMjU2NjE5|cb44cf44353f5127edcae31b1da0355f87357db2",
|
||||
"userId" : "2c9180947f0ef465017f215cbcfd004b"
|
||||
}`) // DuoVerificationRequest |
|
||||
|
||||
|
||||
var duoVerificationRequest beta.DuoVerificationRequest
|
||||
if err := json.Unmarshal(data, &duoVerificationRequest); err != nil {
|
||||
if err := json.Unmarshal(duoverificationrequest, &duoVerificationRequest); err != nil {
|
||||
fmt.Println("Error:", err)
|
||||
return
|
||||
}
|
||||
@@ -284,11 +284,11 @@ import (
|
||||
)
|
||||
|
||||
func main() {
|
||||
kbaAnswerRequestItem := fmt.Sprintf(`[{id=173423, answer=822cd15d6c15aa0c55ad015a3bf4f1b2b0b822cd15d6c15b0f00a0859a2fea34}, {id=c54fee53-2d63-4fc5-9259-3e93b9994135, answer=9f86d081884c7d659a2feaa0c55ad015a3bf4f1b2b0b822cd15d6c15b0f00a08}]`) // []KbaAnswerRequestItem |
|
||||
kbaanswerrequestitem := []byte(`[{id=173423, answer=822cd15d6c15aa0c55ad015a3bf4f1b2b0b822cd15d6c15b0f00a0859a2fea34}, {id=c54fee53-2d63-4fc5-9259-3e93b9994135, answer=9f86d081884c7d659a2feaa0c55ad015a3bf4f1b2b0b822cd15d6c15b0f00a08}]`) // []KbaAnswerRequestItem |
|
||||
|
||||
|
||||
var kbaAnswerRequestItem beta.KbaAnswerRequestItem
|
||||
if err := json.Unmarshal(data, &kbaAnswerRequestItem); err != nil {
|
||||
var kbaAnswerRequestItem beta.[]KbaAnswerRequestItem
|
||||
if err := json.Unmarshal(kbaanswerrequestitem, &kbaAnswerRequestItem); err != nil {
|
||||
fmt.Println("Error:", err)
|
||||
return
|
||||
}
|
||||
@@ -352,13 +352,13 @@ import (
|
||||
)
|
||||
|
||||
func main() {
|
||||
data := []byte(`{
|
||||
oktaverificationrequest := []byte(`{
|
||||
"userId" : "example@mail.com"
|
||||
}`) // OktaVerificationRequest |
|
||||
|
||||
|
||||
var oktaVerificationRequest beta.OktaVerificationRequest
|
||||
if err := json.Unmarshal(data, &oktaVerificationRequest); err != nil {
|
||||
if err := json.Unmarshal(oktaverificationrequest, &oktaVerificationRequest); err != nil {
|
||||
fmt.Println("Error:", err)
|
||||
return
|
||||
}
|
||||
@@ -422,7 +422,7 @@ import (
|
||||
)
|
||||
|
||||
func main() {
|
||||
data := []byte(`{
|
||||
tokenauthrequest := []byte(`{
|
||||
"userAlias" : "will.albin",
|
||||
"deliveryType" : "EMAIL_WORK",
|
||||
"token" : "12345"
|
||||
@@ -430,7 +430,7 @@ func main() {
|
||||
|
||||
|
||||
var tokenAuthRequest beta.TokenAuthRequest
|
||||
if err := json.Unmarshal(data, &tokenAuthRequest); err != nil {
|
||||
if err := json.Unmarshal(tokenauthrequest, &tokenAuthRequest); err != nil {
|
||||
fmt.Println("Error:", err)
|
||||
return
|
||||
}
|
||||
|
||||
@@ -145,7 +145,7 @@ import (
|
||||
|
||||
func main() {
|
||||
id := `aClientId` // string | ID of the Managed Client Status to update # string | ID of the Managed Client Status to update
|
||||
data := []byte(`{
|
||||
managedclientstatus := []byte(`{
|
||||
"body" : {
|
||||
"alertKey" : "",
|
||||
"id" : "5678",
|
||||
@@ -174,7 +174,7 @@ func main() {
|
||||
|
||||
|
||||
var managedClientStatus beta.ManagedClientStatus
|
||||
if err := json.Unmarshal(data, &managedClientStatus); err != nil {
|
||||
if err := json.Unmarshal(managedclientstatus, &managedClientStatus); err != nil {
|
||||
fmt.Println("Error:", err)
|
||||
return
|
||||
}
|
||||
|
||||
@@ -284,7 +284,7 @@ import (
|
||||
|
||||
func main() {
|
||||
id := `aClusterId` // string | ID of ManagedCluster to update log configuration for # string | ID of ManagedCluster to update log configuration for
|
||||
data := []byte(`{
|
||||
clientlogconfiguration := []byte(`{
|
||||
"durationMinutes" : 120,
|
||||
"rootLevel" : "INFO",
|
||||
"clientId" : "aClientId",
|
||||
|
||||
@@ -78,7 +78,7 @@ import (
|
||||
)
|
||||
|
||||
func main() {
|
||||
data := []byte(`{
|
||||
multihostintegrationscreate := []byte(`{
|
||||
"owner" : {
|
||||
"name" : "MyName",
|
||||
"id" : "2c91808568c529c60168cca6f90c1313",
|
||||
@@ -107,7 +107,7 @@ func main() {
|
||||
|
||||
|
||||
var multiHostIntegrationsCreate beta.MultiHostIntegrationsCreate
|
||||
if err := json.Unmarshal(data, &multiHostIntegrationsCreate); err != nil {
|
||||
if err := json.Unmarshal(multihostintegrationscreate, &multiHostIntegrationsCreate); err != nil {
|
||||
fmt.Println("Error:", err)
|
||||
return
|
||||
}
|
||||
@@ -179,11 +179,11 @@ import (
|
||||
|
||||
func main() {
|
||||
multihostId := `2c91808568c529c60168cca6f90c1326` // string | ID of the Multi-Host Integration. # string | ID of the Multi-Host Integration.
|
||||
multiHostIntegrationsCreateSources := fmt.Sprintf(``) // []MultiHostIntegrationsCreateSources | The specifics of the sources to create within Multi-Host Integration.
|
||||
multihostintegrationscreatesources := []byte(``) // []MultiHostIntegrationsCreateSources | The specifics of the sources to create within Multi-Host Integration.
|
||||
|
||||
|
||||
var multiHostIntegrationsCreateSources beta.MultiHostIntegrationsCreateSources
|
||||
if err := json.Unmarshal(data, &multiHostIntegrationsCreateSources); err != nil {
|
||||
var multiHostIntegrationsCreateSources beta.[]MultiHostIntegrationsCreateSources
|
||||
if err := json.Unmarshal(multihostintegrationscreatesources, &multiHostIntegrationsCreateSources); err != nil {
|
||||
fmt.Println("Error:", err)
|
||||
return
|
||||
}
|
||||
@@ -939,11 +939,11 @@ import (
|
||||
|
||||
func main() {
|
||||
multihostId := `anId` // string | ID of the Multi-Host Integration to update. # string | ID of the Multi-Host Integration to update.
|
||||
updateMultiHostSourcesRequestInner := fmt.Sprintf(`[{op=add, path=/description, value=MDK Multi-Host Integration 222 description}]`) // []UpdateMultiHostSourcesRequestInner | This endpoint allows you to update a Multi-Host Integration.
|
||||
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
|
||||
if err := json.Unmarshal(data, &updateMultiHostSourcesRequestInner); err != nil {
|
||||
var updateMultiHostSourcesRequestInner beta.[]UpdateMultiHostSourcesRequestInner
|
||||
if err := json.Unmarshal(updatemultihostsourcesrequestinner, &updateMultiHostSourcesRequestInner); err != nil {
|
||||
fmt.Println("Error:", err)
|
||||
return
|
||||
}
|
||||
|
||||
@@ -129,13 +129,13 @@ import (
|
||||
|
||||
func main() {
|
||||
id := `id_example` // string | Non-Employee approval item id (UUID) # string | Non-Employee approval item id (UUID)
|
||||
data := []byte(`{
|
||||
nonemployeeapprovaldecision := []byte(`{
|
||||
"comment" : "comment"
|
||||
}`) // NonEmployeeApprovalDecision |
|
||||
|
||||
|
||||
var nonEmployeeApprovalDecision beta.NonEmployeeApprovalDecision
|
||||
if err := json.Unmarshal(data, &nonEmployeeApprovalDecision); err != nil {
|
||||
if err := json.Unmarshal(nonemployeeapprovaldecision, &nonEmployeeApprovalDecision); err != nil {
|
||||
fmt.Println("Error:", err)
|
||||
return
|
||||
}
|
||||
@@ -202,7 +202,7 @@ import (
|
||||
)
|
||||
|
||||
func main() {
|
||||
data := []byte(`{
|
||||
nonemployeerequestbody := []byte(`{
|
||||
"sourceId" : "2c91808568c529c60168cca6f90c1313",
|
||||
"firstName" : "William",
|
||||
"lastName" : "Smith",
|
||||
@@ -219,7 +219,7 @@ func main() {
|
||||
|
||||
|
||||
var nonEmployeeRequestBody beta.NonEmployeeRequestBody
|
||||
if err := json.Unmarshal(data, &nonEmployeeRequestBody); err != nil {
|
||||
if err := json.Unmarshal(nonemployeerequestbody, &nonEmployeeRequestBody); err != nil {
|
||||
fmt.Println("Error:", err)
|
||||
return
|
||||
}
|
||||
@@ -284,7 +284,7 @@ import (
|
||||
)
|
||||
|
||||
func main() {
|
||||
data := []byte(`{
|
||||
nonemployeerequestbody := []byte(`{
|
||||
"sourceId" : "2c91808568c529c60168cca6f90c1313",
|
||||
"firstName" : "William",
|
||||
"lastName" : "Smith",
|
||||
@@ -301,7 +301,7 @@ func main() {
|
||||
|
||||
|
||||
var nonEmployeeRequestBody beta.NonEmployeeRequestBody
|
||||
if err := json.Unmarshal(data, &nonEmployeeRequestBody); err != nil {
|
||||
if err := json.Unmarshal(nonemployeerequestbody, &nonEmployeeRequestBody); err != nil {
|
||||
fmt.Println("Error:", err)
|
||||
return
|
||||
}
|
||||
@@ -365,7 +365,7 @@ import (
|
||||
)
|
||||
|
||||
func main() {
|
||||
data := []byte(`{
|
||||
nonemployeesourcerequestbody := []byte(`{
|
||||
"owner" : {
|
||||
"id" : "2c91808570313110017040b06f344ec9"
|
||||
},
|
||||
@@ -394,7 +394,7 @@ func main() {
|
||||
|
||||
|
||||
var nonEmployeeSourceRequestBody beta.NonEmployeeSourceRequestBody
|
||||
if err := json.Unmarshal(data, &nonEmployeeSourceRequestBody); err != nil {
|
||||
if err := json.Unmarshal(nonemployeesourcerequestbody, &nonEmployeeSourceRequestBody); err != nil {
|
||||
fmt.Println("Error:", err)
|
||||
return
|
||||
}
|
||||
@@ -464,7 +464,7 @@ import (
|
||||
|
||||
func main() {
|
||||
sourceId := `2c91808b6ef1d43e016efba0ce470904` // string | The Source id # string | The Source id
|
||||
data := []byte(`{
|
||||
nonemployeeschemaattributebody := []byte(`{
|
||||
"helpText" : "The unique identifier for the account",
|
||||
"label" : "Account Name",
|
||||
"placeholder" : "Enter a unique user name for this account.",
|
||||
@@ -475,7 +475,7 @@ func main() {
|
||||
|
||||
|
||||
var nonEmployeeSchemaAttributeBody beta.NonEmployeeSchemaAttributeBody
|
||||
if err := json.Unmarshal(data, &nonEmployeeSchemaAttributeBody); err != nil {
|
||||
if err := json.Unmarshal(nonemployeeschemaattributebody, &nonEmployeeSchemaAttributeBody); err != nil {
|
||||
fmt.Println("Error:", err)
|
||||
return
|
||||
}
|
||||
@@ -605,11 +605,11 @@ import (
|
||||
)
|
||||
|
||||
func main() {
|
||||
data := []byte(``) // DeleteNonEmployeeRecordInBulkRequest | Non-Employee bulk delete request body.
|
||||
deletenonemployeerecordinbulkrequest := []byte(``) // DeleteNonEmployeeRecordInBulkRequest | Non-Employee bulk delete request body.
|
||||
|
||||
|
||||
var deleteNonEmployeeRecordInBulkRequest beta.DeleteNonEmployeeRecordInBulkRequest
|
||||
if err := json.Unmarshal(data, &deleteNonEmployeeRecordInBulkRequest); err != nil {
|
||||
if err := json.Unmarshal(deletenonemployeerecordinbulkrequest, &deleteNonEmployeeRecordInBulkRequest); err != nil {
|
||||
fmt.Println("Error:", err)
|
||||
return
|
||||
}
|
||||
@@ -2025,11 +2025,11 @@ import (
|
||||
|
||||
func main() {
|
||||
id := `2c91808b6ef1d43e016efba0ce470904` // string | Non-employee record id (UUID) # string | Non-employee record id (UUID)
|
||||
jsonPatchOperation := fmt.Sprintf(`[{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.
|
||||
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
|
||||
if err := json.Unmarshal(data, &jsonPatchOperation); err != nil {
|
||||
var jsonPatchOperation beta.[]JsonPatchOperation
|
||||
if err := json.Unmarshal(jsonpatchoperation, &jsonPatchOperation); err != nil {
|
||||
fmt.Println("Error:", err)
|
||||
return
|
||||
}
|
||||
@@ -2103,11 +2103,11 @@ import (
|
||||
func main() {
|
||||
attributeId := `2c91808b6ef1d43e016efba0ce470904` // string | The Schema Attribute Id (UUID) # string | The Schema Attribute Id (UUID)
|
||||
sourceId := `2c91808b6ef1d43e016efba0ce470904` // string | The Source id # string | The Source id
|
||||
jsonPatchOperation := fmt.Sprintf(`[{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'.
|
||||
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
|
||||
if err := json.Unmarshal(data, &jsonPatchOperation); err != nil {
|
||||
var jsonPatchOperation beta.[]JsonPatchOperation
|
||||
if err := json.Unmarshal(jsonpatchoperation, &jsonPatchOperation); err != nil {
|
||||
fmt.Println("Error:", err)
|
||||
return
|
||||
}
|
||||
@@ -2177,11 +2177,11 @@ import (
|
||||
|
||||
func main() {
|
||||
sourceId := `2c91808b6ef1d43e016efba0ce470904` // string | Source Id # string | Source Id
|
||||
jsonPatchOperation := fmt.Sprintf(`[{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.
|
||||
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
|
||||
if err := json.Unmarshal(data, &jsonPatchOperation); err != nil {
|
||||
var jsonPatchOperation beta.[]JsonPatchOperation
|
||||
if err := json.Unmarshal(jsonpatchoperation, &jsonPatchOperation); err != nil {
|
||||
fmt.Println("Error:", err)
|
||||
return
|
||||
}
|
||||
@@ -2251,13 +2251,13 @@ import (
|
||||
|
||||
func main() {
|
||||
id := `id_example` // string | Non-Employee approval item id (UUID) # string | Non-Employee approval item id (UUID)
|
||||
data := []byte(`{
|
||||
nonemployeerejectapprovaldecision := []byte(`{
|
||||
"comment" : "comment"
|
||||
}`) // NonEmployeeRejectApprovalDecision |
|
||||
|
||||
|
||||
var nonEmployeeRejectApprovalDecision beta.NonEmployeeRejectApprovalDecision
|
||||
if err := json.Unmarshal(data, &nonEmployeeRejectApprovalDecision); err != nil {
|
||||
if err := json.Unmarshal(nonemployeerejectapprovaldecision, &nonEmployeeRejectApprovalDecision); err != nil {
|
||||
fmt.Println("Error:", err)
|
||||
return
|
||||
}
|
||||
@@ -2328,7 +2328,7 @@ import (
|
||||
|
||||
func main() {
|
||||
id := `2c91808b6ef1d43e016efba0ce470904` // string | Non-employee record id (UUID) # string | Non-employee record id (UUID)
|
||||
data := []byte(`{
|
||||
nonemployeerequestbody := []byte(`{
|
||||
"sourceId" : "2c91808568c529c60168cca6f90c1313",
|
||||
"firstName" : "William",
|
||||
"lastName" : "Smith",
|
||||
@@ -2345,7 +2345,7 @@ func main() {
|
||||
|
||||
|
||||
var nonEmployeeRequestBody beta.NonEmployeeRequestBody
|
||||
if err := json.Unmarshal(data, &nonEmployeeRequestBody); err != nil {
|
||||
if err := json.Unmarshal(nonemployeerequestbody, &nonEmployeeRequestBody); err != nil {
|
||||
fmt.Println("Error:", err)
|
||||
return
|
||||
}
|
||||
|
||||
@@ -75,13 +75,13 @@ import (
|
||||
)
|
||||
|
||||
func main() {
|
||||
data := []byte(`{
|
||||
domainaddress := []byte(`{
|
||||
"domain" : "sailpoint.com"
|
||||
}`) // DomainAddress |
|
||||
|
||||
|
||||
var domainAddress beta.DomainAddress
|
||||
if err := json.Unmarshal(data, &domainAddress); err != nil {
|
||||
if err := json.Unmarshal(domainaddress, &domainAddress); err != nil {
|
||||
fmt.Println("Error:", err)
|
||||
return
|
||||
}
|
||||
@@ -147,7 +147,7 @@ import (
|
||||
)
|
||||
|
||||
func main() {
|
||||
data := []byte(`{
|
||||
templatedto := []byte(`{
|
||||
"slackTemplate" : "slackTemplate",
|
||||
"footer" : "footer",
|
||||
"teamsTemplate" : "teamsTemplate",
|
||||
@@ -168,7 +168,7 @@ func main() {
|
||||
|
||||
|
||||
var templateDto beta.TemplateDto
|
||||
if err := json.Unmarshal(data, &templateDto); err != nil {
|
||||
if err := json.Unmarshal(templatedto, &templateDto); err != nil {
|
||||
fmt.Println("Error:", err)
|
||||
return
|
||||
}
|
||||
@@ -232,7 +232,7 @@ import (
|
||||
)
|
||||
|
||||
func main() {
|
||||
data := []byte(`{
|
||||
emailstatusdto := []byte(`{
|
||||
"isVerifiedByDomain" : false,
|
||||
"verificationStatus" : "PENDING",
|
||||
"id" : "id",
|
||||
@@ -241,7 +241,7 @@ func main() {
|
||||
|
||||
|
||||
var emailStatusDto beta.EmailStatusDto
|
||||
if err := json.Unmarshal(data, &emailStatusDto); err != nil {
|
||||
if err := json.Unmarshal(emailstatusdto, &emailStatusDto); err != nil {
|
||||
fmt.Println("Error:", err)
|
||||
return
|
||||
}
|
||||
@@ -305,11 +305,11 @@ import (
|
||||
)
|
||||
|
||||
func main() {
|
||||
templateBulkDeleteDto := fmt.Sprintf(``) // []TemplateBulkDeleteDto |
|
||||
templatebulkdeletedto := []byte(``) // []TemplateBulkDeleteDto |
|
||||
|
||||
|
||||
var templateBulkDeleteDto beta.TemplateBulkDeleteDto
|
||||
if err := json.Unmarshal(data, &templateBulkDeleteDto); err != nil {
|
||||
var templateBulkDeleteDto beta.[]TemplateBulkDeleteDto
|
||||
if err := json.Unmarshal(templatebulkdeletedto, &templateBulkDeleteDto); err != nil {
|
||||
fmt.Println("Error:", err)
|
||||
return
|
||||
}
|
||||
@@ -950,14 +950,14 @@ import (
|
||||
)
|
||||
|
||||
func main() {
|
||||
data := []byte(`{
|
||||
mailfromattributesdto := []byte(`{
|
||||
"identity" : "BobSmith@sailpoint.com",
|
||||
"mailFromDomain" : "example.sailpoint.com"
|
||||
}`) // MailFromAttributesDto |
|
||||
|
||||
|
||||
var mailFromAttributesDto beta.MailFromAttributesDto
|
||||
if err := json.Unmarshal(data, &mailFromAttributesDto); err != nil {
|
||||
if err := json.Unmarshal(mailfromattributesdto, &mailFromAttributesDto); err != nil {
|
||||
fmt.Println("Error:", err)
|
||||
return
|
||||
}
|
||||
@@ -1021,7 +1021,7 @@ import (
|
||||
)
|
||||
|
||||
func main() {
|
||||
data := []byte(`{
|
||||
sendtestnotificationrequestdto := []byte(`{
|
||||
"context" : "{}",
|
||||
"medium" : "EMAIL",
|
||||
"key" : "cloud_manual_work_item_summary"
|
||||
@@ -1029,7 +1029,7 @@ func main() {
|
||||
|
||||
|
||||
var sendTestNotificationRequestDto beta.SendTestNotificationRequestDto
|
||||
if err := json.Unmarshal(data, &sendTestNotificationRequestDto); err != nil {
|
||||
if err := json.Unmarshal(sendtestnotificationrequestdto, &sendTestNotificationRequestDto); err != nil {
|
||||
fmt.Println("Error:", err)
|
||||
return
|
||||
}
|
||||
|
||||
@@ -68,7 +68,7 @@ import (
|
||||
)
|
||||
|
||||
func main() {
|
||||
data := []byte(`{
|
||||
createoauthclientrequest := []byte(`{
|
||||
"internal" : false,
|
||||
"businessName" : "Acme-Solar",
|
||||
"description" : "An API client used for the authorization_code, refresh_token, and client_credentials flows",
|
||||
@@ -88,7 +88,7 @@ func main() {
|
||||
|
||||
|
||||
var createOAuthClientRequest beta.CreateOAuthClientRequest
|
||||
if err := json.Unmarshal(data, &createOAuthClientRequest); err != nil {
|
||||
if err := json.Unmarshal(createoauthclientrequest, &createOAuthClientRequest); err != nil {
|
||||
fmt.Println("Error:", err)
|
||||
return
|
||||
}
|
||||
@@ -352,11 +352,11 @@ import (
|
||||
|
||||
func main() {
|
||||
id := `ef38f94347e94562b5bb8424a56397d8` // string | The OAuth client id # string | The OAuth client id
|
||||
jsonPatchOperation := fmt.Sprintf(`[{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
|
||||
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
|
||||
if err := json.Unmarshal(data, &jsonPatchOperation); err != nil {
|
||||
var jsonPatchOperation beta.[]JsonPatchOperation
|
||||
if err := json.Unmarshal(jsonpatchoperation, &jsonPatchOperation); err != nil {
|
||||
fmt.Println("Error:", err)
|
||||
return
|
||||
}
|
||||
|
||||
@@ -179,11 +179,11 @@ import (
|
||||
)
|
||||
|
||||
func main() {
|
||||
jsonPatchOperation := fmt.Sprintf(`[{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.
|
||||
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
|
||||
if err := json.Unmarshal(data, &jsonPatchOperation); err != nil {
|
||||
var jsonPatchOperation beta.[]JsonPatchOperation
|
||||
if err := json.Unmarshal(jsonpatchoperation, &jsonPatchOperation); err != nil {
|
||||
fmt.Println("Error:", err)
|
||||
return
|
||||
}
|
||||
|
||||
@@ -71,7 +71,7 @@ import (
|
||||
)
|
||||
|
||||
func main() {
|
||||
data := []byte(`{
|
||||
passwordorgconfig := []byte(`{
|
||||
"digitTokenLength" : 9,
|
||||
"digitTokenEnabled" : true,
|
||||
"digitTokenDurationMinutes" : 10,
|
||||
@@ -80,7 +80,7 @@ func main() {
|
||||
|
||||
|
||||
var passwordOrgConfig beta.PasswordOrgConfig
|
||||
if err := json.Unmarshal(data, &passwordOrgConfig); err != nil {
|
||||
if err := json.Unmarshal(passwordorgconfig, &passwordOrgConfig); err != nil {
|
||||
fmt.Println("Error:", err)
|
||||
return
|
||||
}
|
||||
@@ -203,7 +203,7 @@ import (
|
||||
)
|
||||
|
||||
func main() {
|
||||
data := []byte(`{
|
||||
passwordorgconfig := []byte(`{
|
||||
"digitTokenLength" : 9,
|
||||
"digitTokenEnabled" : true,
|
||||
"digitTokenDurationMinutes" : 10,
|
||||
@@ -212,7 +212,7 @@ func main() {
|
||||
|
||||
|
||||
var passwordOrgConfig beta.PasswordOrgConfig
|
||||
if err := json.Unmarshal(data, &passwordOrgConfig); err != nil {
|
||||
if err := json.Unmarshal(passwordorgconfig, &passwordOrgConfig); err != nil {
|
||||
fmt.Println("Error:", err)
|
||||
return
|
||||
}
|
||||
|
||||
@@ -88,7 +88,7 @@ import (
|
||||
)
|
||||
|
||||
func main() {
|
||||
data := []byte(`{
|
||||
passworddigittokenreset := []byte(`{
|
||||
"durationMinutes" : 5,
|
||||
"length" : 8,
|
||||
"userId" : "Abby.Smith"
|
||||
@@ -96,7 +96,7 @@ func main() {
|
||||
|
||||
|
||||
var passwordDigitTokenReset beta.PasswordDigitTokenReset
|
||||
if err := json.Unmarshal(data, &passwordDigitTokenReset); err != nil {
|
||||
if err := json.Unmarshal(passworddigittokenreset, &passwordDigitTokenReset); err != nil {
|
||||
fmt.Println("Error:", err)
|
||||
return
|
||||
}
|
||||
@@ -234,14 +234,14 @@ import (
|
||||
)
|
||||
|
||||
func main() {
|
||||
data := []byte(`{
|
||||
passwordinfoquerydto := []byte(`{
|
||||
"sourceName" : "My-AD",
|
||||
"userName" : "Abby.Smith"
|
||||
}`) // PasswordInfoQueryDTO |
|
||||
|
||||
|
||||
var passwordInfoQueryDTO beta.PasswordInfoQueryDTO
|
||||
if err := json.Unmarshal(data, &passwordInfoQueryDTO); err != nil {
|
||||
if err := json.Unmarshal(passwordinfoquerydto, &passwordInfoQueryDTO); err != nil {
|
||||
fmt.Println("Error:", err)
|
||||
return
|
||||
}
|
||||
@@ -348,7 +348,7 @@ import (
|
||||
)
|
||||
|
||||
func main() {
|
||||
data := []byte(`{
|
||||
passwordchangerequest := []byte(`{
|
||||
"sourceId" : "8a807d4c73c545510173c545d4b60246",
|
||||
"accountId" : "CN=Abby Smith,OU=Austin,OU=Americas,OU=Demo,DC=seri,DC=acme,DC=com",
|
||||
"identityId" : "8a807d4c73c545510173c545f0a002ff",
|
||||
@@ -358,7 +358,7 @@ func main() {
|
||||
|
||||
|
||||
var passwordChangeRequest beta.PasswordChangeRequest
|
||||
if err := json.Unmarshal(data, &passwordChangeRequest); err != nil {
|
||||
if err := json.Unmarshal(passwordchangerequest, &passwordChangeRequest); err != nil {
|
||||
fmt.Println("Error:", err)
|
||||
return
|
||||
}
|
||||
|
||||
@@ -74,7 +74,7 @@ import (
|
||||
)
|
||||
|
||||
func main() {
|
||||
data := []byte(`{
|
||||
passwordpolicyv3dto := []byte(`{
|
||||
"validateAgainstAccountName" : true,
|
||||
"minLength" : 8,
|
||||
"description" : "Information about the Password Policy",
|
||||
@@ -110,7 +110,7 @@ func main() {
|
||||
|
||||
|
||||
var passwordPolicyV3Dto beta.PasswordPolicyV3Dto
|
||||
if err := json.Unmarshal(data, &passwordPolicyV3Dto); err != nil {
|
||||
if err := json.Unmarshal(passwordpolicyv3dto, &passwordPolicyV3Dto); err != nil {
|
||||
fmt.Println("Error:", err)
|
||||
return
|
||||
}
|
||||
@@ -377,7 +377,7 @@ import (
|
||||
|
||||
func main() {
|
||||
id := `ff808081838d9e9d01838da6a03e0007` // string | The ID of password policy to update. # string | The ID of password policy to update.
|
||||
data := []byte(`{
|
||||
passwordpolicyv3dto := []byte(`{
|
||||
"validateAgainstAccountName" : true,
|
||||
"minLength" : 8,
|
||||
"description" : "Information about the Password Policy",
|
||||
@@ -413,7 +413,7 @@ func main() {
|
||||
|
||||
|
||||
var passwordPolicyV3Dto beta.PasswordPolicyV3Dto
|
||||
if err := json.Unmarshal(data, &passwordPolicyV3Dto); err != nil {
|
||||
if err := json.Unmarshal(passwordpolicyv3dto, &passwordPolicyV3Dto); err != nil {
|
||||
fmt.Println("Error:", err)
|
||||
return
|
||||
}
|
||||
|
||||
@@ -97,7 +97,7 @@ import (
|
||||
)
|
||||
|
||||
func main() {
|
||||
data := []byte(`{
|
||||
passwordsyncgroup := []byte(`{
|
||||
"created" : "2023-03-16T04:00:00Z",
|
||||
"name" : "Password Sync Group 1",
|
||||
"modified" : "2023-03-16T04:00:00Z",
|
||||
@@ -108,7 +108,7 @@ func main() {
|
||||
|
||||
|
||||
var passwordSyncGroup beta.PasswordSyncGroup
|
||||
if err := json.Unmarshal(data, &passwordSyncGroup); err != nil {
|
||||
if err := json.Unmarshal(passwordsyncgroup, &passwordSyncGroup); err != nil {
|
||||
fmt.Println("Error:", err)
|
||||
return
|
||||
}
|
||||
@@ -374,7 +374,7 @@ import (
|
||||
|
||||
func main() {
|
||||
id := `6881f631-3bd5-4213-9c75-8e05cc3e35dd` // string | The ID of password sync group to update. # string | The ID of password sync group to update.
|
||||
data := []byte(`{
|
||||
passwordsyncgroup := []byte(`{
|
||||
"created" : "2023-03-16T04:00:00Z",
|
||||
"name" : "Password Sync Group 1",
|
||||
"modified" : "2023-03-16T04:00:00Z",
|
||||
@@ -385,7 +385,7 @@ func main() {
|
||||
|
||||
|
||||
var passwordSyncGroup beta.PasswordSyncGroup
|
||||
if err := json.Unmarshal(data, &passwordSyncGroup); err != nil {
|
||||
if err := json.Unmarshal(passwordsyncgroup, &passwordSyncGroup); err != nil {
|
||||
fmt.Println("Error:", err)
|
||||
return
|
||||
}
|
||||
|
||||
@@ -75,7 +75,7 @@ import (
|
||||
)
|
||||
|
||||
func main() {
|
||||
data := []byte(`{
|
||||
createpersonalaccesstokenrequest := []byte(`{
|
||||
"scope" : [ "demo:personal-access-token-scope:first", "demo:personal-access-token-scope:second" ],
|
||||
"accessTokenValiditySeconds" : 36900,
|
||||
"name" : "NodeJS Integration"
|
||||
@@ -83,7 +83,7 @@ func main() {
|
||||
|
||||
|
||||
var createPersonalAccessTokenRequest beta.CreatePersonalAccessTokenRequest
|
||||
if err := json.Unmarshal(data, &createPersonalAccessTokenRequest); err != nil {
|
||||
if err := json.Unmarshal(createpersonalaccesstokenrequest, &createPersonalAccessTokenRequest); err != nil {
|
||||
fmt.Println("Error:", err)
|
||||
return
|
||||
}
|
||||
@@ -281,11 +281,11 @@ import (
|
||||
|
||||
func main() {
|
||||
id := `ef38f94347e94562b5bb8424a56397d8` // string | The Personal Access Token id # string | The Personal Access Token id
|
||||
jsonPatchOperation := fmt.Sprintf(`[{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
|
||||
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
|
||||
if err := json.Unmarshal(data, &jsonPatchOperation); err != nil {
|
||||
var jsonPatchOperation beta.[]JsonPatchOperation
|
||||
if err := json.Unmarshal(jsonpatchoperation, &jsonPatchOperation); err != nil {
|
||||
fmt.Println("Error:", err)
|
||||
return
|
||||
}
|
||||
|
||||
@@ -135,7 +135,7 @@ import (
|
||||
)
|
||||
|
||||
func main() {
|
||||
data := []byte(`{
|
||||
publicidentityconfig := []byte(`{
|
||||
"modified" : "2018-06-25T20:22:28.104Z",
|
||||
"attributes" : [ {
|
||||
"name" : "Country",
|
||||
@@ -153,7 +153,7 @@ func main() {
|
||||
|
||||
|
||||
var publicIdentityConfig beta.PublicIdentityConfig
|
||||
if err := json.Unmarshal(data, &publicIdentityConfig); err != nil {
|
||||
if err := json.Unmarshal(publicidentityconfig, &publicIdentityConfig); err != nil {
|
||||
fmt.Println("Error:", err)
|
||||
return
|
||||
}
|
||||
|
||||
@@ -74,9 +74,9 @@ import (
|
||||
|
||||
func main() {
|
||||
identityId := `e7eab60924f64aa284175b9fa3309599` // string | If present, the value returns only requestable objects for the specified identity. * Admin users can call this with any identity ID value. * Non-admin users can only specify *me* or pass their own identity ID value. * If absent, returns a list of all requestable objects for the tenant. Only admin users can make such a call. In this case, the available, pending, assigned accesses will not be annotated in the result. (optional) # string | If present, the value returns only requestable objects for the specified identity. * Admin users can call this with any identity ID value. * Non-admin users can only specify *me* or pass their own identity ID value. * If absent, returns a list of all requestable objects for the tenant. Only admin users can make such a call. In this case, the available, pending, assigned accesses will not be annotated in the result. (optional)
|
||||
types := fmt.Sprintf(`ROLE,ACCESS_PROFILE`) // []RequestableObjectType | Filters the results to the specified type/types, where each type is one of `ROLE` or `ACCESS_PROFILE`. If absent, all types are returned. SailPoint may add support for additional types in the future without notice. (optional)
|
||||
types := []byte(`ROLE,ACCESS_PROFILE`) // []RequestableObjectType | Filters the results to the specified type/types, where each type is one of `ROLE` or `ACCESS_PROFILE`. If absent, all types are returned. SailPoint may add support for additional types in the future without notice. (optional)
|
||||
term := `Finance Role` // string | Allows searching requestable access items with a partial match on the name or description. If `term` is provided, then the API will ignore the `filter` query parameter. (optional) # string | Allows searching requestable access items with a partial match on the name or description. If `term` is provided, then the API will ignore the `filter` query parameter. (optional)
|
||||
statuses := fmt.Sprintf(`[ASSIGNED, PENDING]`) // []RequestableObjectRequestStatus | Filters the result to the specified status/statuses, where each status is one of `AVAILABLE`, `ASSIGNED`, or `PENDING`. Specifying this parameter without also specifying an `identity-id` parameter results in an error. SailPoint may add additional statuses in the future without notice. (optional)
|
||||
statuses := []byte(`[ASSIGNED, PENDING]`) // []RequestableObjectRequestStatus | Filters the result to the specified status/statuses, where each status is one of `AVAILABLE`, `ASSIGNED`, or `PENDING`. Specifying this parameter without also specifying an `identity-id` parameter results in an error. SailPoint may add additional statuses in the future without notice. (optional)
|
||||
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)
|
||||
offset := 0 // int32 | Offset into the full result set. Usually specified with *limit* to paginate through the results. See [V3 API Standard Collection Parameters](https://developer.sailpoint.com/idn/api/standard-collection-parameters) for more information. (optional) (default to 0) # int32 | Offset into the full result set. Usually specified with *limit* to paginate through the results. See [V3 API Standard Collection Parameters](https://developer.sailpoint.com/idn/api/standard-collection-parameters) for more information. (optional) (default to 0)
|
||||
count := true // bool | If *true* it will populate the *X-Total-Count* response header with the number of results that would be returned if *limit* and *offset* were ignored. Since requesting a total count can have a performance impact, it is recommended not to send **count=true** if that value will not be used. See [V3 API Standard Collection Parameters](https://developer.sailpoint.com/idn/api/standard-collection-parameters) for more information. (optional) (default to false) # bool | If *true* it will populate the *X-Total-Count* response header with the number of results that would be returned if *limit* and *offset* were ignored. Since requesting a total count can have a performance impact, it is recommended not to send **count=true** if that value will not be used. See [V3 API Standard Collection Parameters](https://developer.sailpoint.com/idn/api/standard-collection-parameters) for more information. (optional) (default to false)
|
||||
|
||||
@@ -111,7 +111,7 @@ import (
|
||||
)
|
||||
|
||||
func main() {
|
||||
data := []byte(`{
|
||||
role := []byte(`{
|
||||
"owner" : {
|
||||
"name" : "support",
|
||||
"id" : "2c9180a46faadee4016fb4e018c20639",
|
||||
@@ -273,7 +273,7 @@ func main() {
|
||||
|
||||
|
||||
var role beta.Role
|
||||
if err := json.Unmarshal(data, &role); err != nil {
|
||||
if err := json.Unmarshal(role, &role); err != nil {
|
||||
fmt.Println("Error:", err)
|
||||
return
|
||||
}
|
||||
@@ -340,13 +340,13 @@ import (
|
||||
)
|
||||
|
||||
func main() {
|
||||
data := []byte(`{
|
||||
rolebulkdeleterequest := []byte(`{
|
||||
"roleIds" : [ "2c9180847812e0b1017817051919ecca", "2c9180887812e0b201781e129f151816" ]
|
||||
}`) // RoleBulkDeleteRequest |
|
||||
|
||||
|
||||
var roleBulkDeleteRequest beta.RoleBulkDeleteRequest
|
||||
if err := json.Unmarshal(data, &roleBulkDeleteRequest); err != nil {
|
||||
if err := json.Unmarshal(rolebulkdeleterequest, &roleBulkDeleteRequest); err != nil {
|
||||
fmt.Println("Error:", err)
|
||||
return
|
||||
}
|
||||
@@ -799,11 +799,11 @@ import (
|
||||
|
||||
func main() {
|
||||
id := `2c91808a7813090a017814121e121518` // string | ID of the Role to patch # string | ID of the Role to patch
|
||||
jsonPatchOperation := fmt.Sprintf(`[{op=replace, path=/requestable, value=true}, {op=replace, path=/enabled, value=true}]`) // []JsonPatchOperation |
|
||||
jsonpatchoperation := []byte(`[{op=replace, path=/requestable, value=true}, {op=replace, path=/enabled, value=true}]`) // []JsonPatchOperation |
|
||||
|
||||
|
||||
var jsonPatchOperation beta.JsonPatchOperation
|
||||
if err := json.Unmarshal(data, &jsonPatchOperation); err != nil {
|
||||
var jsonPatchOperation beta.[]JsonPatchOperation
|
||||
if err := json.Unmarshal(jsonpatchoperation, &jsonPatchOperation); err != nil {
|
||||
fmt.Println("Error:", err)
|
||||
return
|
||||
}
|
||||
|
||||
@@ -74,7 +74,7 @@ import (
|
||||
)
|
||||
|
||||
func main() {
|
||||
data := []byte(`{
|
||||
simintegrationdetails := []byte(`{
|
||||
"cluster" : "xyzzy999",
|
||||
"statusMap" : "{closed_cancelled=Failed, closed_complete=Committed, closed_incomplete=Failed, closed_rejected=Failed, in_process=Queued, requested=Queued}",
|
||||
"request" : "{description=SailPoint Access Request,, req_description=The Service Request created by SailPoint ServiceNow Service Integration Module (SIM).,, req_short_description=SailPoint New Access Request Created from IdentityNow,, short_description=SailPoint Access Request $!plan.arguments.identityRequestId}",
|
||||
@@ -95,7 +95,7 @@ func main() {
|
||||
|
||||
|
||||
var simIntegrationDetails beta.SimIntegrationDetails
|
||||
if err := json.Unmarshal(data, &simIntegrationDetails); err != nil {
|
||||
if err := json.Unmarshal(simintegrationdetails, &simIntegrationDetails); err != nil {
|
||||
fmt.Println("Error:", err)
|
||||
return
|
||||
}
|
||||
@@ -352,11 +352,11 @@ import (
|
||||
|
||||
func main() {
|
||||
id := `12345` // string | SIM integration id # string | SIM integration id
|
||||
data := []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.
|
||||
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(data, &jsonPatch); err != nil {
|
||||
if err := json.Unmarshal(jsonpatch, &jsonPatch); err != nil {
|
||||
fmt.Println("Error:", err)
|
||||
return
|
||||
}
|
||||
@@ -426,11 +426,11 @@ import (
|
||||
|
||||
func main() {
|
||||
id := `12345` // string | SIM integration id # string | SIM integration id
|
||||
data := []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
|
||||
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(data, &jsonPatch); err != nil {
|
||||
if err := json.Unmarshal(jsonpatch, &jsonPatch); err != nil {
|
||||
fmt.Println("Error:", err)
|
||||
return
|
||||
}
|
||||
@@ -500,7 +500,7 @@ import (
|
||||
|
||||
func main() {
|
||||
id := `12345` // string | The id of the integration. # string | The id of the integration.
|
||||
data := []byte(`{
|
||||
simintegrationdetails := []byte(`{
|
||||
"cluster" : "xyzzy999",
|
||||
"statusMap" : "{closed_cancelled=Failed, closed_complete=Committed, closed_incomplete=Failed, closed_rejected=Failed, in_process=Queued, requested=Queued}",
|
||||
"request" : "{description=SailPoint Access Request,, req_description=The Service Request created by SailPoint ServiceNow Service Integration Module (SIM).,, req_short_description=SailPoint New Access Request Created from IdentityNow,, short_description=SailPoint Access Request $!plan.arguments.identityRequestId}",
|
||||
@@ -521,7 +521,7 @@ func main() {
|
||||
|
||||
|
||||
var simIntegrationDetails beta.SimIntegrationDetails
|
||||
if err := json.Unmarshal(data, &simIntegrationDetails); err != nil {
|
||||
if err := json.Unmarshal(simintegrationdetails, &simIntegrationDetails); err != nil {
|
||||
fmt.Println("Error:", err)
|
||||
return
|
||||
}
|
||||
|
||||
@@ -106,7 +106,7 @@ import (
|
||||
)
|
||||
|
||||
func main() {
|
||||
data := []byte(`{
|
||||
sodpolicy := []byte(`{
|
||||
"conflictingAccessCriteria" : {
|
||||
"leftCriteria" : {
|
||||
"name" : "money-in",
|
||||
@@ -165,7 +165,7 @@ func main() {
|
||||
|
||||
|
||||
var sodPolicy beta.SodPolicy
|
||||
if err := json.Unmarshal(data, &sodPolicy); err != nil {
|
||||
if err := json.Unmarshal(sodpolicy, &sodPolicy); err != nil {
|
||||
fmt.Println("Error:", err)
|
||||
return
|
||||
}
|
||||
@@ -936,11 +936,11 @@ import (
|
||||
|
||||
func main() {
|
||||
id := `2c9180835d191a86015d28455b4a2329` // string | The ID of the SOD policy being modified. # string | The ID of the SOD policy being modified.
|
||||
requestBody := fmt.Sprintf(`[{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
|
||||
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
|
||||
if err := json.Unmarshal(data, &requestBody); err != nil {
|
||||
var requestBody beta.[]RequestBody
|
||||
if err := json.Unmarshal(requestbody, &requestBody); err != nil {
|
||||
fmt.Println("Error:", err)
|
||||
return
|
||||
}
|
||||
@@ -1014,7 +1014,7 @@ import (
|
||||
|
||||
func main() {
|
||||
id := `ef38f94347e94562b5bb8424a56397d8` // string | The ID of the SOD policy to update its schedule. # string | The ID of the SOD policy to update its schedule.
|
||||
data := []byte(`{
|
||||
sodpolicyschedule := []byte(`{
|
||||
"schedule" : {
|
||||
"hours" : {
|
||||
"accountMatchConfig" : {
|
||||
@@ -1103,7 +1103,7 @@ func main() {
|
||||
|
||||
|
||||
var sodPolicySchedule beta.SodPolicySchedule
|
||||
if err := json.Unmarshal(data, &sodPolicySchedule); err != nil {
|
||||
if err := json.Unmarshal(sodpolicyschedule, &sodPolicySchedule); err != nil {
|
||||
fmt.Println("Error:", err)
|
||||
return
|
||||
}
|
||||
@@ -1177,7 +1177,7 @@ import (
|
||||
|
||||
func main() {
|
||||
id := `ef38f94347e94562b5bb8424a56397d8` // string | The ID of the SOD policy to update. # string | The ID of the SOD policy to update.
|
||||
data := []byte(`{
|
||||
sodpolicy := []byte(`{
|
||||
"conflictingAccessCriteria" : {
|
||||
"leftCriteria" : {
|
||||
"name" : "money-in",
|
||||
@@ -1236,7 +1236,7 @@ func main() {
|
||||
|
||||
|
||||
var sodPolicy beta.SodPolicy
|
||||
if err := json.Unmarshal(data, &sodPolicy); err != nil {
|
||||
if err := json.Unmarshal(sodpolicy, &sodPolicy); err != nil {
|
||||
fmt.Println("Error:", err)
|
||||
return
|
||||
}
|
||||
@@ -1304,7 +1304,7 @@ import (
|
||||
)
|
||||
|
||||
func main() {
|
||||
data := []byte(`{
|
||||
multipolicyrequest := []byte(`{
|
||||
"filteredPolicyList" : [ "filteredPolicyList", "filteredPolicyList" ]
|
||||
}`) // MultiPolicyRequest | (optional)
|
||||
|
||||
|
||||
@@ -84,7 +84,7 @@ import (
|
||||
)
|
||||
|
||||
func main() {
|
||||
data := []byte(`{
|
||||
identitywithnewaccess := []byte(`{
|
||||
"identityId" : "2c91808568c529c60168cca6f90c1313",
|
||||
"accessRefs" : [ {
|
||||
"type" : "ENTITLEMENT",
|
||||
@@ -99,7 +99,7 @@ func main() {
|
||||
|
||||
|
||||
var identityWithNewAccess beta.IdentityWithNewAccess
|
||||
if err := json.Unmarshal(data, &identityWithNewAccess); err != nil {
|
||||
if err := json.Unmarshal(identitywithnewaccess, &identityWithNewAccess); err != nil {
|
||||
fmt.Println("Error:", err)
|
||||
return
|
||||
}
|
||||
|
||||
@@ -68,13 +68,13 @@ import (
|
||||
)
|
||||
|
||||
func main() {
|
||||
data := []byte(`{
|
||||
exportpayload := []byte(`{
|
||||
"description" : "Export Job 1 Test"
|
||||
}`) // ExportPayload | Export options control what will be included in the export.
|
||||
|
||||
|
||||
var exportPayload beta.ExportPayload
|
||||
if err := json.Unmarshal(data, &exportPayload); err != nil {
|
||||
if err := json.Unmarshal(exportpayload, &exportPayload); err != nil {
|
||||
fmt.Println("Error:", err)
|
||||
return
|
||||
}
|
||||
@@ -423,7 +423,7 @@ import (
|
||||
func main() {
|
||||
data := BINARY_DATA_HERE // *os.File | JSON file containing the objects to be imported. # *os.File | JSON file containing the objects to be imported.
|
||||
preview := true // bool | This option is intended to give the user information about how an import operation would proceed, without having any effect on the target tenant. If this parameter is \"true\", no objects will be imported. Instead, the import process will pre-process the import file and attempt to resolve references within imported objects. The import result file will contain messages pertaining to how specific references were resolved, any errors associated with the preprocessing, and messages indicating which objects would be imported. (optional) (default to false) # bool | This option is intended to give the user information about how an import operation would proceed, without having any effect on the target tenant. If this parameter is \"true\", no objects will be imported. Instead, the import process will pre-process the import file and attempt to resolve references within imported objects. The import result file will contain messages pertaining to how specific references were resolved, any errors associated with the preprocessing, and messages indicating which objects would be imported. (optional) (default to false)
|
||||
data := []byte(``) // ImportOptions | (optional)
|
||||
options := []byte(``) // ImportOptions | (optional)
|
||||
|
||||
|
||||
|
||||
|
||||
@@ -84,7 +84,7 @@ import (
|
||||
)
|
||||
|
||||
func main() {
|
||||
data := []byte(`{
|
||||
searchattributeconfig := []byte(`{
|
||||
"displayName" : "New Mail Attribute",
|
||||
"name" : "newMailAttribute",
|
||||
"applicationAttributes" : {
|
||||
@@ -95,7 +95,7 @@ func main() {
|
||||
|
||||
|
||||
var searchAttributeConfig beta.SearchAttributeConfig
|
||||
if err := json.Unmarshal(data, &searchAttributeConfig); err != nil {
|
||||
if err := json.Unmarshal(searchattributeconfig, &searchAttributeConfig); err != nil {
|
||||
fmt.Println("Error:", err)
|
||||
return
|
||||
}
|
||||
@@ -362,11 +362,11 @@ import (
|
||||
|
||||
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 := fmt.Sprintf(`[{op=replace, path=/name, value=newAttributeName}, {op=replace, path=/displayName, value=new attribute display name}, {op=add, path=/applicationAttributes, value={2c91808b79fd2422017a0b35d30f3968=employeeNumber}}]`) // []JsonPatchOperation |
|
||||
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
|
||||
if err := json.Unmarshal(data, &jsonPatchOperation); err != nil {
|
||||
var jsonPatchOperation beta.[]JsonPatchOperation
|
||||
if err := json.Unmarshal(jsonpatchoperation, &jsonPatchOperation); err != nil {
|
||||
fmt.Println("Error:", err)
|
||||
return
|
||||
}
|
||||
|
||||
@@ -84,7 +84,7 @@ import (
|
||||
)
|
||||
|
||||
func main() {
|
||||
data := []byte(`{
|
||||
segment := []byte(`{
|
||||
"owner" : {
|
||||
"name" : "support",
|
||||
"id" : "2c9180a46faadee4016fb4e018c20639",
|
||||
@@ -111,7 +111,7 @@ func main() {
|
||||
|
||||
|
||||
var segment beta.Segment
|
||||
if err := json.Unmarshal(data, &segment); err != nil {
|
||||
if err := json.Unmarshal(segment, &segment); err != nil {
|
||||
fmt.Println("Error:", err)
|
||||
return
|
||||
}
|
||||
@@ -383,11 +383,11 @@ import (
|
||||
|
||||
func main() {
|
||||
id := `ef38f94347e94562b5bb8424a56397d8` // string | The segment ID to modify. # string | The segment ID to modify.
|
||||
requestBody := fmt.Sprintf(`[{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
|
||||
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
|
||||
if err := json.Unmarshal(data, &requestBody); err != nil {
|
||||
var requestBody beta.[]RequestBody
|
||||
if err := json.Unmarshal(requestbody, &requestBody); err != nil {
|
||||
fmt.Println("Error:", err)
|
||||
return
|
||||
}
|
||||
|
||||
@@ -94,7 +94,7 @@ import (
|
||||
)
|
||||
|
||||
func main() {
|
||||
data := []byte(`{
|
||||
servicedeskintegrationdto := []byte(`{
|
||||
"ownerRef" : "",
|
||||
"cluster" : "xyzzy999",
|
||||
"managedSources" : [ "2c9180835d191a86015d28455b4a2329", "2c5680835d191a85765d28455b4a9823" ],
|
||||
@@ -128,7 +128,7 @@ func main() {
|
||||
|
||||
|
||||
var serviceDeskIntegrationDto beta.ServiceDeskIntegrationDto
|
||||
if err := json.Unmarshal(data, &serviceDeskIntegrationDto); err != nil {
|
||||
if err := json.Unmarshal(servicedeskintegrationdto, &serviceDeskIntegrationDto); err != nil {
|
||||
fmt.Println("Error:", err)
|
||||
return
|
||||
}
|
||||
@@ -578,11 +578,11 @@ import (
|
||||
|
||||
func main() {
|
||||
id := `anId` // string | ID of the Service Desk integration to update # string | ID of the Service Desk integration to update
|
||||
jsonPatchOperation := fmt.Sprintf(``) // []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.
|
||||
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
|
||||
if err := json.Unmarshal(data, &jsonPatchOperation); err != nil {
|
||||
var jsonPatchOperation beta.[]JsonPatchOperation
|
||||
if err := json.Unmarshal(jsonpatchoperation, &jsonPatchOperation); err != nil {
|
||||
fmt.Println("Error:", err)
|
||||
return
|
||||
}
|
||||
@@ -652,7 +652,7 @@ import (
|
||||
|
||||
func main() {
|
||||
id := `anId` // string | ID of the Service Desk integration to update # string | ID of the Service Desk integration to update
|
||||
data := []byte(`{
|
||||
servicedeskintegrationdto := []byte(`{
|
||||
"ownerRef" : "",
|
||||
"cluster" : "xyzzy999",
|
||||
"managedSources" : [ "2c9180835d191a86015d28455b4a2329", "2c5680835d191a85765d28455b4a9823" ],
|
||||
@@ -686,7 +686,7 @@ func main() {
|
||||
|
||||
|
||||
var serviceDeskIntegrationDto beta.ServiceDeskIntegrationDto
|
||||
if err := json.Unmarshal(data, &serviceDeskIntegrationDto); err != nil {
|
||||
if err := json.Unmarshal(servicedeskintegrationdto, &serviceDeskIntegrationDto); err != nil {
|
||||
fmt.Println("Error:", err)
|
||||
return
|
||||
}
|
||||
@@ -750,14 +750,14 @@ import (
|
||||
)
|
||||
|
||||
func main() {
|
||||
data := []byte(`{
|
||||
queuedcheckconfigdetails := []byte(`{
|
||||
"provisioningStatusCheckIntervalMinutes" : "30",
|
||||
"provisioningMaxStatusCheckDays" : "2"
|
||||
}`) // QueuedCheckConfigDetails | The modified time check configuration
|
||||
|
||||
|
||||
var queuedCheckConfigDetails beta.QueuedCheckConfigDetails
|
||||
if err := json.Unmarshal(data, &queuedCheckConfigDetails); err != nil {
|
||||
if err := json.Unmarshal(queuedcheckconfigdetails, &queuedCheckConfigDetails); err != nil {
|
||||
fmt.Println("Error:", err)
|
||||
return
|
||||
}
|
||||
|
||||
@@ -168,7 +168,7 @@ import (
|
||||
|
||||
func main() {
|
||||
sourceId := `2c9180835d191a86015d28455b4a2329` // string | The Source id # string | The Source id
|
||||
data := []byte(`{
|
||||
provisioningpolicydto := []byte(`{
|
||||
"name" : "example provisioning policy for inactive identities",
|
||||
"description" : "this provisioning policy creates access based on an identity going inactive",
|
||||
"fields" : [ {
|
||||
@@ -211,7 +211,7 @@ func main() {
|
||||
|
||||
|
||||
var provisioningPolicyDto beta.ProvisioningPolicyDto
|
||||
if err := json.Unmarshal(data, &provisioningPolicyDto); err != nil {
|
||||
if err := json.Unmarshal(provisioningpolicydto, &provisioningPolicyDto); err != nil {
|
||||
fmt.Println("Error:", err)
|
||||
return
|
||||
}
|
||||
@@ -277,7 +277,7 @@ import (
|
||||
)
|
||||
|
||||
func main() {
|
||||
data := []byte(`{
|
||||
source := []byte(`{
|
||||
"cluster" : {
|
||||
"name" : "Corporate Cluster",
|
||||
"id" : "2c9180866166b5b0016167c32ef31a66",
|
||||
@@ -364,7 +364,7 @@ func main() {
|
||||
|
||||
|
||||
var source beta.Source
|
||||
if err := json.Unmarshal(data, &source); err != nil {
|
||||
if err := json.Unmarshal(source, &source); err != nil {
|
||||
fmt.Println("Error:", err)
|
||||
return
|
||||
}
|
||||
@@ -434,7 +434,7 @@ import (
|
||||
|
||||
func main() {
|
||||
sourceId := `2c9180835d191a86015d28455b4a2329` // string | Source ID. # string | Source ID.
|
||||
data := []byte(`{
|
||||
schema := []byte(`{
|
||||
"features" : [ "PROVISIONING", "NO_PERMISSIONS_PROVISIONING", "GROUPS_HAVE_MEMBERS" ],
|
||||
"nativeObjectType" : "User",
|
||||
"configuration" : {
|
||||
@@ -471,7 +471,7 @@ func main() {
|
||||
|
||||
|
||||
var schema beta.Schema
|
||||
if err := json.Unmarshal(data, &schema); err != nil {
|
||||
if err := json.Unmarshal(schema, &schema); err != nil {
|
||||
fmt.Println("Error:", err)
|
||||
return
|
||||
}
|
||||
@@ -2189,14 +2189,14 @@ import (
|
||||
|
||||
func main() {
|
||||
sourceId := `cef3ee201db947c5912551015ba0c679` // string | The ID of the Source # string | The ID of the Source
|
||||
data := []byte(`{
|
||||
resourceobjectsrequest := []byte(`{
|
||||
"maxCount" : 100,
|
||||
"objectType" : "group"
|
||||
}`) // ResourceObjectsRequest |
|
||||
|
||||
|
||||
var resourceObjectsRequest beta.ResourceObjectsRequest
|
||||
if err := json.Unmarshal(data, &resourceObjectsRequest); err != nil {
|
||||
if err := json.Unmarshal(resourceobjectsrequest, &resourceObjectsRequest); err != nil {
|
||||
fmt.Println("Error:", err)
|
||||
return
|
||||
}
|
||||
@@ -2333,7 +2333,7 @@ import (
|
||||
|
||||
func main() {
|
||||
sourceId := `2c9180835d191a86015d28455b4a2329` // string | The source id # string | The source id
|
||||
data := []byte(`{
|
||||
correlationconfig := []byte(`{
|
||||
"attributeAssignments" : [ {
|
||||
"filterString" : "first_name == \"John\"",
|
||||
"ignoreCase" : false,
|
||||
@@ -2357,7 +2357,7 @@ func main() {
|
||||
|
||||
|
||||
var correlationConfig beta.CorrelationConfig
|
||||
if err := json.Unmarshal(data, &correlationConfig); err != nil {
|
||||
if err := json.Unmarshal(correlationconfig, &correlationConfig); err != nil {
|
||||
fmt.Println("Error:", err)
|
||||
return
|
||||
}
|
||||
@@ -2429,7 +2429,7 @@ import (
|
||||
|
||||
func main() {
|
||||
sourceId := `2c9180835d191a86015d28455b4a2329` // string | The source id # string | The source id
|
||||
data := []byte(`{
|
||||
nativechangedetectionconfig := []byte(`{
|
||||
"selectedEntitlements" : [ "memberOf", "memberOfSharedMailbox" ],
|
||||
"operations" : [ "ACCOUNT_UPDATED", "ACCOUNT_DELETED" ],
|
||||
"selectedNonEntitlementAttributes" : [ "lastName", "phoneNumber", "objectType", "servicePrincipalName" ],
|
||||
@@ -2440,7 +2440,7 @@ func main() {
|
||||
|
||||
|
||||
var nativeChangeDetectionConfig beta.NativeChangeDetectionConfig
|
||||
if err := json.Unmarshal(data, &nativeChangeDetectionConfig); err != nil {
|
||||
if err := json.Unmarshal(nativechangedetectionconfig, &nativeChangeDetectionConfig); err != nil {
|
||||
fmt.Println("Error:", err)
|
||||
return
|
||||
}
|
||||
@@ -2515,7 +2515,7 @@ import (
|
||||
func main() {
|
||||
sourceId := `2c9180835d191a86015d28455b4a2329` // string | The Source ID. # string | The Source ID.
|
||||
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.
|
||||
data := []byte(`{
|
||||
provisioningpolicydto := []byte(`{
|
||||
"name" : "example provisioning policy for inactive identities",
|
||||
"description" : "this provisioning policy creates access based on an identity going inactive",
|
||||
"fields" : [ {
|
||||
@@ -2558,7 +2558,7 @@ func main() {
|
||||
|
||||
|
||||
var provisioningPolicyDto beta.ProvisioningPolicyDto
|
||||
if err := json.Unmarshal(data, &provisioningPolicyDto); err != nil {
|
||||
if err := json.Unmarshal(provisioningpolicydto, &provisioningPolicyDto); err != nil {
|
||||
fmt.Println("Error:", err)
|
||||
return
|
||||
}
|
||||
@@ -2642,7 +2642,7 @@ import (
|
||||
|
||||
func main() {
|
||||
id := `2c9180835d191a86015d28455b4a2329` // string | Source ID. # string | Source ID.
|
||||
data := []byte(`{
|
||||
source := []byte(`{
|
||||
"cluster" : {
|
||||
"name" : "Corporate Cluster",
|
||||
"id" : "2c9180866166b5b0016167c32ef31a66",
|
||||
@@ -2728,7 +2728,7 @@ func main() {
|
||||
|
||||
|
||||
var source beta.Source
|
||||
if err := json.Unmarshal(data, &source); err != nil {
|
||||
if err := json.Unmarshal(source, &source); err != nil {
|
||||
fmt.Println("Error:", err)
|
||||
return
|
||||
}
|
||||
@@ -2800,7 +2800,7 @@ import (
|
||||
|
||||
func main() {
|
||||
id := `2c9180835d191a86015d28455b4a2329` // string | The source id # string | The source id
|
||||
data := []byte(`{
|
||||
attrsyncsourceconfig := []byte(`{
|
||||
"attributes" : [ {
|
||||
"name" : "email",
|
||||
"displayName" : "Email",
|
||||
@@ -2821,7 +2821,7 @@ func main() {
|
||||
|
||||
|
||||
var attrSyncSourceConfig beta.AttrSyncSourceConfig
|
||||
if err := json.Unmarshal(data, &attrSyncSourceConfig); err != nil {
|
||||
if err := json.Unmarshal(attrsyncsourceconfig, &attrSyncSourceConfig); err != nil {
|
||||
fmt.Println("Error:", err)
|
||||
return
|
||||
}
|
||||
@@ -2899,7 +2899,7 @@ import (
|
||||
func main() {
|
||||
sourceId := `2c9180835d191a86015d28455b4a2329` // string | The Source ID. # string | The Source ID.
|
||||
schemaId := `2c9180835d191a86015d28455b4a2329` // string | The Schema ID. # string | The Schema ID.
|
||||
data := []byte(`{
|
||||
schema := []byte(`{
|
||||
"features" : [ "PROVISIONING", "NO_PERMISSIONS_PROVISIONING", "GROUPS_HAVE_MEMBERS" ],
|
||||
"nativeObjectType" : "User",
|
||||
"configuration" : {
|
||||
@@ -2936,7 +2936,7 @@ func main() {
|
||||
|
||||
|
||||
var schema beta.Schema
|
||||
if err := json.Unmarshal(data, &schema); err != nil {
|
||||
if err := json.Unmarshal(schema, &schema); err != nil {
|
||||
fmt.Println("Error:", err)
|
||||
return
|
||||
}
|
||||
@@ -3207,11 +3207,11 @@ import (
|
||||
|
||||
func main() {
|
||||
sourceId := `2c9180835d191a86015d28455b4a2329` // string | The Source id. # string | The Source id.
|
||||
provisioningPolicyDto := fmt.Sprintf(``) // []ProvisioningPolicyDto |
|
||||
provisioningpolicydto := []byte(``) // []ProvisioningPolicyDto |
|
||||
|
||||
|
||||
var provisioningPolicyDto beta.ProvisioningPolicyDto
|
||||
if err := json.Unmarshal(data, &provisioningPolicyDto); err != nil {
|
||||
var provisioningPolicyDto beta.[]ProvisioningPolicyDto
|
||||
if err := json.Unmarshal(provisioningpolicydto, &provisioningPolicyDto); err != nil {
|
||||
fmt.Println("Error:", err)
|
||||
return
|
||||
}
|
||||
@@ -3286,11 +3286,11 @@ import (
|
||||
func main() {
|
||||
sourceId := `2c9180835d191a86015d28455b4a2329` // string | The Source id. # string | The Source id.
|
||||
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 := fmt.Sprintf(`[{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.
|
||||
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
|
||||
if err := json.Unmarshal(data, &jsonPatchOperation); err != nil {
|
||||
var jsonPatchOperation beta.[]JsonPatchOperation
|
||||
if err := json.Unmarshal(jsonpatchoperation, &jsonPatchOperation); err != nil {
|
||||
fmt.Println("Error:", err)
|
||||
return
|
||||
}
|
||||
@@ -3376,11 +3376,11 @@ import (
|
||||
|
||||
func main() {
|
||||
id := `2c9180835d191a86015d28455b4a2329` // string | Source ID. # string | Source ID.
|
||||
jsonPatchOperation := fmt.Sprintf(`[{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).
|
||||
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
|
||||
if err := json.Unmarshal(data, &jsonPatchOperation); err != nil {
|
||||
var jsonPatchOperation beta.[]JsonPatchOperation
|
||||
if err := json.Unmarshal(jsonpatchoperation, &jsonPatchOperation); err != nil {
|
||||
fmt.Println("Error:", err)
|
||||
return
|
||||
}
|
||||
@@ -3456,7 +3456,7 @@ import (
|
||||
|
||||
func main() {
|
||||
sourceId := `8c190e6787aa4ed9a90bd9d5344523fb` // string | The Source id # string | The Source id
|
||||
data := []byte(`{
|
||||
sourceentitlementrequestconfig := []byte(`{
|
||||
"accessRequestConfig" : {
|
||||
"denialCommentRequired" : false,
|
||||
"approvalSchemes" : [ {
|
||||
@@ -3472,7 +3472,7 @@ func main() {
|
||||
|
||||
|
||||
var sourceEntitlementRequestConfig beta.SourceEntitlementRequestConfig
|
||||
if err := json.Unmarshal(data, &sourceEntitlementRequestConfig); err != nil {
|
||||
if err := json.Unmarshal(sourceentitlementrequestconfig, &sourceEntitlementRequestConfig); err != nil {
|
||||
fmt.Println("Error:", err)
|
||||
return
|
||||
}
|
||||
@@ -3574,11 +3574,11 @@ import (
|
||||
func main() {
|
||||
sourceId := `2c9180835d191a86015d28455b4a2329` // string | The Source id. # string | The Source id.
|
||||
schemaId := `2c9180835d191a86015d28455b4a2329` // string | The Schema id. # string | The Schema id.
|
||||
jsonPatchOperation := fmt.Sprintf(`[{op=replace, path=/displayAttribute, value={new-display-attribute=null}}]`) // []JsonPatchOperation | The JSONPatch payload used to update the schema.
|
||||
jsonpatchoperation := []byte(`[{op=replace, path=/displayAttribute, value={new-display-attribute=null}}]`) // []JsonPatchOperation | The JSONPatch payload used to update the schema.
|
||||
|
||||
|
||||
var jsonPatchOperation beta.JsonPatchOperation
|
||||
if err := json.Unmarshal(data, &jsonPatchOperation); err != nil {
|
||||
var jsonPatchOperation beta.[]JsonPatchOperation
|
||||
if err := json.Unmarshal(jsonpatchoperation, &jsonPatchOperation); err != nil {
|
||||
fmt.Println("Error:", err)
|
||||
return
|
||||
}
|
||||
|
||||
@@ -292,11 +292,11 @@ import (
|
||||
|
||||
func main() {
|
||||
id := `ebab396f-0af1-4050-89b7-dafc63ec70e7` // string | id is sed id # string | id is sed id
|
||||
sedPatch := fmt.Sprintf(``) // []SedPatch | Sed Patch Request
|
||||
sedpatch := []byte(``) // []SedPatch | Sed Patch Request
|
||||
|
||||
|
||||
var sedPatch beta.SedPatch
|
||||
if err := json.Unmarshal(data, &sedPatch); err != nil {
|
||||
var sedPatch beta.[]SedPatch
|
||||
if err := json.Unmarshal(sedpatch, &sedPatch); err != nil {
|
||||
fmt.Println("Error:", err)
|
||||
return
|
||||
}
|
||||
@@ -361,11 +361,11 @@ import (
|
||||
)
|
||||
|
||||
func main() {
|
||||
sedApproval := fmt.Sprintf(``) // []SedApproval | Sed Approval
|
||||
sedapproval := []byte(``) // []SedApproval | Sed Approval
|
||||
|
||||
|
||||
var sedApproval beta.SedApproval
|
||||
if err := json.Unmarshal(data, &sedApproval); err != nil {
|
||||
var sedApproval beta.[]SedApproval
|
||||
if err := json.Unmarshal(sedapproval, &sedApproval); err != nil {
|
||||
fmt.Println("Error:", err)
|
||||
return
|
||||
}
|
||||
@@ -430,7 +430,7 @@ import (
|
||||
)
|
||||
|
||||
func main() {
|
||||
data := []byte(`{
|
||||
sedassignment := []byte(`{
|
||||
"assignee" : {
|
||||
"type" : "SOURCE_OWNER",
|
||||
"value" : "016629d1-1d25-463f-97f3-c6686846650"
|
||||
@@ -440,7 +440,7 @@ func main() {
|
||||
|
||||
|
||||
var sedAssignment beta.SedAssignment
|
||||
if err := json.Unmarshal(data, &sedAssignment); err != nil {
|
||||
if err := json.Unmarshal(sedassignment, &sedAssignment); err != nil {
|
||||
fmt.Println("Error:", err)
|
||||
return
|
||||
}
|
||||
@@ -508,7 +508,7 @@ import (
|
||||
)
|
||||
|
||||
func main() {
|
||||
data := []byte(`{
|
||||
sedbatchrequest := []byte(`{
|
||||
"entitlements" : [ "016629d1-1d25-463f-97f3-c6686846650", "016629d1-1d25-463f-97f3-c6686846650" ],
|
||||
"seds" : [ "016629d1-1d25-463f-97f3-c6686846650", "016629d1-1d25-463f-97f3-c6686846650" ]
|
||||
}`) // SedBatchRequest | Sed Batch Request (optional)
|
||||
|
||||
@@ -190,7 +190,7 @@ import (
|
||||
)
|
||||
|
||||
func main() {
|
||||
data := []byte(`{
|
||||
bulktaggedobject := []byte(`{
|
||||
"objectRefs" : [ {
|
||||
"name" : "William Wilson",
|
||||
"id" : "2c91808568c529c60168cca6f90c1313",
|
||||
@@ -206,7 +206,7 @@ func main() {
|
||||
|
||||
|
||||
var bulkTaggedObject beta.BulkTaggedObject
|
||||
if err := json.Unmarshal(data, &bulkTaggedObject); err != nil {
|
||||
if err := json.Unmarshal(bulktaggedobject, &bulkTaggedObject); err != nil {
|
||||
fmt.Println("Error:", err)
|
||||
return
|
||||
}
|
||||
@@ -492,7 +492,7 @@ import (
|
||||
func main() {
|
||||
type_ := `ROLE` // string | The type of tagged object to update. # string | The type of tagged object to update.
|
||||
id := `ef38f94347e94562b5bb8424a56397d8` // string | The ID of the object reference to update. # string | The ID of the object reference to update.
|
||||
data := []byte(`{
|
||||
taggedobject := []byte(`{
|
||||
"objectRef" : {
|
||||
"name" : "William Wilson",
|
||||
"id" : "2c91808568c529c60168cca6f90c1313",
|
||||
@@ -503,7 +503,7 @@ func main() {
|
||||
|
||||
|
||||
var taggedObject beta.TaggedObject
|
||||
if err := json.Unmarshal(data, &taggedObject); err != nil {
|
||||
if err := json.Unmarshal(taggedobject, &taggedObject); err != nil {
|
||||
fmt.Println("Error:", err)
|
||||
return
|
||||
}
|
||||
@@ -569,7 +569,7 @@ import (
|
||||
)
|
||||
|
||||
func main() {
|
||||
data := []byte(`{
|
||||
taggedobject := []byte(`{
|
||||
"objectRef" : {
|
||||
"name" : "William Wilson",
|
||||
"id" : "2c91808568c529c60168cca6f90c1313",
|
||||
@@ -580,7 +580,7 @@ func main() {
|
||||
|
||||
|
||||
var taggedObject beta.TaggedObject
|
||||
if err := json.Unmarshal(data, &taggedObject); err != nil {
|
||||
if err := json.Unmarshal(taggedobject, &taggedObject); err != nil {
|
||||
fmt.Println("Error:", err)
|
||||
return
|
||||
}
|
||||
@@ -644,7 +644,7 @@ import (
|
||||
)
|
||||
|
||||
func main() {
|
||||
data := []byte(`{
|
||||
bulktaggedobject := []byte(`{
|
||||
"objectRefs" : [ {
|
||||
"name" : "William Wilson",
|
||||
"id" : "2c91808568c529c60168cca6f90c1313",
|
||||
@@ -660,7 +660,7 @@ func main() {
|
||||
|
||||
|
||||
var bulkTaggedObject beta.BulkTaggedObject
|
||||
if err := json.Unmarshal(data, &bulkTaggedObject); err != nil {
|
||||
if err := json.Unmarshal(bulktaggedobject, &bulkTaggedObject); err != nil {
|
||||
fmt.Println("Error:", err)
|
||||
return
|
||||
}
|
||||
|
||||
@@ -67,7 +67,7 @@ import (
|
||||
)
|
||||
|
||||
func main() {
|
||||
data := []byte(`{
|
||||
tag := []byte(`{
|
||||
"created" : "2022-05-04T14:48:49Z",
|
||||
"tagCategoryRefs" : [ {
|
||||
"name" : "CN=entitlement.490efde5,OU=OrgCo,OU=ServiceDept,DC=HQAD,DC=local",
|
||||
@@ -85,7 +85,7 @@ func main() {
|
||||
|
||||
|
||||
var tag beta.Tag
|
||||
if err := json.Unmarshal(data, &tag); err != nil {
|
||||
if err := json.Unmarshal(tag, &tag); err != nil {
|
||||
fmt.Println("Error:", err)
|
||||
return
|
||||
}
|
||||
|
||||
@@ -338,11 +338,11 @@ import (
|
||||
|
||||
func main() {
|
||||
id := `00eebcf881994e419d72e757fd30dc0e` // string | Task ID. # string | Task ID.
|
||||
jsonPatchOperation := fmt.Sprintf(``) // []JsonPatchOperation | The JSONPatch payload used to update the object.
|
||||
jsonpatchoperation := []byte(``) // []JsonPatchOperation | The JSONPatch payload used to update the object.
|
||||
|
||||
|
||||
var jsonPatchOperation beta.JsonPatchOperation
|
||||
if err := json.Unmarshal(data, &jsonPatchOperation); err != nil {
|
||||
var jsonPatchOperation beta.[]JsonPatchOperation
|
||||
if err := json.Unmarshal(jsonpatchoperation, &jsonPatchOperation); err != nil {
|
||||
fmt.Println("Error:", err)
|
||||
return
|
||||
}
|
||||
|
||||
@@ -70,7 +70,7 @@ import (
|
||||
)
|
||||
|
||||
func main() {
|
||||
data := []byte(`{
|
||||
transform := []byte(`{
|
||||
"name" : "Timestamp To Date",
|
||||
"attributes" : "{}",
|
||||
"type" : "dateFormat"
|
||||
@@ -78,7 +78,7 @@ func main() {
|
||||
|
||||
|
||||
var transform beta.Transform
|
||||
if err := json.Unmarshal(data, &transform); err != nil {
|
||||
if err := json.Unmarshal(transform, &transform); err != nil {
|
||||
fmt.Println("Error:", err)
|
||||
return
|
||||
}
|
||||
@@ -352,7 +352,7 @@ import (
|
||||
|
||||
func main() {
|
||||
id := `2cd78adghjkja34jh2b1hkjhasuecd` // string | ID of the transform to update # string | ID of the transform to update
|
||||
data := []byte(`{
|
||||
transform := []byte(`{
|
||||
"name" : "Timestamp To Date",
|
||||
"attributes" : "{}",
|
||||
"type" : "dateFormat"
|
||||
|
||||
@@ -117,7 +117,7 @@ import (
|
||||
|
||||
func main() {
|
||||
id := `0f11f2a4-7c94-4bf3-a2bd-742580fe3bde` // string | The ID of the invocation to complete. # string | The ID of the invocation to complete.
|
||||
data := []byte(`{
|
||||
completeinvocation := []byte(`{
|
||||
"output" : {
|
||||
"approved" : false
|
||||
},
|
||||
@@ -127,7 +127,7 @@ func main() {
|
||||
|
||||
|
||||
var completeInvocation beta.CompleteInvocation
|
||||
if err := json.Unmarshal(data, &completeInvocation); err != nil {
|
||||
if err := json.Unmarshal(completeinvocation, &completeInvocation); err != nil {
|
||||
fmt.Println("Error:", err)
|
||||
return
|
||||
}
|
||||
@@ -191,7 +191,7 @@ import (
|
||||
)
|
||||
|
||||
func main() {
|
||||
data := []byte(`{
|
||||
subscriptionpostrequest := []byte(`{
|
||||
"filter" : "$[?($.identityId == \"201327fda1c44704ac01181e963d463c\")]",
|
||||
"httpConfig" : {
|
||||
"bearerTokenAuthConfig" : {
|
||||
@@ -219,7 +219,7 @@ func main() {
|
||||
|
||||
|
||||
var subscriptionPostRequest beta.SubscriptionPostRequest
|
||||
if err := json.Unmarshal(data, &subscriptionPostRequest); err != nil {
|
||||
if err := json.Unmarshal(subscriptionpostrequest, &subscriptionPostRequest); err != nil {
|
||||
fmt.Println("Error:", err)
|
||||
return
|
||||
}
|
||||
@@ -567,11 +567,11 @@ import (
|
||||
|
||||
func main() {
|
||||
id := `0f11f2a4-7c94-4bf3-a2bd-742580fe3bde` // string | ID of the Subscription to patch # string | ID of the Subscription to patch
|
||||
subscriptionPatchRequestInner := fmt.Sprintf(``) // []SubscriptionPatchRequestInner |
|
||||
subscriptionpatchrequestinner := []byte(``) // []SubscriptionPatchRequestInner |
|
||||
|
||||
|
||||
var subscriptionPatchRequestInner beta.SubscriptionPatchRequestInner
|
||||
if err := json.Unmarshal(data, &subscriptionPatchRequestInner); err != nil {
|
||||
var subscriptionPatchRequestInner beta.[]SubscriptionPatchRequestInner
|
||||
if err := json.Unmarshal(subscriptionpatchrequestinner, &subscriptionPatchRequestInner); err != nil {
|
||||
fmt.Println("Error:", err)
|
||||
return
|
||||
}
|
||||
@@ -635,7 +635,7 @@ import (
|
||||
)
|
||||
|
||||
func main() {
|
||||
data := []byte(`{
|
||||
testinvocation := []byte(`{
|
||||
"input" : {
|
||||
"identityId" : "201327fda1c44704ac01181e963d463c"
|
||||
},
|
||||
@@ -648,7 +648,7 @@ func main() {
|
||||
|
||||
|
||||
var testInvocation beta.TestInvocation
|
||||
if err := json.Unmarshal(data, &testInvocation); err != nil {
|
||||
if err := json.Unmarshal(testinvocation, &testInvocation); err != nil {
|
||||
fmt.Println("Error:", err)
|
||||
return
|
||||
}
|
||||
@@ -713,7 +713,7 @@ import (
|
||||
)
|
||||
|
||||
func main() {
|
||||
data := []byte(`{
|
||||
validatefilterinputdto := []byte(`{
|
||||
"filter" : "$[?($.identityId == \"201327fda1c44704ac01181e963d463c\")]",
|
||||
"input" : {
|
||||
"identityId" : "201327fda1c44704ac01181e963d463c"
|
||||
@@ -722,7 +722,7 @@ func main() {
|
||||
|
||||
|
||||
var validateFilterInputDto beta.ValidateFilterInputDto
|
||||
if err := json.Unmarshal(data, &validateFilterInputDto); err != nil {
|
||||
if err := json.Unmarshal(validatefilterinputdto, &validateFilterInputDto); err != nil {
|
||||
fmt.Println("Error:", err)
|
||||
return
|
||||
}
|
||||
@@ -801,7 +801,7 @@ import (
|
||||
|
||||
func main() {
|
||||
id := `0f11f2a4-7c94-4bf3-a2bd-742580fe3bde` // string | Subscription ID # string | Subscription ID
|
||||
data := []byte(`{
|
||||
subscriptionputrequest := []byte(`{
|
||||
"filter" : "$[?($.identityId == \"201327fda1c44704ac01181e963d463c\")]",
|
||||
"httpConfig" : {
|
||||
"bearerTokenAuthConfig" : {
|
||||
@@ -828,7 +828,7 @@ func main() {
|
||||
|
||||
|
||||
var subscriptionPutRequest beta.SubscriptionPutRequest
|
||||
if err := json.Unmarshal(data, &subscriptionPutRequest); err != nil {
|
||||
if err := json.Unmarshal(subscriptionputrequest, &subscriptionPutRequest); err != nil {
|
||||
fmt.Println("Error:", err)
|
||||
return
|
||||
}
|
||||
|
||||
@@ -122,7 +122,7 @@ import (
|
||||
)
|
||||
|
||||
func main() {
|
||||
data := []byte(`{
|
||||
tenantuimetadataitemupdaterequest := []byte(`{
|
||||
"usernameEmptyText" : "Please provide your work email address...",
|
||||
"usernameLabel" : "Email",
|
||||
"iframeWhiteList" : "http://example.com http://example2.com"
|
||||
@@ -130,7 +130,7 @@ func main() {
|
||||
|
||||
|
||||
var tenantUiMetadataItemUpdateRequest beta.TenantUiMetadataItemUpdateRequest
|
||||
if err := json.Unmarshal(data, &tenantUiMetadataItemUpdateRequest); err != nil {
|
||||
if err := json.Unmarshal(tenantuimetadataitemupdaterequest, &tenantUiMetadataItemUpdateRequest); err != nil {
|
||||
fmt.Println("Error:", err)
|
||||
return
|
||||
}
|
||||
|
||||
@@ -68,7 +68,7 @@ import (
|
||||
)
|
||||
|
||||
func main() {
|
||||
data := []byte(`{
|
||||
vendorconnectormapping := []byte(`{
|
||||
"createdAt" : "2024-03-13T12:56:19.391294Z",
|
||||
"deletedAt" : {
|
||||
"Valid" : false,
|
||||
@@ -94,7 +94,7 @@ func main() {
|
||||
|
||||
|
||||
var vendorConnectorMapping beta.VendorConnectorMapping
|
||||
if err := json.Unmarshal(data, &vendorConnectorMapping); err != nil {
|
||||
if err := json.Unmarshal(vendorconnectormapping, &vendorConnectorMapping); err != nil {
|
||||
fmt.Println("Error:", err)
|
||||
return
|
||||
}
|
||||
@@ -159,7 +159,7 @@ import (
|
||||
)
|
||||
|
||||
func main() {
|
||||
data := []byte(`{
|
||||
vendorconnectormapping := []byte(`{
|
||||
"createdAt" : "2024-03-13T12:56:19.391294Z",
|
||||
"deletedAt" : {
|
||||
"Valid" : false,
|
||||
@@ -185,7 +185,7 @@ func main() {
|
||||
|
||||
|
||||
var vendorConnectorMapping beta.VendorConnectorMapping
|
||||
if err := json.Unmarshal(data, &vendorConnectorMapping); err != nil {
|
||||
if err := json.Unmarshal(vendorconnectormapping, &vendorConnectorMapping); err != nil {
|
||||
fmt.Println("Error:", err)
|
||||
return
|
||||
}
|
||||
|
||||
@@ -865,7 +865,7 @@ func main() {
|
||||
|
||||
|
||||
var requestBody beta.RequestBody
|
||||
if err := json.Unmarshal(data, &requestBody); err != nil {
|
||||
if err := json.Unmarshal(requestbody, &requestBody); err != nil {
|
||||
fmt.Println("Error:", err)
|
||||
return
|
||||
}
|
||||
@@ -938,7 +938,7 @@ import (
|
||||
|
||||
func main() {
|
||||
id := `ef38f94347e94562b5bb8424a56397d8` // string | The ID of the work item # string | The ID of the work item
|
||||
data := []byte(`{
|
||||
workitemforward := []byte(`{
|
||||
"targetOwnerId" : "2c9180835d2e5168015d32f890ca1581",
|
||||
"comment" : "I'm going on vacation.",
|
||||
"sendNotifications" : true
|
||||
@@ -946,7 +946,7 @@ func main() {
|
||||
|
||||
|
||||
var workItemForward beta.WorkItemForward
|
||||
if err := json.Unmarshal(data, &workItemForward); err != nil {
|
||||
if err := json.Unmarshal(workitemforward, &workItemForward); err != nil {
|
||||
fmt.Println("Error:", err)
|
||||
return
|
||||
}
|
||||
|
||||
@@ -79,7 +79,7 @@ import (
|
||||
)
|
||||
|
||||
func main() {
|
||||
data := []byte(`{
|
||||
configurationitemrequest := []byte(`{
|
||||
"endDate" : "2022-07-30T17:00:00Z",
|
||||
"reassignedFromId" : "2c91808781a71ddb0181b9090b5c504e",
|
||||
"configType" : "ACCESS_REQUESTS",
|
||||
@@ -89,7 +89,7 @@ func main() {
|
||||
|
||||
|
||||
var configurationItemRequest beta.ConfigurationItemRequest
|
||||
if err := json.Unmarshal(data, &configurationItemRequest); err != nil {
|
||||
if err := json.Unmarshal(configurationitemrequest, &configurationItemRequest); err != nil {
|
||||
fmt.Println("Error:", err)
|
||||
return
|
||||
}
|
||||
@@ -229,7 +229,7 @@ import (
|
||||
func main() {
|
||||
identityId := `2c91808781a71ddb0181b9090b5c504e` // string | unique identity id # string | unique identity id
|
||||
configType := accessRequests // ConfigTypeEnum | Reassignment work type # ConfigTypeEnum | Reassignment work type
|
||||
exclusionFilters := fmt.Sprintf(`SELF_REVIEW_DELEGATION`) // []string | Exclusion filters that disable parts of the reassignment evaluation. Possible values are listed below: - `SELF_REVIEW_DELEGATION`: This will exclude delegations of self-review reassignments (optional)
|
||||
exclusionfilters := []byte(`SELF_REVIEW_DELEGATION`) // []string | Exclusion filters that disable parts of the reassignment evaluation. Possible values are listed below: - `SELF_REVIEW_DELEGATION`: This will exclude delegations of self-review reassignments (optional)
|
||||
|
||||
|
||||
|
||||
@@ -541,7 +541,7 @@ import (
|
||||
|
||||
func main() {
|
||||
identityId := `2c91808781a71ddb0181b9090b5c504e` // string | unique identity id # string | unique identity id
|
||||
data := []byte(`{
|
||||
configurationitemrequest := []byte(`{
|
||||
"endDate" : "2022-07-30T17:00:00Z",
|
||||
"reassignedFromId" : "2c91808781a71ddb0181b9090b5c504e",
|
||||
"configType" : "ACCESS_REQUESTS",
|
||||
@@ -551,7 +551,7 @@ func main() {
|
||||
|
||||
|
||||
var configurationItemRequest beta.ConfigurationItemRequest
|
||||
if err := json.Unmarshal(data, &configurationItemRequest); err != nil {
|
||||
if err := json.Unmarshal(configurationitemrequest, &configurationItemRequest); err != nil {
|
||||
fmt.Println("Error:", err)
|
||||
return
|
||||
}
|
||||
@@ -615,7 +615,7 @@ import (
|
||||
)
|
||||
|
||||
func main() {
|
||||
data := []byte(`{
|
||||
tenantconfigurationrequest := []byte(`{
|
||||
"configDetails" : {
|
||||
"disabled" : true
|
||||
}
|
||||
@@ -623,7 +623,7 @@ func main() {
|
||||
|
||||
|
||||
var tenantConfigurationRequest beta.TenantConfigurationRequest
|
||||
if err := json.Unmarshal(data, &tenantConfigurationRequest); err != nil {
|
||||
if err := json.Unmarshal(tenantconfigurationrequest, &tenantConfigurationRequest); err != nil {
|
||||
fmt.Println("Error:", err)
|
||||
return
|
||||
}
|
||||
|
||||
@@ -143,11 +143,11 @@ import (
|
||||
)
|
||||
|
||||
func main() {
|
||||
data := []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 |
|
||||
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(data, &createWorkflowRequest); err != nil {
|
||||
if err := json.Unmarshal(createworkflowrequest, &createWorkflowRequest); err != nil {
|
||||
fmt.Println("Error:", err)
|
||||
return
|
||||
}
|
||||
@@ -886,11 +886,11 @@ import (
|
||||
|
||||
func main() {
|
||||
id := `c17bea3a-574d-453c-9e04-4365fbf5af0b` // string | Id of the Workflow # string | Id of the Workflow
|
||||
jsonPatchOperation := fmt.Sprintf(`[{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 |
|
||||
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
|
||||
if err := json.Unmarshal(data, &jsonPatchOperation); err != nil {
|
||||
var jsonPatchOperation beta.[]JsonPatchOperation
|
||||
if err := json.Unmarshal(jsonpatchoperation, &jsonPatchOperation); err != nil {
|
||||
fmt.Println("Error:", err)
|
||||
return
|
||||
}
|
||||
@@ -960,7 +960,7 @@ import (
|
||||
|
||||
func main() {
|
||||
id := `c17bea3a-574d-453c-9e04-4365fbf5af0b` // string | Id of the workflow # string | Id of the workflow
|
||||
data := []byte(``) // PostExternalExecuteWorkflowRequest | (optional)
|
||||
postexternalexecuteworkflowrequest := []byte(``) // PostExternalExecuteWorkflowRequest | (optional)
|
||||
|
||||
|
||||
|
||||
@@ -1094,7 +1094,7 @@ import (
|
||||
|
||||
func main() {
|
||||
id := `c17bea3a-574d-453c-9e04-4365fbf5af0b` // string | Id of the Workflow # string | Id of the Workflow
|
||||
data := []byte(`{
|
||||
workflowbody := []byte(`{
|
||||
"owner" : {
|
||||
"name" : "William Wilson",
|
||||
"id" : "2c91808568c529c60168cca6f90c1313",
|
||||
@@ -1131,7 +1131,7 @@ func main() {
|
||||
|
||||
|
||||
var workflowBody beta.WorkflowBody
|
||||
if err := json.Unmarshal(data, &workflowBody); err != nil {
|
||||
if err := json.Unmarshal(workflowbody, &workflowBody); err != nil {
|
||||
fmt.Println("Error:", err)
|
||||
return
|
||||
}
|
||||
@@ -1201,7 +1201,7 @@ import (
|
||||
|
||||
func main() {
|
||||
id := `c17bea3a-574d-453c-9e04-4365fbf5af0b` // string | Id of the workflow # string | Id of the workflow
|
||||
data := []byte(``) // TestExternalExecuteWorkflowRequest | (optional)
|
||||
testexternalexecuteworkflowrequest := []byte(``) // TestExternalExecuteWorkflowRequest | (optional)
|
||||
|
||||
|
||||
|
||||
@@ -1271,11 +1271,11 @@ import (
|
||||
|
||||
func main() {
|
||||
id := `c17bea3a-574d-453c-9e04-4365fbf5af0b` // string | Id of the workflow # string | Id of the workflow
|
||||
data := []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 |
|
||||
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(data, &testWorkflowRequest); err != nil {
|
||||
if err := json.Unmarshal(testworkflowrequest, &testWorkflowRequest); err != nil {
|
||||
fmt.Println("Error:", err)
|
||||
return
|
||||
}
|
||||
|
||||
@@ -105,7 +105,7 @@ import (
|
||||
)
|
||||
|
||||
func main() {
|
||||
data := []byte(`{
|
||||
accessprofile := []byte(`{
|
||||
"owner" : {
|
||||
"name" : "support",
|
||||
"id" : "2c9180a46faadee4016fb4e018c20639",
|
||||
@@ -194,7 +194,7 @@ func main() {
|
||||
|
||||
|
||||
var accessProfile v2024.AccessProfile
|
||||
if err := json.Unmarshal(data, &accessProfile); err != nil {
|
||||
if err := json.Unmarshal(accessprofile, &accessProfile); err != nil {
|
||||
fmt.Println("Error:", err)
|
||||
return
|
||||
}
|
||||
@@ -330,14 +330,14 @@ import (
|
||||
)
|
||||
|
||||
func main() {
|
||||
data := []byte(`{
|
||||
accessprofilebulkdeleterequest := []byte(`{
|
||||
"accessProfileIds" : [ "2c9180847812e0b1017817051919ecca", "2c9180887812e0b201781e129f151816" ],
|
||||
"bestEffortOnly" : true
|
||||
}`) // AccessProfileBulkDeleteRequest |
|
||||
|
||||
|
||||
var accessProfileBulkDeleteRequest v2024.AccessProfileBulkDeleteRequest
|
||||
if err := json.Unmarshal(data, &accessProfileBulkDeleteRequest); err != nil {
|
||||
if err := json.Unmarshal(accessprofilebulkdeleterequest, &accessProfileBulkDeleteRequest); err != nil {
|
||||
fmt.Println("Error:", err)
|
||||
return
|
||||
}
|
||||
@@ -657,11 +657,11 @@ import (
|
||||
|
||||
func main() {
|
||||
id := `2c91808a7813090a017814121919ecca` // string | ID of the Access Profile to patch # string | ID of the Access Profile to patch
|
||||
jsonPatchOperation := fmt.Sprintf(`[{op=add, path=/entitlements, value=[{id=2c9180857725c14301772a93bb77242d, type=ENTITLEMENT, name=AD User Group}]}]`) // []JsonPatchOperation |
|
||||
jsonpatchoperation := []byte(`[{op=add, path=/entitlements, value=[{id=2c9180857725c14301772a93bb77242d, type=ENTITLEMENT, name=AD User Group}]}]`) // []JsonPatchOperation |
|
||||
|
||||
|
||||
var jsonPatchOperation v2024.JsonPatchOperation
|
||||
if err := json.Unmarshal(data, &jsonPatchOperation); err != nil {
|
||||
var jsonPatchOperation v2024.[]JsonPatchOperation
|
||||
if err := json.Unmarshal(jsonpatchoperation, &jsonPatchOperation); err != nil {
|
||||
fmt.Println("Error:", err)
|
||||
return
|
||||
}
|
||||
@@ -744,11 +744,11 @@ import (
|
||||
|
||||
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 := fmt.Sprintf(`[{id=464ae7bf-791e-49fd-b746-06a2e4a89635, requestable=false}]`) // []AccessProfileBulkUpdateRequestInner |
|
||||
accessprofilebulkupdaterequestinner := []byte(`[{id=464ae7bf-791e-49fd-b746-06a2e4a89635, requestable=false}]`) // []AccessProfileBulkUpdateRequestInner |
|
||||
|
||||
|
||||
var accessProfileBulkUpdateRequestInner v2024.AccessProfileBulkUpdateRequestInner
|
||||
if err := json.Unmarshal(data, &accessProfileBulkUpdateRequestInner); err != nil {
|
||||
var accessProfileBulkUpdateRequestInner v2024.[]AccessProfileBulkUpdateRequestInner
|
||||
if err := json.Unmarshal(accessprofilebulkupdaterequestinner, &accessProfileBulkUpdateRequestInner); err != nil {
|
||||
fmt.Println("Error:", err)
|
||||
return
|
||||
}
|
||||
|
||||
@@ -90,7 +90,7 @@ import (
|
||||
|
||||
func main() {
|
||||
approvalId := `2c91808b7294bea301729568c68c002e` // string | Approval ID. # string | Approval ID.
|
||||
data := []byte(`{
|
||||
commentdto := []byte(`{
|
||||
"created" : "2017-07-11T18:45:37.098Z",
|
||||
"author" : {
|
||||
"name" : "john.doe",
|
||||
@@ -166,14 +166,14 @@ import (
|
||||
|
||||
func main() {
|
||||
approvalId := `2c91808b7294bea301729568c68c002e` // string | Approval ID. # string | Approval ID.
|
||||
data := []byte(`{
|
||||
forwardapprovaldto := []byte(`{
|
||||
"newOwnerId" : "2c91808568c529c60168cca6f90c1314",
|
||||
"comment" : "2c91808568c529c60168cca6f90c1313"
|
||||
}`) // ForwardApprovalDto | Information about the forwarded approval.
|
||||
|
||||
|
||||
var forwardApprovalDto v2024.ForwardApprovalDto
|
||||
if err := json.Unmarshal(data, &forwardApprovalDto); err != nil {
|
||||
if err := json.Unmarshal(forwardapprovaldto, &forwardApprovalDto); err != nil {
|
||||
fmt.Println("Error:", err)
|
||||
return
|
||||
}
|
||||
@@ -524,7 +524,7 @@ import (
|
||||
|
||||
func main() {
|
||||
approvalId := `2c91808b7294bea301729568c68c002e` // string | Approval ID. # string | Approval ID.
|
||||
data := []byte(`{
|
||||
commentdto := []byte(`{
|
||||
"created" : "2017-07-11T18:45:37.098Z",
|
||||
"author" : {
|
||||
"name" : "john.doe",
|
||||
@@ -536,7 +536,7 @@ func main() {
|
||||
|
||||
|
||||
var commentDto v2024.CommentDto
|
||||
if err := json.Unmarshal(data, &commentDto); err != nil {
|
||||
if err := json.Unmarshal(commentdto, &commentDto); err != nil {
|
||||
fmt.Println("Error:", err)
|
||||
return
|
||||
}
|
||||
|
||||
@@ -85,14 +85,14 @@ import (
|
||||
)
|
||||
|
||||
func main() {
|
||||
data := []byte(`{
|
||||
bulkapproveaccessrequest := []byte(`{
|
||||
"comment" : "I approve these request items",
|
||||
"approvalIds" : [ "2c9180835d2e5168015d32f890ca1581", "2c9180835d2e5168015d32f890ca1582" ]
|
||||
}`) // BulkApproveAccessRequest |
|
||||
|
||||
|
||||
var bulkApproveAccessRequest v2024.BulkApproveAccessRequest
|
||||
if err := json.Unmarshal(data, &bulkApproveAccessRequest); err != nil {
|
||||
if err := json.Unmarshal(bulkapproveaccessrequest, &bulkApproveAccessRequest); err != nil {
|
||||
fmt.Println("Error:", err)
|
||||
return
|
||||
}
|
||||
@@ -157,14 +157,14 @@ import (
|
||||
)
|
||||
|
||||
func main() {
|
||||
data := []byte(`{
|
||||
cancelaccessrequest := []byte(`{
|
||||
"accountActivityId" : "2c9180835d2e5168015d32f890ca1581",
|
||||
"comment" : "I requested this role by mistake."
|
||||
}`) // CancelAccessRequest |
|
||||
|
||||
|
||||
var cancelAccessRequest v2024.CancelAccessRequest
|
||||
if err := json.Unmarshal(data, &cancelAccessRequest); err != nil {
|
||||
if err := json.Unmarshal(cancelaccessrequest, &cancelAccessRequest); err != nil {
|
||||
fmt.Println("Error:", err)
|
||||
return
|
||||
}
|
||||
@@ -229,14 +229,14 @@ import (
|
||||
)
|
||||
|
||||
func main() {
|
||||
data := []byte(`{
|
||||
bulkcancelaccessrequest := []byte(`{
|
||||
"accessRequestIds" : [ "2c9180835d2e5168015d32f890ca1581", "2c9180835d2e5168015d32f890ca1582" ],
|
||||
"comment" : "I requested this role by mistake."
|
||||
}`) // BulkCancelAccessRequest |
|
||||
|
||||
|
||||
var bulkCancelAccessRequest v2024.BulkCancelAccessRequest
|
||||
if err := json.Unmarshal(data, &bulkCancelAccessRequest); err != nil {
|
||||
if err := json.Unmarshal(bulkcancelaccessrequest, &bulkCancelAccessRequest); err != nil {
|
||||
fmt.Println("Error:", err)
|
||||
return
|
||||
}
|
||||
@@ -324,7 +324,7 @@ import (
|
||||
|
||||
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")
|
||||
data := []byte(`{
|
||||
closeaccessrequest := []byte(`{
|
||||
"executionStatus" : "Terminated",
|
||||
"accessRequestIds" : [ "2c90ad2a70ace7d50170acf22ca90010" ],
|
||||
"completionStatus" : "Failure",
|
||||
@@ -333,7 +333,7 @@ func main() {
|
||||
|
||||
|
||||
var closeAccessRequest v2024.CloseAccessRequest
|
||||
if err := json.Unmarshal(data, &closeAccessRequest); err != nil {
|
||||
if err := json.Unmarshal(closeaccessrequest, &closeAccessRequest); err != nil {
|
||||
fmt.Println("Error:", err)
|
||||
return
|
||||
}
|
||||
@@ -429,7 +429,7 @@ import (
|
||||
)
|
||||
|
||||
func main() {
|
||||
data := []byte(`{
|
||||
accessrequest := []byte(`{
|
||||
"requestedFor" : "2c918084660f45d6016617daa9210584",
|
||||
"clientMetadata" : {
|
||||
"requestedAppId" : "2c91808f7892918f0178b78da4a305a1",
|
||||
@@ -623,7 +623,7 @@ func main() {
|
||||
|
||||
|
||||
var accessRequest v2024.AccessRequest
|
||||
if err := json.Unmarshal(data, &accessRequest); err != nil {
|
||||
if err := json.Unmarshal(accessrequest, &accessRequest); err != nil {
|
||||
fmt.Println("Error:", err)
|
||||
return
|
||||
}
|
||||
@@ -910,7 +910,7 @@ import (
|
||||
)
|
||||
|
||||
func main() {
|
||||
data := []byte(`{
|
||||
accountsselectionrequest := []byte(`{
|
||||
"requestedFor" : "2c918084660f45d6016617daa9210584",
|
||||
"clientMetadata" : {
|
||||
"requestedAppId" : "2c91808f7892918f0178b78da4a305a1",
|
||||
@@ -977,7 +977,7 @@ func main() {
|
||||
|
||||
|
||||
var accountsSelectionRequest v2024.AccountsSelectionRequest
|
||||
if err := json.Unmarshal(data, &accountsSelectionRequest); err != nil {
|
||||
if err := json.Unmarshal(accountsselectionrequest, &accountsSelectionRequest); err != nil {
|
||||
fmt.Println("Error:", err)
|
||||
return
|
||||
}
|
||||
@@ -1041,7 +1041,7 @@ import (
|
||||
)
|
||||
|
||||
func main() {
|
||||
data := []byte(`{
|
||||
accessrequestconfig := []byte(`{
|
||||
"requestOnBehalfOfConfig" : {
|
||||
"allowRequestOnBehalfOfEmployeeByManager" : true,
|
||||
"allowRequestOnBehalfOfAnyoneByAnyone" : true
|
||||
@@ -1077,7 +1077,7 @@ func main() {
|
||||
|
||||
|
||||
var accessRequestConfig v2024.AccessRequestConfig
|
||||
if err := json.Unmarshal(data, &accessRequestConfig); err != nil {
|
||||
if err := json.Unmarshal(accessrequestconfig, &accessRequestConfig); err != nil {
|
||||
fmt.Println("Error:", err)
|
||||
return
|
||||
}
|
||||
|
||||
@@ -114,7 +114,7 @@ import (
|
||||
)
|
||||
|
||||
func main() {
|
||||
data := []byte(`{
|
||||
accountattributescreate := []byte(`{
|
||||
"attributes" : {
|
||||
"sourceId" : "34bfcbe116c9407464af37acbaf7a4dc",
|
||||
"city" : "Austin",
|
||||
@@ -127,7 +127,7 @@ func main() {
|
||||
|
||||
|
||||
var accountAttributesCreate v2024.AccountAttributesCreate
|
||||
if err := json.Unmarshal(data, &accountAttributesCreate); err != nil {
|
||||
if err := json.Unmarshal(accountattributescreate, &accountAttributesCreate); err != nil {
|
||||
fmt.Println("Error:", err)
|
||||
return
|
||||
}
|
||||
@@ -351,14 +351,14 @@ import (
|
||||
|
||||
func main() {
|
||||
id := `ef38f94347e94562b5bb8424a56397d8` // string | The account id # string | The account id
|
||||
data := []byte(`{
|
||||
accounttogglerequest := []byte(`{
|
||||
"forceProvisioning" : false,
|
||||
"externalVerificationId" : "3f9180835d2e5168015d32f890ca1581"
|
||||
}`) // AccountToggleRequest |
|
||||
|
||||
|
||||
var accountToggleRequest v2024.AccountToggleRequest
|
||||
if err := json.Unmarshal(data, &accountToggleRequest); err != nil {
|
||||
if err := json.Unmarshal(accounttogglerequest, &accountToggleRequest); err != nil {
|
||||
fmt.Println("Error:", err)
|
||||
return
|
||||
}
|
||||
@@ -514,13 +514,13 @@ import (
|
||||
|
||||
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")
|
||||
data := []byte(`{
|
||||
identitiesaccountsbulkrequest := []byte(`{
|
||||
"identityIds" : [ "2c91808384203c2d018437e631158308", "2c9180858082150f0180893dbaf553fe" ]
|
||||
}`) // IdentitiesAccountsBulkRequest |
|
||||
|
||||
|
||||
var identitiesAccountsBulkRequest v2024.IdentitiesAccountsBulkRequest
|
||||
if err := json.Unmarshal(data, &identitiesAccountsBulkRequest); err != nil {
|
||||
if err := json.Unmarshal(identitiesaccountsbulkrequest, &identitiesAccountsBulkRequest); err != nil {
|
||||
fmt.Println("Error:", err)
|
||||
return
|
||||
}
|
||||
@@ -590,14 +590,14 @@ import (
|
||||
|
||||
func main() {
|
||||
id := `ef38f94347e94562b5bb8424a56397d8` // string | The account id # string | The account id
|
||||
data := []byte(`{
|
||||
accounttogglerequest := []byte(`{
|
||||
"forceProvisioning" : false,
|
||||
"externalVerificationId" : "3f9180835d2e5168015d32f890ca1581"
|
||||
}`) // AccountToggleRequest |
|
||||
|
||||
|
||||
var accountToggleRequest v2024.AccountToggleRequest
|
||||
if err := json.Unmarshal(data, &accountToggleRequest); err != nil {
|
||||
if err := json.Unmarshal(accounttogglerequest, &accountToggleRequest); err != nil {
|
||||
fmt.Println("Error:", err)
|
||||
return
|
||||
}
|
||||
@@ -753,13 +753,13 @@ import (
|
||||
|
||||
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")
|
||||
data := []byte(`{
|
||||
identitiesaccountsbulkrequest := []byte(`{
|
||||
"identityIds" : [ "2c91808384203c2d018437e631158308", "2c9180858082150f0180893dbaf553fe" ]
|
||||
}`) // IdentitiesAccountsBulkRequest |
|
||||
|
||||
|
||||
var identitiesAccountsBulkRequest v2024.IdentitiesAccountsBulkRequest
|
||||
if err := json.Unmarshal(data, &identitiesAccountsBulkRequest); err != nil {
|
||||
if err := json.Unmarshal(identitiesaccountsbulkrequest, &identitiesAccountsBulkRequest); err != nil {
|
||||
fmt.Println("Error:", err)
|
||||
return
|
||||
}
|
||||
@@ -1044,7 +1044,7 @@ import (
|
||||
|
||||
func main() {
|
||||
id := `ef38f94347e94562b5bb8424a56397d8` // string | Account ID. # string | Account ID.
|
||||
data := []byte(`{
|
||||
accountattributes := []byte(`{
|
||||
"attributes" : {
|
||||
"city" : "Austin",
|
||||
"displayName" : "John Doe",
|
||||
@@ -1056,7 +1056,7 @@ func main() {
|
||||
|
||||
|
||||
var accountAttributes v2024.AccountAttributes
|
||||
if err := json.Unmarshal(data, &accountAttributes); err != nil {
|
||||
if err := json.Unmarshal(accountattributes, &accountAttributes); err != nil {
|
||||
fmt.Println("Error:", err)
|
||||
return
|
||||
}
|
||||
@@ -1193,7 +1193,7 @@ import (
|
||||
|
||||
func main() {
|
||||
id := `ef38f94347e94562b5bb8424a56397d8` // string | The account ID. # string | The account ID.
|
||||
data := []byte(`{
|
||||
accountunlockrequest := []byte(`{
|
||||
"forceProvisioning" : false,
|
||||
"externalVerificationId" : "3f9180835d2e5168015d32f890ca1581",
|
||||
"unlockIDNAccount" : false
|
||||
@@ -1201,7 +1201,7 @@ func main() {
|
||||
|
||||
|
||||
var accountUnlockRequest v2024.AccountUnlockRequest
|
||||
if err := json.Unmarshal(data, &accountUnlockRequest); err != nil {
|
||||
if err := json.Unmarshal(accountunlockrequest, &accountUnlockRequest); err != nil {
|
||||
fmt.Println("Error:", err)
|
||||
return
|
||||
}
|
||||
@@ -1281,11 +1281,11 @@ import (
|
||||
|
||||
func main() {
|
||||
id := `ef38f94347e94562b5bb8424a56397d8` // string | Account ID. # string | Account ID.
|
||||
requestBody := fmt.Sprintf(`[{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.
|
||||
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
|
||||
if err := json.Unmarshal(data, &requestBody); err != nil {
|
||||
var requestBody v2024.[]RequestBody
|
||||
if err := json.Unmarshal(requestbody, &requestBody); err != nil {
|
||||
fmt.Println("Error:", err)
|
||||
return
|
||||
}
|
||||
|
||||
@@ -89,7 +89,7 @@ import (
|
||||
|
||||
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")
|
||||
data := []byte(`{
|
||||
sourceappcreatedto := []byte(`{
|
||||
"name" : "my app",
|
||||
"description" : "the source app for engineers",
|
||||
"accountSource" : {
|
||||
@@ -102,7 +102,7 @@ func main() {
|
||||
|
||||
|
||||
var sourceAppCreateDto v2024.SourceAppCreateDto
|
||||
if err := json.Unmarshal(data, &sourceAppCreateDto); err != nil {
|
||||
if err := json.Unmarshal(sourceappcreatedto, &sourceAppCreateDto); err != nil {
|
||||
fmt.Println("Error:", err)
|
||||
return
|
||||
}
|
||||
@@ -186,12 +186,12 @@ import (
|
||||
func main() {
|
||||
id := `2c91808a7813090a017814121e121518` // string | ID of the source app # string | ID of the source app
|
||||
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 := fmt.Sprintf(`[c9575abb5e3a4e3db82b2f989a738aa2, c9dc28e148a24d65b3ccb5fb8ca5ddd9]`) // []string |
|
||||
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
|
||||
if err := json.Unmarshal(data, &requestBody); err != nil {
|
||||
var requestBody v2024.[]RequestBody
|
||||
if err := json.Unmarshal(requestbody, &requestBody); err != nil {
|
||||
fmt.Println("Error:", err)
|
||||
return
|
||||
}
|
||||
@@ -1014,7 +1014,7 @@ import (
|
||||
func main() {
|
||||
id := `2c91808a7813090a017814121e121518` // string | ID of the source app to patch # string | ID of the source app to patch
|
||||
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 := fmt.Sprintf(`[{op=replace, path=/enabled, value=true}, {op=replace, path=/matchAllAccounts, value=true}]`) // []JsonPatchOperation | (optional)
|
||||
jsonpatchoperation := []byte(`[{op=replace, path=/enabled, value=true}, {op=replace, path=/matchAllAccounts, value=true}]`) // []JsonPatchOperation | (optional)
|
||||
|
||||
|
||||
|
||||
@@ -1096,7 +1096,7 @@ import (
|
||||
func main() {
|
||||
id := `2c91808a7813090a017814121e121518` // string | ID of the user app to patch # string | ID of the user app to patch
|
||||
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 := fmt.Sprintf(``) // []JsonPatchOperation | (optional)
|
||||
jsonpatchoperation := []byte(``) // []JsonPatchOperation | (optional)
|
||||
|
||||
|
||||
|
||||
@@ -1173,7 +1173,7 @@ import (
|
||||
|
||||
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")
|
||||
data := []byte(`{
|
||||
sourceappbulkupdaterequest := []byte(`{
|
||||
"appIds" : [ "2c91808a7624751a01762f19d665220d", "2c91808a7624751a01762f19d67c220e", "2c91808a7624751a01762f19d692220f" ],
|
||||
"jsonPatch" : [ {
|
||||
"op" : "replace",
|
||||
|
||||
@@ -241,11 +241,11 @@ import (
|
||||
func main() {
|
||||
id := `2c91808a7813090a017814121919ecca` // string | ID of the Auth Profile to patch. # string | ID of the Auth Profile to patch.
|
||||
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 := fmt.Sprintf(``) // []JsonPatchOperation |
|
||||
jsonpatchoperation := []byte(``) // []JsonPatchOperation |
|
||||
|
||||
|
||||
var jsonPatchOperation v2024.JsonPatchOperation
|
||||
if err := json.Unmarshal(data, &jsonPatchOperation); err != nil {
|
||||
var jsonPatchOperation v2024.[]JsonPatchOperation
|
||||
if err := json.Unmarshal(jsonpatchoperation, &jsonPatchOperation); err != nil {
|
||||
fmt.Println("Error:", err)
|
||||
return
|
||||
}
|
||||
|
||||
@@ -143,11 +143,11 @@ import (
|
||||
|
||||
func main() {
|
||||
id := `ef38f94347e94562b5bb8424a56397d8` // string | Identity ID # string | Identity ID
|
||||
jsonPatchOperation := fmt.Sprintf(`[{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.
|
||||
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
|
||||
if err := json.Unmarshal(data, &jsonPatchOperation); err != nil {
|
||||
var jsonPatchOperation v2024.[]JsonPatchOperation
|
||||
if err := json.Unmarshal(jsonpatchoperation, &jsonPatchOperation); err != nil {
|
||||
fmt.Println("Error:", err)
|
||||
return
|
||||
}
|
||||
|
||||
@@ -92,7 +92,7 @@ import (
|
||||
)
|
||||
|
||||
func main() {
|
||||
data := []byte(`{
|
||||
campaignfilterdetails := []byte(`{
|
||||
"owner" : "SailPoint Support",
|
||||
"mode" : "INCLUSION",
|
||||
"isSystemFilter" : false,
|
||||
@@ -113,7 +113,7 @@ func main() {
|
||||
|
||||
|
||||
var campaignFilterDetails v2024.CampaignFilterDetails
|
||||
if err := json.Unmarshal(data, &campaignFilterDetails); err != nil {
|
||||
if err := json.Unmarshal(campaignfilterdetails, &campaignFilterDetails); err != nil {
|
||||
fmt.Println("Error:", err)
|
||||
return
|
||||
}
|
||||
@@ -177,11 +177,11 @@ import (
|
||||
)
|
||||
|
||||
func main() {
|
||||
requestBody := fmt.Sprintf(``) // []string | A json list of IDs of campaign filters to delete.
|
||||
requestbody := []byte(``) // []string | A json list of IDs of campaign filters to delete.
|
||||
|
||||
|
||||
var requestBody v2024.RequestBody
|
||||
if err := json.Unmarshal(data, &requestBody); err != nil {
|
||||
var requestBody v2024.[]RequestBody
|
||||
if err := json.Unmarshal(requestbody, &requestBody); err != nil {
|
||||
fmt.Println("Error:", err)
|
||||
return
|
||||
}
|
||||
@@ -381,7 +381,7 @@ import (
|
||||
|
||||
func main() {
|
||||
filterId := `e9f9a1397b842fd5a65842087040d3ac` // string | The ID of the campaign filter being modified. # string | The ID of the campaign filter being modified.
|
||||
data := []byte(`{
|
||||
campaignfilterdetails := []byte(`{
|
||||
"owner" : "SailPoint Support",
|
||||
"mode" : "INCLUSION",
|
||||
"isSystemFilter" : false,
|
||||
@@ -402,7 +402,7 @@ func main() {
|
||||
|
||||
|
||||
var campaignFilterDetails v2024.CampaignFilterDetails
|
||||
if err := json.Unmarshal(data, &campaignFilterDetails); err != nil {
|
||||
if err := json.Unmarshal(campaignfilterdetails, &campaignFilterDetails); err != nil {
|
||||
fmt.Println("Error:", err)
|
||||
return
|
||||
}
|
||||
|
||||
@@ -163,7 +163,7 @@ import (
|
||||
|
||||
func main() {
|
||||
id := `ef38f94347e94562b5bb8424a56397d8` // string | Campaign ID. # string | Campaign ID.
|
||||
data := []byte(`{
|
||||
campaigncompleteoptions := []byte(`{
|
||||
"autoCompleteAction" : "REVOKE"
|
||||
}`) // CampaignCompleteOptions | Optional. Default behavior is for the campaign to auto-approve upon completion, unless autoCompleteAction=REVOKE (optional)
|
||||
|
||||
@@ -228,7 +228,7 @@ import (
|
||||
)
|
||||
|
||||
func main() {
|
||||
data := []byte(`{
|
||||
campaign := []byte(`{
|
||||
"totalCertifications" : 100,
|
||||
"sourcesWithOrphanEntitlements" : [ {
|
||||
"name" : "Source with orphan entitlements",
|
||||
@@ -341,7 +341,7 @@ func main() {
|
||||
|
||||
|
||||
var campaign v2024.Campaign
|
||||
if err := json.Unmarshal(data, &campaign); err != nil {
|
||||
if err := json.Unmarshal(campaign, &campaign); err != nil {
|
||||
fmt.Println("Error:", err)
|
||||
return
|
||||
}
|
||||
@@ -407,7 +407,7 @@ import (
|
||||
)
|
||||
|
||||
func main() {
|
||||
data := []byte(`{
|
||||
campaigntemplate := []byte(`{
|
||||
"ownerRef" : {
|
||||
"name" : "Mister Manager",
|
||||
"id" : "2c918086676d3e0601677611dbde220f",
|
||||
@@ -535,7 +535,7 @@ func main() {
|
||||
|
||||
|
||||
var campaignTemplate v2024.CampaignTemplate
|
||||
if err := json.Unmarshal(data, &campaignTemplate); err != nil {
|
||||
if err := json.Unmarshal(campaigntemplate, &campaignTemplate); err != nil {
|
||||
fmt.Println("Error:", err)
|
||||
return
|
||||
}
|
||||
@@ -730,13 +730,13 @@ import (
|
||||
)
|
||||
|
||||
func main() {
|
||||
data := []byte(`{
|
||||
campaignsdeleterequest := []byte(`{
|
||||
"ids" : [ "2c9180887335cee10173490db1776c26", "2c9180836a712436016a7125a90c0021" ]
|
||||
}`) // CampaignsDeleteRequest | IDs of the campaigns to delete.
|
||||
|
||||
|
||||
var campaignsDeleteRequest v2024.CampaignsDeleteRequest
|
||||
if err := json.Unmarshal(data, &campaignsDeleteRequest); err != nil {
|
||||
if err := json.Unmarshal(campaignsdeleterequest, &campaignsDeleteRequest); err != nil {
|
||||
fmt.Println("Error:", err)
|
||||
return
|
||||
}
|
||||
@@ -1281,7 +1281,7 @@ import (
|
||||
|
||||
func main() {
|
||||
id := `ef38f94347e94562b5bb8424a56397d8` // string | The certification campaign ID # string | The certification campaign ID
|
||||
data := []byte(`{
|
||||
adminreviewreassign := []byte(`{
|
||||
"certificationIds" : [ "af3859464779471211bb8424a563abc1", "af3859464779471211bb8424a563abc2", "af3859464779471211bb8424a563abc3" ],
|
||||
"reason" : "reassigned for some reason",
|
||||
"reassignTo" : {
|
||||
@@ -1292,7 +1292,7 @@ func main() {
|
||||
|
||||
|
||||
var adminReviewReassign v2024.AdminReviewReassign
|
||||
if err := json.Unmarshal(data, &adminReviewReassign); err != nil {
|
||||
if err := json.Unmarshal(adminreviewreassign, &adminReviewReassign); err != nil {
|
||||
fmt.Println("Error:", err)
|
||||
return
|
||||
}
|
||||
@@ -1363,11 +1363,11 @@ import (
|
||||
|
||||
func main() {
|
||||
id := `2c9180835d191a86015d28455b4a2329` // string | ID of the campaign template being modified. # string | ID of the campaign template being modified.
|
||||
jsonPatchOperation := fmt.Sprintf(`[{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)
|
||||
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
|
||||
if err := json.Unmarshal(data, &jsonPatchOperation); err != nil {
|
||||
var jsonPatchOperation v2024.[]JsonPatchOperation
|
||||
if err := json.Unmarshal(jsonpatchoperation, &jsonPatchOperation); err != nil {
|
||||
fmt.Println("Error:", err)
|
||||
return
|
||||
}
|
||||
@@ -1432,13 +1432,13 @@ import (
|
||||
)
|
||||
|
||||
func main() {
|
||||
data := []byte(`{
|
||||
campaignreportsconfig := []byte(`{
|
||||
"identityAttributeColumns" : [ "firstname", "lastname" ]
|
||||
}`) // CampaignReportsConfig | Campaign report configuration.
|
||||
|
||||
|
||||
var campaignReportsConfig v2024.CampaignReportsConfig
|
||||
if err := json.Unmarshal(data, &campaignReportsConfig); err != nil {
|
||||
if err := json.Unmarshal(campaignreportsconfig, &campaignReportsConfig); err != nil {
|
||||
fmt.Println("Error:", err)
|
||||
return
|
||||
}
|
||||
@@ -1509,7 +1509,7 @@ import (
|
||||
|
||||
func main() {
|
||||
id := `04bedce387bd47b2ae1f86eb0bb36dee` // string | ID of the campaign template being scheduled. # string | ID of the campaign template being scheduled.
|
||||
data := []byte(`{
|
||||
schedule := []byte(`{
|
||||
"hours" : {
|
||||
"values" : [ "1" ],
|
||||
"interval" : 2,
|
||||
@@ -1595,7 +1595,7 @@ import (
|
||||
|
||||
func main() {
|
||||
id := `ef38f94347e94562b5bb8424a56397d8` // string | Campaign ID. # string | Campaign ID.
|
||||
data := []byte(`{
|
||||
activatecampaignoptions := []byte(`{
|
||||
"timeZone" : "-05:00"
|
||||
}`) // ActivateCampaignOptions | Optional. If no timezone is specified, the standard UTC timezone is used (i.e. UTC+00:00). Although this can take any timezone, the intended value is the caller's timezone. The activation time calculated from the given timezone may cause the campaign deadline time to be modified, but it will remain within the original date. The timezone must be in a valid ISO 8601 format. (optional)
|
||||
|
||||
@@ -1880,11 +1880,11 @@ import (
|
||||
|
||||
func main() {
|
||||
id := `2c91808571bcfcf80171c23e4b4221fc` // string | ID of the campaign template being modified. # string | ID of the campaign template being modified.
|
||||
jsonPatchOperation := fmt.Sprintf(`[{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
|
||||
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
|
||||
if err := json.Unmarshal(data, &jsonPatchOperation); err != nil {
|
||||
var jsonPatchOperation v2024.[]JsonPatchOperation
|
||||
if err := json.Unmarshal(jsonpatchoperation, &jsonPatchOperation); err != nil {
|
||||
fmt.Println("Error:", err)
|
||||
return
|
||||
}
|
||||
|
||||
@@ -609,11 +609,11 @@ import (
|
||||
|
||||
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 := fmt.Sprintf(`[{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.
|
||||
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
|
||||
if err := json.Unmarshal(data, &reviewDecision); err != nil {
|
||||
var reviewDecision v2024.[]ReviewDecision
|
||||
if err := json.Unmarshal(reviewdecision, &reviewDecision); err != nil {
|
||||
fmt.Println("Error:", err)
|
||||
return
|
||||
}
|
||||
@@ -683,7 +683,7 @@ import (
|
||||
|
||||
func main() {
|
||||
id := `ef38f94347e94562b5bb8424a56397d8` // string | The identity campaign certification ID # string | The identity campaign certification ID
|
||||
data := []byte(`{
|
||||
reviewreassign := []byte(`{
|
||||
"reason" : "reassigned for some reason",
|
||||
"reassignTo" : "ef38f94347e94562b5bb8424a56397d8",
|
||||
"reassign" : [ {
|
||||
@@ -697,7 +697,7 @@ func main() {
|
||||
|
||||
|
||||
var reviewReassign v2024.ReviewReassign
|
||||
if err := json.Unmarshal(data, &reviewReassign); err != nil {
|
||||
if err := json.Unmarshal(reviewreassign, &reviewReassign); err != nil {
|
||||
fmt.Println("Error:", err)
|
||||
return
|
||||
}
|
||||
@@ -838,7 +838,7 @@ import (
|
||||
|
||||
func main() {
|
||||
id := `ef38f94347e94562b5bb8424a56397d8` // string | The identity campaign certification ID # string | The identity campaign certification ID
|
||||
data := []byte(`{
|
||||
reviewreassign := []byte(`{
|
||||
"reason" : "reassigned for some reason",
|
||||
"reassignTo" : "ef38f94347e94562b5bb8424a56397d8",
|
||||
"reassign" : [ {
|
||||
@@ -852,7 +852,7 @@ func main() {
|
||||
|
||||
|
||||
var reviewReassign v2024.ReviewReassign
|
||||
if err := json.Unmarshal(data, &reviewReassign); err != nil {
|
||||
if err := json.Unmarshal(reviewreassign, &reviewReassign); err != nil {
|
||||
fmt.Println("Error:", err)
|
||||
return
|
||||
}
|
||||
|
||||
@@ -91,13 +91,13 @@ import (
|
||||
)
|
||||
|
||||
func main() {
|
||||
data := []byte(`{
|
||||
deployrequest := []byte(`{
|
||||
"draftId" : "3d0fe04b-57df-4a46-a83b-8f04b0f9d10b"
|
||||
}`) // DeployRequest | The deploy request body.
|
||||
|
||||
|
||||
var deployRequest v2024.DeployRequest
|
||||
if err := json.Unmarshal(data, &deployRequest); err != nil {
|
||||
if err := json.Unmarshal(deployrequest, &deployRequest); err != nil {
|
||||
fmt.Println("Error:", err)
|
||||
return
|
||||
}
|
||||
@@ -170,7 +170,7 @@ import (
|
||||
|
||||
func main() {
|
||||
sourceOrg := `source-org` // string | The name of the source org. # string | The name of the source org.
|
||||
data := []byte(`{
|
||||
objectmappingrequest := []byte(`{
|
||||
"targetValue" : "My New Governance Group Name",
|
||||
"jsonPath" : "$.name",
|
||||
"sourceValue" : "My Governance Group Name",
|
||||
@@ -180,7 +180,7 @@ func main() {
|
||||
|
||||
|
||||
var objectMappingRequest v2024.ObjectMappingRequest
|
||||
if err := json.Unmarshal(data, &objectMappingRequest); err != nil {
|
||||
if err := json.Unmarshal(objectmappingrequest, &objectMappingRequest); err != nil {
|
||||
fmt.Println("Error:", err)
|
||||
return
|
||||
}
|
||||
@@ -253,7 +253,7 @@ import (
|
||||
|
||||
func main() {
|
||||
sourceOrg := `source-org` // string | The name of the source org. # string | The name of the source org.
|
||||
data := []byte(`{
|
||||
objectmappingbulkcreaterequest := []byte(`{
|
||||
"newObjectsMappings" : [ {
|
||||
"targetValue" : "My New Governance Group Name",
|
||||
"jsonPath" : "$.name",
|
||||
@@ -271,7 +271,7 @@ func main() {
|
||||
|
||||
|
||||
var objectMappingBulkCreateRequest v2024.ObjectMappingBulkCreateRequest
|
||||
if err := json.Unmarshal(data, &objectMappingBulkCreateRequest); err != nil {
|
||||
if err := json.Unmarshal(objectmappingbulkcreaterequest, &objectMappingBulkCreateRequest); err != nil {
|
||||
fmt.Println("Error:", err)
|
||||
return
|
||||
}
|
||||
@@ -335,7 +335,7 @@ import (
|
||||
)
|
||||
|
||||
func main() {
|
||||
data := []byte(`{
|
||||
scheduledactionpayload := []byte(`{
|
||||
"cronString" : "0 0 12 * * * *",
|
||||
"timeZoneId" : "America/Chicago",
|
||||
"startTime" : "2024-08-16T14:16:58.389Z",
|
||||
@@ -361,7 +361,7 @@ func main() {
|
||||
|
||||
|
||||
var scheduledActionPayload v2024.ScheduledActionPayload
|
||||
if err := json.Unmarshal(data, &scheduledActionPayload); err != nil {
|
||||
if err := json.Unmarshal(scheduledactionpayload, &scheduledActionPayload); err != nil {
|
||||
fmt.Println("Error:", err)
|
||||
return
|
||||
}
|
||||
@@ -1341,7 +1341,7 @@ import (
|
||||
|
||||
func main() {
|
||||
sourceOrg := `source-org` // string | The name of the source org. # string | The name of the source org.
|
||||
data := []byte(`{
|
||||
objectmappingbulkpatchrequest := []byte(`{
|
||||
"patches" : {
|
||||
"603b1a61-d03d-4ed1-864f-a508fbd1995d" : [ {
|
||||
"op" : "replace",
|
||||
@@ -1358,7 +1358,7 @@ func main() {
|
||||
|
||||
|
||||
var objectMappingBulkPatchRequest v2024.ObjectMappingBulkPatchRequest
|
||||
if err := json.Unmarshal(data, &objectMappingBulkPatchRequest); err != nil {
|
||||
if err := json.Unmarshal(objectmappingbulkpatchrequest, &objectMappingBulkPatchRequest); err != nil {
|
||||
fmt.Println("Error:", err)
|
||||
return
|
||||
}
|
||||
@@ -1428,7 +1428,7 @@ import (
|
||||
|
||||
func main() {
|
||||
scheduledActionId := `0f11f2a4-7c94-4bf3-a2bd-742580fe3bde` // string | The ID of the scheduled action. # string | The ID of the scheduled action.
|
||||
data := []byte(`{
|
||||
jsonpatch := []byte(`{
|
||||
"operations" : [ {
|
||||
"op" : "replace",
|
||||
"path" : "/description",
|
||||
@@ -1442,7 +1442,7 @@ func main() {
|
||||
|
||||
|
||||
var jsonPatch v2024.JsonPatch
|
||||
if err := json.Unmarshal(data, &jsonPatch); err != nil {
|
||||
if err := json.Unmarshal(jsonpatch, &jsonPatch); err != nil {
|
||||
fmt.Println("Error:", err)
|
||||
return
|
||||
}
|
||||
|
||||
@@ -69,13 +69,13 @@ import (
|
||||
)
|
||||
|
||||
func main() {
|
||||
data := []byte(`{
|
||||
connectorcustomizercreaterequest := []byte(`{
|
||||
"name" : "My Custom Connector"
|
||||
}`) // ConnectorCustomizerCreateRequest | Connector customizer to create.
|
||||
|
||||
|
||||
var connectorCustomizerCreateRequest v2024.ConnectorCustomizerCreateRequest
|
||||
if err := json.Unmarshal(data, &connectorCustomizerCreateRequest); err != nil {
|
||||
if err := json.Unmarshal(connectorcustomizercreaterequest, &connectorCustomizerCreateRequest); err != nil {
|
||||
fmt.Println("Error:", err)
|
||||
return
|
||||
}
|
||||
@@ -405,7 +405,7 @@ import (
|
||||
|
||||
func main() {
|
||||
id := `b07dc46a-1498-4de8-bfbb-259a68e70c8a` // string | ID of the connector customizer to update. # string | ID of the connector customizer to update.
|
||||
data := []byte(`{
|
||||
connectorcustomizerupdaterequest := []byte(`{
|
||||
"name" : "My Custom Connector"
|
||||
}`) // ConnectorCustomizerUpdateRequest | Connector rule with updated data. (optional)
|
||||
|
||||
|
||||
@@ -73,7 +73,7 @@ import (
|
||||
)
|
||||
|
||||
func main() {
|
||||
data := []byte(`{
|
||||
connectorrulecreaterequest := []byte(`{
|
||||
"sourceCode" : {
|
||||
"version" : "1.0",
|
||||
"script" : "return \"Mr. \" + firstName;"
|
||||
@@ -102,7 +102,7 @@ func main() {
|
||||
|
||||
|
||||
var connectorRuleCreateRequest v2024.ConnectorRuleCreateRequest
|
||||
if err := json.Unmarshal(data, &connectorRuleCreateRequest); err != nil {
|
||||
if err := json.Unmarshal(connectorrulecreaterequest, &connectorRuleCreateRequest); err != nil {
|
||||
fmt.Println("Error:", err)
|
||||
return
|
||||
}
|
||||
@@ -368,7 +368,7 @@ import (
|
||||
|
||||
func main() {
|
||||
id := `8c190e6787aa4ed9a90bd9d5344523fb` // string | ID of the connector rule to update. # string | ID of the connector rule to update.
|
||||
data := []byte(`{
|
||||
connectorruleupdaterequest := []byte(`{
|
||||
"sourceCode" : {
|
||||
"version" : "1.0",
|
||||
"script" : "return \"Mr. \" + firstName;"
|
||||
@@ -456,14 +456,14 @@ import (
|
||||
)
|
||||
|
||||
func main() {
|
||||
data := []byte(`{
|
||||
sourcecode := []byte(`{
|
||||
"version" : "1.0",
|
||||
"script" : "return \"Mr. \" + firstName;"
|
||||
}`) // SourceCode | Code to validate.
|
||||
|
||||
|
||||
var sourceCode v2024.SourceCode
|
||||
if err := json.Unmarshal(data, &sourceCode); err != nil {
|
||||
if err := json.Unmarshal(sourcecode, &sourceCode); err != nil {
|
||||
fmt.Println("Error:", err)
|
||||
return
|
||||
}
|
||||
|
||||
@@ -87,7 +87,7 @@ import (
|
||||
)
|
||||
|
||||
func main() {
|
||||
data := []byte(`{
|
||||
v3createconnectordto := []byte(`{
|
||||
"name" : "custom connector",
|
||||
"directConnect" : true,
|
||||
"className" : "sailpoint.connector.OpenConnectorAdapter",
|
||||
@@ -97,7 +97,7 @@ func main() {
|
||||
|
||||
|
||||
var v3CreateConnectorDto v2024.V3CreateConnectorDto
|
||||
if err := json.Unmarshal(data, &v3CreateConnectorDto); err != nil {
|
||||
if err := json.Unmarshal(v3createconnectordto, &v3CreateConnectorDto); err != nil {
|
||||
fmt.Println("Error:", err)
|
||||
return
|
||||
}
|
||||
@@ -921,11 +921,11 @@ import (
|
||||
|
||||
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 := fmt.Sprintf(``) // []JsonPatchOperation | A list of connector detail update operations
|
||||
jsonpatchoperation := []byte(``) // []JsonPatchOperation | A list of connector detail update operations
|
||||
|
||||
|
||||
var jsonPatchOperation v2024.JsonPatchOperation
|
||||
if err := json.Unmarshal(data, &jsonPatchOperation); err != nil {
|
||||
var jsonPatchOperation v2024.[]JsonPatchOperation
|
||||
if err := json.Unmarshal(jsonpatchoperation, &jsonPatchOperation); err != nil {
|
||||
fmt.Println("Error:", err)
|
||||
return
|
||||
}
|
||||
|
||||
@@ -86,7 +86,7 @@ import (
|
||||
)
|
||||
|
||||
func main() {
|
||||
data := []byte(`{
|
||||
body := []byte(`{
|
||||
"owner" : {
|
||||
"name" : "Grant Smith",
|
||||
"id" : "2c9180867624cbd7017642d8c8c81f67",
|
||||
@@ -258,7 +258,7 @@ import (
|
||||
)
|
||||
|
||||
func main() {
|
||||
data := []byte(`{
|
||||
body := []byte(`{
|
||||
"description" : "A description",
|
||||
"attributes" : {
|
||||
"formDefinitionId" : "00000000-0000-0000-0000-000000000000"
|
||||
@@ -396,7 +396,7 @@ import (
|
||||
)
|
||||
|
||||
func main() {
|
||||
data := []byte(`{
|
||||
body := []byte(`{
|
||||
"formInput" : {
|
||||
"input1" : "Sales"
|
||||
},
|
||||
@@ -882,7 +882,7 @@ import (
|
||||
)
|
||||
|
||||
func main() {
|
||||
body := fmt.Sprintf(`[{version=1, self={name=All fields not required, id=05ed4edb-d0a9-41d9-ad0c-2f6e486ec4aa, type=FORM_DEFINITION}, object={id=05ed4edb-d0a9-41d9-ad0c-2f6e486ec4aa, name=All fields not required, description=description, owner={type=IDENTITY, id=3447d8ec2602455ab6f1e8408a0f0150}, usedBy=[{type=WORKFLOW, id=5008594c-dacc-4295-8fee-41df60477304}, {type=WORKFLOW, id=97e75a75-c179-4fbc-a2da-b5fa4aaa8743}], formInput=[{type=STRING, label=input1, description=A single dynamic scalar value (i.e. number, string, date, etc) that can be passed into the form for use in conditional logic}], formElements=[{id=3069272797630701, elementType=SECTION, config={label=First Section, formElements=[{id=3069272797630700, elementType=TEXT, key=firstName, config={label=First Name}}, {id=3498415402897539, elementType=TEXT, key=lastName, config={label=Last Name}}]}}], formConditions=[{ruleOperator=AND, rules=[{sourceType=INPUT, source=Department, operator=EQ, valueType=STRING, value=Sales}], effects=[{effectType=HIDE, config={element=2614088730489570}}]}], created=2022-10-04T19:27:04.456Z, modified=2022-11-16T20:45:02.172Z}}]`) // []ImportFormDefinitionsRequestInner | Body is the request payload to import form definitions (optional)
|
||||
body := []byte(`[{version=1, self={name=All fields not required, id=05ed4edb-d0a9-41d9-ad0c-2f6e486ec4aa, type=FORM_DEFINITION}, object={id=05ed4edb-d0a9-41d9-ad0c-2f6e486ec4aa, name=All fields not required, description=description, owner={type=IDENTITY, id=3447d8ec2602455ab6f1e8408a0f0150}, usedBy=[{type=WORKFLOW, id=5008594c-dacc-4295-8fee-41df60477304}, {type=WORKFLOW, id=97e75a75-c179-4fbc-a2da-b5fa4aaa8743}], formInput=[{type=STRING, label=input1, description=A single dynamic scalar value (i.e. number, string, date, etc) that can be passed into the form for use in conditional logic}], formElements=[{id=3069272797630701, elementType=SECTION, config={label=First Section, formElements=[{id=3069272797630700, elementType=TEXT, key=firstName, config={label=First Name}}, {id=3498415402897539, elementType=TEXT, key=lastName, config={label=Last Name}}]}}], formConditions=[{ruleOperator=AND, rules=[{sourceType=INPUT, source=Department, operator=EQ, valueType=STRING, value=Sales}], effects=[{effectType=HIDE, config={element=2614088730489570}}]}], created=2022-10-04T19:27:04.456Z, modified=2022-11-16T20:45:02.172Z}}]`) // []ImportFormDefinitionsRequestInner | Body is the request payload to import form definitions (optional)
|
||||
|
||||
|
||||
|
||||
@@ -950,7 +950,7 @@ import (
|
||||
|
||||
func main() {
|
||||
formDefinitionID := `00000000-0000-0000-0000-000000000000` // string | Form definition ID # string | Form definition ID
|
||||
body := fmt.Sprintf(`[{op=replace, path=/description, value=test-description}]`) // []map[string]map[string]interface{} | Body is the request payload to patch a form definition, check: https://jsonpatch.com (optional)
|
||||
body := []byte(`[{op=replace, path=/description, value=test-description}]`) // []map[string]map[string]interface{} | Body is the request payload to patch a form definition, check: https://jsonpatch.com (optional)
|
||||
|
||||
|
||||
|
||||
@@ -1018,7 +1018,7 @@ import (
|
||||
|
||||
func main() {
|
||||
formInstanceID := `00000000-0000-0000-0000-000000000000` // string | Form instance ID # string | Form instance ID
|
||||
body := fmt.Sprintf(`[{op=replace, path=/state, value=SUBMITTED}, {op=replace, path=/formData, value={a-key-1=a-value-1, a-key-2=true, a-key-3=1}}]`) // []map[string]map[string]interface{} | Body is the request payload to patch a form instance, check: https://jsonpatch.com (optional)
|
||||
body := []byte(`[{op=replace, path=/state, value=SUBMITTED}, {op=replace, path=/formData, value={a-key-1=a-value-1, a-key-2=true, a-key-3=1}}]`) // []map[string]map[string]interface{} | Body is the request payload to patch a form instance, check: https://jsonpatch.com (optional)
|
||||
|
||||
|
||||
|
||||
@@ -1350,7 +1350,7 @@ func main() {
|
||||
limit := 10 // int64 | Limit Integer specifying the maximum number of records to return in a single API call. The standard syntax described in [V3 API Standard Collection Parameters](https://developer.sailpoint.com/idn/api/standard-collection-parameters#paginating-results). If it is not specified, a default limit is used. (optional) (default to 10) # int64 | Limit Integer specifying the maximum number of records to return in a single API call. The standard syntax described in [V3 API Standard Collection Parameters](https://developer.sailpoint.com/idn/api/standard-collection-parameters#paginating-results). If it is not specified, a default limit is used. (optional) (default to 10)
|
||||
filters := `value eq "ID01"` // string | Filter results using the standard syntax described in [V3 API Standard Collection Parameters](https://developer.sailpoint.com/idn/api/standard-collection-parameters#filtering-results) Filtering is supported for the following fields and operators: **value**: *eq, ne, in* Supported composite operators: *not* Only a single *not* may be used, and it can only be used with the `in` operator. The `not` composite operator must be used in front of the field. For example, the following is valid: `not value in (\"ID01\")` (optional) # string | Filter results using the standard syntax described in [V3 API Standard Collection Parameters](https://developer.sailpoint.com/idn/api/standard-collection-parameters#filtering-results) Filtering is supported for the following fields and operators: **value**: *eq, ne, in* Supported composite operators: *not* Only a single *not* may be used, and it can only be used with the `in` operator. The `not` composite operator must be used in front of the field. For example, the following is valid: `not value in (\"ID01\")` (optional)
|
||||
query := `ac` // string | String that is passed to the underlying API to filter other (non-ID) fields. For example, for access profile data sources, this string will be passed to the access profile api and used with a \"starts with\" filter against several fields. (optional) # string | String that is passed to the underlying API to filter other (non-ID) fields. For example, for access profile data sources, this string will be passed to the access profile api and used with a \"starts with\" filter against several fields. (optional)
|
||||
data := []byte(`{
|
||||
formelementpreviewrequest := []byte(`{
|
||||
"dataSource" : {
|
||||
"config" : {
|
||||
"indices" : [ "identities" ],
|
||||
|
||||
@@ -87,7 +87,7 @@ import (
|
||||
|
||||
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")
|
||||
data := []byte(`{
|
||||
custompasswordinstruction := []byte(`{
|
||||
"pageContent" : "Please enter a new password. Your password must be at least 8 characters long and contain at least one number and one letter.",
|
||||
"pageId" : "change-password:enter-password",
|
||||
"locale" : "en"
|
||||
@@ -95,7 +95,7 @@ func main() {
|
||||
|
||||
|
||||
var customPasswordInstruction v2024.CustomPasswordInstruction
|
||||
if err := json.Unmarshal(data, &customPasswordInstruction); err != nil {
|
||||
if err := json.Unmarshal(custompasswordinstruction, &customPasswordInstruction); err != nil {
|
||||
fmt.Println("Error:", err)
|
||||
return
|
||||
}
|
||||
|
||||
@@ -71,11 +71,11 @@ import (
|
||||
)
|
||||
|
||||
func main() {
|
||||
data := []byte(``) // DataSegment |
|
||||
datasegment := []byte(``) // DataSegment |
|
||||
|
||||
|
||||
var dataSegment v2024.DataSegment
|
||||
if err := json.Unmarshal(data, &dataSegment); err != nil {
|
||||
if err := json.Unmarshal(datasegment, &dataSegment); err != nil {
|
||||
fmt.Println("Error:", err)
|
||||
return
|
||||
}
|
||||
@@ -561,11 +561,11 @@ import (
|
||||
func main() {
|
||||
id := `ef38f943-47e9-4562-b5bb-8424a56397d8` // string | The segment ID to modify. # string | The segment ID to modify.
|
||||
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 := fmt.Sprintf(`[{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
|
||||
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
|
||||
if err := json.Unmarshal(data, &requestBody); err != nil {
|
||||
var requestBody v2024.[]RequestBody
|
||||
if err := json.Unmarshal(requestbody, &requestBody); err != nil {
|
||||
fmt.Println("Error:", err)
|
||||
return
|
||||
}
|
||||
@@ -643,12 +643,12 @@ import (
|
||||
|
||||
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 := fmt.Sprintf(``) // []string | A list of segment ids that you wish to publish
|
||||
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
|
||||
if err := json.Unmarshal(data, &requestBody); err != nil {
|
||||
var requestBody v2024.[]RequestBody
|
||||
if err := json.Unmarshal(requestbody, &requestBody); err != nil {
|
||||
fmt.Println("Error:", err)
|
||||
return
|
||||
}
|
||||
|
||||
@@ -78,7 +78,7 @@ import (
|
||||
|
||||
func main() {
|
||||
roleId := `6603fba3004f43c687610a29195252ce` // string | Parent Role Id of the dimension. # string | Parent Role Id of the dimension.
|
||||
data := []byte(`{
|
||||
dimension := []byte(`{
|
||||
"owner" : {
|
||||
"name" : "support",
|
||||
"id" : "2c9180a46faadee4016fb4e018c20639",
|
||||
@@ -168,7 +168,7 @@ func main() {
|
||||
|
||||
|
||||
var dimension v2024.Dimension
|
||||
if err := json.Unmarshal(data, &dimension); err != nil {
|
||||
if err := json.Unmarshal(dimension, &dimension); err != nil {
|
||||
fmt.Println("Error:", err)
|
||||
return
|
||||
}
|
||||
@@ -241,13 +241,13 @@ import (
|
||||
|
||||
func main() {
|
||||
roleId := `6603fba3004f43c687610a29195252ce` // string | Parent Role Id of the dimensions. # string | Parent Role Id of the dimensions.
|
||||
data := []byte(`{
|
||||
dimensionbulkdeleterequest := []byte(`{
|
||||
"dimensionIds" : [ "2c9180847812e0b1017817051919ecca", "2c9180887812e0b201781e129f151816" ]
|
||||
}`) // DimensionBulkDeleteRequest |
|
||||
|
||||
|
||||
var dimensionBulkDeleteRequest v2024.DimensionBulkDeleteRequest
|
||||
if err := json.Unmarshal(data, &dimensionBulkDeleteRequest); err != nil {
|
||||
if err := json.Unmarshal(dimensionbulkdeleterequest, &dimensionBulkDeleteRequest); err != nil {
|
||||
fmt.Println("Error:", err)
|
||||
return
|
||||
}
|
||||
@@ -705,11 +705,11 @@ import (
|
||||
func main() {
|
||||
roleId := `6603fba3004f43c687610a29195252ce` // string | Parent Role Id of the dimension. # string | Parent Role Id of the dimension.
|
||||
dimensionId := `2c9180835d191a86015d28455b4a2329` // string | Id of the Dimension # string | Id of the Dimension
|
||||
jsonPatchOperation := fmt.Sprintf(`[{op=replace, path=/description, value=Test Description}, {op=replace, path=/name, value=new name}]`) // []JsonPatchOperation |
|
||||
jsonpatchoperation := []byte(`[{op=replace, path=/description, value=Test Description}, {op=replace, path=/name, value=new name}]`) // []JsonPatchOperation |
|
||||
|
||||
|
||||
var jsonPatchOperation v2024.JsonPatchOperation
|
||||
if err := json.Unmarshal(data, &jsonPatchOperation); err != nil {
|
||||
var jsonPatchOperation v2024.[]JsonPatchOperation
|
||||
if err := json.Unmarshal(jsonpatchoperation, &jsonPatchOperation); err != nil {
|
||||
fmt.Println("Error:", err)
|
||||
return
|
||||
}
|
||||
|
||||
@@ -831,7 +831,7 @@ import (
|
||||
func main() {
|
||||
id := `2c91808a7813090a017814121e121518` // string | ID of the entitlement to patch # string | ID of the entitlement to patch
|
||||
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 := fmt.Sprintf(`[{op=replace, path=/requestable, value=true}, {op=replace, path=/privileged, value=true}]`) // []JsonPatchOperation | (optional)
|
||||
jsonpatchoperation := []byte(`[{op=replace, path=/requestable, value=true}, {op=replace, path=/privileged, value=true}]`) // []JsonPatchOperation | (optional)
|
||||
|
||||
|
||||
|
||||
@@ -912,7 +912,7 @@ import (
|
||||
func main() {
|
||||
id := `2c91808a7813090a017814121e121518` // string | Entitlement ID # string | Entitlement ID
|
||||
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")
|
||||
data := []byte(`{
|
||||
entitlementrequestconfig := []byte(`{
|
||||
"accessRequestConfig" : {
|
||||
"denialCommentRequired" : false,
|
||||
"approvalSchemes" : [ {
|
||||
@@ -928,7 +928,7 @@ func main() {
|
||||
|
||||
|
||||
var entitlementRequestConfig v2024.EntitlementRequestConfig
|
||||
if err := json.Unmarshal(data, &entitlementRequestConfig); err != nil {
|
||||
if err := json.Unmarshal(entitlementrequestconfig, &entitlementRequestConfig); err != nil {
|
||||
fmt.Println("Error:", err)
|
||||
return
|
||||
}
|
||||
@@ -1091,7 +1091,7 @@ import (
|
||||
|
||||
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")
|
||||
data := []byte(`{
|
||||
entitlementbulkupdaterequest := []byte(`{
|
||||
"entitlementIds" : [ "2c91808a7624751a01762f19d665220d", "2c91808a7624751a01762f19d67c220e", "2c91808a7624751a01762f19d692220f" ],
|
||||
"jsonPatch" : [ {
|
||||
"op" : "replace",
|
||||
@@ -1106,7 +1106,7 @@ func main() {
|
||||
|
||||
|
||||
var entitlementBulkUpdateRequest v2024.EntitlementBulkUpdateRequest
|
||||
if err := json.Unmarshal(data, &entitlementBulkUpdateRequest); err != nil {
|
||||
if err := json.Unmarshal(entitlementbulkupdaterequest, &entitlementBulkUpdateRequest); err != nil {
|
||||
fmt.Println("Error:", err)
|
||||
return
|
||||
}
|
||||
|
||||
@@ -72,7 +72,7 @@ import (
|
||||
)
|
||||
|
||||
func main() {
|
||||
data := []byte(`{
|
||||
networkconfiguration := []byte(`{
|
||||
"range" : [ "1.3.7.2", "255.255.255.252/30" ],
|
||||
"whitelisted" : true,
|
||||
"geolocation" : [ "CA", "FR", "HT" ]
|
||||
@@ -80,7 +80,7 @@ func main() {
|
||||
|
||||
|
||||
var networkConfiguration v2024.NetworkConfiguration
|
||||
if err := json.Unmarshal(data, &networkConfiguration); err != nil {
|
||||
if err := json.Unmarshal(networkconfiguration, &networkConfiguration); err != nil {
|
||||
fmt.Println("Error:", err)
|
||||
return
|
||||
}
|
||||
@@ -373,11 +373,11 @@ import (
|
||||
)
|
||||
|
||||
func main() {
|
||||
jsonPatchOperation := fmt.Sprintf(`[{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`
|
||||
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
|
||||
if err := json.Unmarshal(data, &jsonPatchOperation); err != nil {
|
||||
var jsonPatchOperation v2024.[]JsonPatchOperation
|
||||
if err := json.Unmarshal(jsonpatchoperation, &jsonPatchOperation); err != nil {
|
||||
fmt.Println("Error:", err)
|
||||
return
|
||||
}
|
||||
@@ -442,11 +442,11 @@ import (
|
||||
)
|
||||
|
||||
func main() {
|
||||
jsonPatchOperation := fmt.Sprintf(`[{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.
|
||||
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
|
||||
if err := json.Unmarshal(data, &jsonPatchOperation); err != nil {
|
||||
var jsonPatchOperation v2024.[]JsonPatchOperation
|
||||
if err := json.Unmarshal(jsonpatchoperation, &jsonPatchOperation); err != nil {
|
||||
fmt.Println("Error:", err)
|
||||
return
|
||||
}
|
||||
@@ -510,11 +510,11 @@ import (
|
||||
)
|
||||
|
||||
func main() {
|
||||
jsonPatchOperation := fmt.Sprintf(`[{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)
|
||||
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
|
||||
if err := json.Unmarshal(data, &jsonPatchOperation); err != nil {
|
||||
var jsonPatchOperation v2024.[]JsonPatchOperation
|
||||
if err := json.Unmarshal(jsonpatchoperation, &jsonPatchOperation); err != nil {
|
||||
fmt.Println("Error:", err)
|
||||
return
|
||||
}
|
||||
@@ -578,11 +578,11 @@ import (
|
||||
)
|
||||
|
||||
func main() {
|
||||
jsonPatchOperation := fmt.Sprintf(`[{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.`
|
||||
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
|
||||
if err := json.Unmarshal(data, &jsonPatchOperation); err != nil {
|
||||
var jsonPatchOperation v2024.[]JsonPatchOperation
|
||||
if err := json.Unmarshal(jsonpatchoperation, &jsonPatchOperation); err != nil {
|
||||
fmt.Println("Error:", err)
|
||||
return
|
||||
}
|
||||
|
||||
@@ -88,7 +88,7 @@ import (
|
||||
|
||||
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")
|
||||
data := []byte(`{
|
||||
workgroupdto := []byte(`{
|
||||
"owner" : {
|
||||
"emailAddress" : "support@sailpoint.com",
|
||||
"displayName" : "Support",
|
||||
@@ -107,7 +107,7 @@ func main() {
|
||||
|
||||
|
||||
var workgroupDto v2024.WorkgroupDto
|
||||
if err := json.Unmarshal(data, &workgroupDto); err != nil {
|
||||
if err := json.Unmarshal(workgroupdto, &workgroupDto); err != nil {
|
||||
fmt.Println("Error:", err)
|
||||
return
|
||||
}
|
||||
@@ -270,11 +270,11 @@ import (
|
||||
func main() {
|
||||
workgroupId := `2c91808a7813090a017814121919ecca` // string | ID of the Governance Group. # string | ID of the Governance Group.
|
||||
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 := fmt.Sprintf(``) // []IdentityPreviewResponseIdentity | List of identities to be removed from a Governance Group members list.
|
||||
identitypreviewresponseidentity := []byte(``) // []IdentityPreviewResponseIdentity | List of identities to be removed from a Governance Group members list.
|
||||
|
||||
|
||||
var identityPreviewResponseIdentity v2024.IdentityPreviewResponseIdentity
|
||||
if err := json.Unmarshal(data, &identityPreviewResponseIdentity); err != nil {
|
||||
var identityPreviewResponseIdentity v2024.[]IdentityPreviewResponseIdentity
|
||||
if err := json.Unmarshal(identitypreviewresponseidentity, &identityPreviewResponseIdentity); err != nil {
|
||||
fmt.Println("Error:", err)
|
||||
return
|
||||
}
|
||||
@@ -362,13 +362,13 @@ import (
|
||||
|
||||
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")
|
||||
data := []byte(`{
|
||||
workgroupbulkdeleterequest := []byte(`{
|
||||
"ids" : [ "567a697e-885b-495a-afc5-d55e1c23a302", "c7b0f7b2-1e78-4063-b294-a555333dacd2" ]
|
||||
}`) // WorkgroupBulkDeleteRequest |
|
||||
|
||||
|
||||
var workgroupBulkDeleteRequest v2024.WorkgroupBulkDeleteRequest
|
||||
if err := json.Unmarshal(data, &workgroupBulkDeleteRequest); err != nil {
|
||||
if err := json.Unmarshal(workgroupbulkdeleterequest, &workgroupBulkDeleteRequest); err != nil {
|
||||
fmt.Println("Error:", err)
|
||||
return
|
||||
}
|
||||
@@ -790,7 +790,7 @@ import (
|
||||
func main() {
|
||||
id := `2c9180837ca6693d017ca8d097500149` // string | ID of the Governance Group # string | ID of the Governance Group
|
||||
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 := fmt.Sprintf(`[{op=replace, path=/description, value=Governance Group new description.}]`) // []JsonPatchOperation | (optional)
|
||||
jsonpatchoperation := []byte(`[{op=replace, path=/description, value=Governance Group new description.}]`) // []JsonPatchOperation | (optional)
|
||||
|
||||
|
||||
|
||||
@@ -875,11 +875,11 @@ import (
|
||||
func main() {
|
||||
workgroupId := `2c91808a7813090a017814121919ecca` // string | ID of the Governance Group. # string | ID of the Governance Group.
|
||||
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 := fmt.Sprintf(``) // []IdentityPreviewResponseIdentity | List of identities to be added to a Governance Group members list.
|
||||
identitypreviewresponseidentity := []byte(``) // []IdentityPreviewResponseIdentity | List of identities to be added to a Governance Group members list.
|
||||
|
||||
|
||||
var identityPreviewResponseIdentity v2024.IdentityPreviewResponseIdentity
|
||||
if err := json.Unmarshal(data, &identityPreviewResponseIdentity); err != nil {
|
||||
var identityPreviewResponseIdentity v2024.[]IdentityPreviewResponseIdentity
|
||||
if err := json.Unmarshal(identitypreviewresponseidentity, &identityPreviewResponseIdentity); err != nil {
|
||||
fmt.Println("Error:", err)
|
||||
return
|
||||
}
|
||||
|
||||
@@ -83,7 +83,7 @@ import (
|
||||
|
||||
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")
|
||||
data := []byte(`{
|
||||
accessrequestrecommendationactionitemdto := []byte(`{
|
||||
"access" : {
|
||||
"id" : "2c9180835d2e5168015d32f890ca1581",
|
||||
"type" : "ACCESS_PROFILE"
|
||||
@@ -93,7 +93,7 @@ func main() {
|
||||
|
||||
|
||||
var accessRequestRecommendationActionItemDto v2024.AccessRequestRecommendationActionItemDto
|
||||
if err := json.Unmarshal(data, &accessRequestRecommendationActionItemDto); err != nil {
|
||||
if err := json.Unmarshal(accessrequestrecommendationactionitemdto, &accessRequestRecommendationActionItemDto); err != nil {
|
||||
fmt.Println("Error:", err)
|
||||
return
|
||||
}
|
||||
@@ -170,7 +170,7 @@ import (
|
||||
|
||||
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")
|
||||
data := []byte(`{
|
||||
accessrequestrecommendationactionitemdto := []byte(`{
|
||||
"access" : {
|
||||
"id" : "2c9180835d2e5168015d32f890ca1581",
|
||||
"type" : "ACCESS_PROFILE"
|
||||
@@ -180,7 +180,7 @@ func main() {
|
||||
|
||||
|
||||
var accessRequestRecommendationActionItemDto v2024.AccessRequestRecommendationActionItemDto
|
||||
if err := json.Unmarshal(data, &accessRequestRecommendationActionItemDto); err != nil {
|
||||
if err := json.Unmarshal(accessrequestrecommendationactionitemdto, &accessRequestRecommendationActionItemDto); err != nil {
|
||||
fmt.Println("Error:", err)
|
||||
return
|
||||
}
|
||||
@@ -257,7 +257,7 @@ import (
|
||||
|
||||
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")
|
||||
data := []byte(`{
|
||||
accessrequestrecommendationactionitemdto := []byte(`{
|
||||
"access" : {
|
||||
"id" : "2c9180835d2e5168015d32f890ca1581",
|
||||
"type" : "ACCESS_PROFILE"
|
||||
@@ -267,7 +267,7 @@ func main() {
|
||||
|
||||
|
||||
var accessRequestRecommendationActionItemDto v2024.AccessRequestRecommendationActionItemDto
|
||||
if err := json.Unmarshal(data, &accessRequestRecommendationActionItemDto); err != nil {
|
||||
if err := json.Unmarshal(accessrequestrecommendationactionitemdto, &accessRequestRecommendationActionItemDto); err != nil {
|
||||
fmt.Println("Error:", err)
|
||||
return
|
||||
}
|
||||
@@ -344,11 +344,11 @@ import (
|
||||
|
||||
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 := fmt.Sprintf(``) // []AccessRequestRecommendationActionItemDto | The recommended access items that were viewed for an identity.
|
||||
accessrequestrecommendationactionitemdto := []byte(``) // []AccessRequestRecommendationActionItemDto | The recommended access items that were viewed for an identity.
|
||||
|
||||
|
||||
var accessRequestRecommendationActionItemDto v2024.AccessRequestRecommendationActionItemDto
|
||||
if err := json.Unmarshal(data, &accessRequestRecommendationActionItemDto); err != nil {
|
||||
var accessRequestRecommendationActionItemDto v2024.[]AccessRequestRecommendationActionItemDto
|
||||
if err := json.Unmarshal(accessrequestrecommendationactionitemdto, &accessRequestRecommendationActionItemDto); err != nil {
|
||||
fmt.Println("Error:", err)
|
||||
return
|
||||
}
|
||||
@@ -834,7 +834,7 @@ import (
|
||||
|
||||
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")
|
||||
data := []byte(`{
|
||||
accessrequestrecommendationconfigdto := []byte(`{
|
||||
"scoreThreshold" : 0.5,
|
||||
"startDateAttribute" : "startDate",
|
||||
"restrictionAttribute" : "location",
|
||||
@@ -845,7 +845,7 @@ func main() {
|
||||
|
||||
|
||||
var accessRequestRecommendationConfigDto v2024.AccessRequestRecommendationConfigDto
|
||||
if err := json.Unmarshal(data, &accessRequestRecommendationConfigDto); err != nil {
|
||||
if err := json.Unmarshal(accessrequestrecommendationconfigdto, &accessRequestRecommendationConfigDto); err != nil {
|
||||
fmt.Println("Error:", err)
|
||||
return
|
||||
}
|
||||
|
||||
@@ -76,7 +76,7 @@ import (
|
||||
|
||||
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")
|
||||
data := []byte(`{
|
||||
commonaccessitemrequest := []byte(`{
|
||||
"access" : {
|
||||
"ownerName" : "ownerName",
|
||||
"name" : "name",
|
||||
@@ -90,7 +90,7 @@ func main() {
|
||||
|
||||
|
||||
var commonAccessItemRequest v2024.CommonAccessItemRequest
|
||||
if err := json.Unmarshal(data, &commonAccessItemRequest); err != nil {
|
||||
if err := json.Unmarshal(commonaccessitemrequest, &commonAccessItemRequest); err != nil {
|
||||
fmt.Println("Error:", err)
|
||||
return
|
||||
}
|
||||
@@ -250,11 +250,11 @@ import (
|
||||
|
||||
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 := fmt.Sprintf(``) // []CommonAccessIDStatus | Confirm or deny in bulk the common access ids that are (or aren't) common access
|
||||
commonaccessidstatus := []byte(``) // []CommonAccessIDStatus | Confirm or deny in bulk the common access ids that are (or aren't) common access
|
||||
|
||||
|
||||
var commonAccessIDStatus v2024.CommonAccessIDStatus
|
||||
if err := json.Unmarshal(data, &commonAccessIDStatus); err != nil {
|
||||
var commonAccessIDStatus v2024.[]CommonAccessIDStatus
|
||||
if err := json.Unmarshal(commonaccessidstatus, &commonAccessIDStatus); err != nil {
|
||||
fmt.Println("Error:", err)
|
||||
return
|
||||
}
|
||||
|
||||
@@ -577,11 +577,11 @@ import (
|
||||
|
||||
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 := fmt.Sprintf(``) // []string |
|
||||
requestbody := []byte(``) // []string |
|
||||
|
||||
|
||||
var requestBody v2024.RequestBody
|
||||
if err := json.Unmarshal(data, &requestBody); err != nil {
|
||||
var requestBody v2024.[]RequestBody
|
||||
if err := json.Unmarshal(requestbody, &requestBody); err != nil {
|
||||
fmt.Println("Error:", err)
|
||||
return
|
||||
}
|
||||
@@ -751,11 +751,11 @@ import (
|
||||
|
||||
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 := fmt.Sprintf(``) // []string |
|
||||
requestbody := []byte(``) // []string |
|
||||
|
||||
|
||||
var requestBody v2024.RequestBody
|
||||
if err := json.Unmarshal(data, &requestBody); err != nil {
|
||||
var requestBody v2024.[]RequestBody
|
||||
if err := json.Unmarshal(requestbody, &requestBody); err != nil {
|
||||
fmt.Println("Error:", err)
|
||||
return
|
||||
}
|
||||
|
||||
@@ -76,7 +76,7 @@ import (
|
||||
|
||||
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")
|
||||
data := []byte(`{
|
||||
recommendationrequestdto := []byte(`{
|
||||
"prescribeMode" : false,
|
||||
"excludeInterpretations" : false,
|
||||
"requests" : [ {
|
||||
@@ -98,7 +98,7 @@ func main() {
|
||||
|
||||
|
||||
var recommendationRequestDto v2024.RecommendationRequestDto
|
||||
if err := json.Unmarshal(data, &recommendationRequestDto); err != nil {
|
||||
if err := json.Unmarshal(recommendationrequestdto, &recommendationRequestDto); err != nil {
|
||||
fmt.Println("Error:", err)
|
||||
return
|
||||
}
|
||||
@@ -248,7 +248,7 @@ import (
|
||||
|
||||
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")
|
||||
data := []byte(`{
|
||||
recommendationconfigdto := []byte(`{
|
||||
"recommenderFeatures" : [ "jobTitle", "location", "peer_group", "department", "active" ],
|
||||
"peerGroupPercentageThreshold" : 0.5,
|
||||
"runAutoSelectOnce" : false,
|
||||
@@ -257,7 +257,7 @@ func main() {
|
||||
|
||||
|
||||
var recommendationConfigDto v2024.RecommendationConfigDto
|
||||
if err := json.Unmarshal(data, &recommendationConfigDto); err != nil {
|
||||
if err := json.Unmarshal(recommendationconfigdto, &recommendationConfigDto); err != nil {
|
||||
fmt.Println("Error:", err)
|
||||
return
|
||||
}
|
||||
|
||||
@@ -111,7 +111,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")
|
||||
minEntitlementPopularity := 56 // int32 | Minimum popularity required for an entitlement to be included in the provisioned role. (optional) (default to 0) # int32 | Minimum popularity required for an entitlement to be included in the provisioned role. (optional) (default to 0)
|
||||
includeCommonAccess := true // bool | Boolean determining whether common access entitlements will be included in the provisioned role. (optional) (default to true) # bool | Boolean determining whether common access entitlements will be included in the provisioned role. (optional) (default to true)
|
||||
data := []byte(`{
|
||||
roleminingpotentialroleprovisionrequest := []byte(`{
|
||||
"includeIdentities" : true,
|
||||
"roleName" : "Finance - Accounting",
|
||||
"ownerId" : "2b568c65bc3c4c57a43bd97e3a8e41",
|
||||
@@ -192,7 +192,7 @@ import (
|
||||
|
||||
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")
|
||||
data := []byte(`{
|
||||
roleminingsessiondto := []byte(`{
|
||||
"emailRecipientId" : "2c918090761a5aac0176215c46a62d58",
|
||||
"prescribedPruneThreshold" : 10,
|
||||
"pruneThreshold" : 50,
|
||||
@@ -227,7 +227,7 @@ func main() {
|
||||
|
||||
|
||||
var roleMiningSessionDto v2024.RoleMiningSessionDto
|
||||
if err := json.Unmarshal(data, &roleMiningSessionDto); err != nil {
|
||||
if err := json.Unmarshal(roleminingsessiondto, &roleMiningSessionDto); err != nil {
|
||||
fmt.Println("Error:", err)
|
||||
return
|
||||
}
|
||||
@@ -480,7 +480,7 @@ func main() {
|
||||
sessionId := `8c190e67-87aa-4ed9-a90b-d9d5344523fb` // string | The role mining session id # string | The role mining session id
|
||||
potentialRoleId := `278359a6-04b7-4669-9468-924cf580964a` // string | A potential role id in a role mining session # string | A potential role id in a role mining session
|
||||
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")
|
||||
data := []byte(`{
|
||||
roleminingpotentialroleexportrequest := []byte(`{
|
||||
"minEntitlementPopularity" : 0,
|
||||
"includeCommonAccess" : true
|
||||
}`) // RoleMiningPotentialRoleExportRequest | (optional)
|
||||
@@ -1951,11 +1951,11 @@ func main() {
|
||||
sessionId := `8c190e67-87aa-4ed9-a90b-d9d5344523fb` // string | The role mining session id # string | The role mining session id
|
||||
potentialRoleId := `8c190e67-87aa-4ed9-a90b-d9d5344523fb` // string | The potential role summary id # string | The potential role summary id
|
||||
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 := fmt.Sprintf(`[{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 |
|
||||
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
|
||||
if err := json.Unmarshal(data, &patchPotentialRoleRequestInner); err != nil {
|
||||
var patchPotentialRoleRequestInner v2024.[]PatchPotentialRoleRequestInner
|
||||
if err := json.Unmarshal(patchpotentialrolerequestinner, &patchPotentialRoleRequestInner); err != nil {
|
||||
fmt.Println("Error:", err)
|
||||
return
|
||||
}
|
||||
@@ -2053,11 +2053,11 @@ func main() {
|
||||
sessionId := `8c190e67-87aa-4ed9-a90b-d9d5344523fb` // string | The role mining session id # string | The role mining session id
|
||||
potentialRoleId := `8c190e67-87aa-4ed9-a90b-d9d5344523fb` // string | The potential role summary id # string | The potential role summary id
|
||||
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 := fmt.Sprintf(`[{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 |
|
||||
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
|
||||
if err := json.Unmarshal(data, &patchPotentialRoleRequestInner); err != nil {
|
||||
var patchPotentialRoleRequestInner v2024.[]PatchPotentialRoleRequestInner
|
||||
if err := json.Unmarshal(patchpotentialrolerequestinner, &patchPotentialRoleRequestInner); err != nil {
|
||||
fmt.Println("Error:", err)
|
||||
return
|
||||
}
|
||||
@@ -2140,11 +2140,11 @@ import (
|
||||
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
|
||||
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 := fmt.Sprintf(`[{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.
|
||||
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
|
||||
if err := json.Unmarshal(data, &jsonPatchOperation); err != nil {
|
||||
var jsonPatchOperation v2024.[]JsonPatchOperation
|
||||
if err := json.Unmarshal(jsonpatchoperation, &jsonPatchOperation); err != nil {
|
||||
fmt.Println("Error:", err)
|
||||
return
|
||||
}
|
||||
@@ -2230,14 +2230,14 @@ func main() {
|
||||
sessionId := `8c190e67-87aa-4ed9-a90b-d9d5344523fb` // string | The role mining session id # string | The role mining session id
|
||||
potentialRoleId := `8c190e67-87aa-4ed9-a90b-d9d5344523fb` // string | A potential role id in a role mining session # string | A potential role id in a role mining session
|
||||
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")
|
||||
data := []byte(`{
|
||||
roleminingpotentialroleeditentitlements := []byte(`{
|
||||
"ids" : [ "entId1", "entId2" ],
|
||||
"exclude" : true
|
||||
}`) // RoleMiningPotentialRoleEditEntitlements | Role mining session parameters
|
||||
|
||||
|
||||
var roleMiningPotentialRoleEditEntitlements v2024.RoleMiningPotentialRoleEditEntitlements
|
||||
if err := json.Unmarshal(data, &roleMiningPotentialRoleEditEntitlements); err != nil {
|
||||
if err := json.Unmarshal(roleminingpotentialroleeditentitlements, &roleMiningPotentialRoleEditEntitlements); err != nil {
|
||||
fmt.Println("Error:", err)
|
||||
return
|
||||
}
|
||||
|
||||
@@ -670,14 +670,14 @@ import (
|
||||
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")
|
||||
id := `ef38f94347e94562b5bb8424a56397d8` // string | Identity ID # string | Identity ID
|
||||
data := []byte(`{
|
||||
sendaccountverificationrequest := []byte(`{
|
||||
"sourceName" : "Active Directory Source",
|
||||
"via" : "EMAIL_WORK"
|
||||
}`) // SendAccountVerificationRequest |
|
||||
|
||||
|
||||
var sendAccountVerificationRequest v2024.SendAccountVerificationRequest
|
||||
if err := json.Unmarshal(data, &sendAccountVerificationRequest); err != nil {
|
||||
if err := json.Unmarshal(sendaccountverificationrequest, &sendAccountVerificationRequest); err != nil {
|
||||
fmt.Println("Error:", err)
|
||||
return
|
||||
}
|
||||
@@ -757,14 +757,14 @@ import (
|
||||
|
||||
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")
|
||||
data := []byte(`{
|
||||
inviteidentitiesrequest := []byte(`{
|
||||
"ids" : [ "2b568c65bc3c4c57a43bd97e3a8e55", "2c9180867769897d01776ed5f125512f" ],
|
||||
"uninvited" : false
|
||||
}`) // InviteIdentitiesRequest |
|
||||
|
||||
|
||||
var inviteIdentitiesRequest v2024.InviteIdentitiesRequest
|
||||
if err := json.Unmarshal(data, &inviteIdentitiesRequest); err != nil {
|
||||
if err := json.Unmarshal(inviteidentitiesrequest, &inviteIdentitiesRequest); err != nil {
|
||||
fmt.Println("Error:", err)
|
||||
return
|
||||
}
|
||||
@@ -848,13 +848,13 @@ import (
|
||||
|
||||
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")
|
||||
data := []byte(`{
|
||||
processidentitiesrequest := []byte(`{
|
||||
"identityIds" : [ "ef38f94347e94562b5bb8424a56397d8", "ef38f94347e94562b5bb8424a56397d8", "ef38f94347e94562b5bb8424a56397d8", "ef38f94347e94562b5bb8424a56397d8", "ef38f94347e94562b5bb8424a56397d8" ]
|
||||
}`) // ProcessIdentitiesRequest |
|
||||
|
||||
|
||||
var processIdentitiesRequest v2024.ProcessIdentitiesRequest
|
||||
if err := json.Unmarshal(data, &processIdentitiesRequest); err != nil {
|
||||
if err := json.Unmarshal(processidentitiesrequest, &processIdentitiesRequest); err != nil {
|
||||
fmt.Println("Error:", err)
|
||||
return
|
||||
}
|
||||
|
||||
@@ -79,7 +79,7 @@ import (
|
||||
|
||||
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")
|
||||
data := []byte(`{
|
||||
identityattribute := []byte(`{
|
||||
"standard" : false,
|
||||
"system" : false,
|
||||
"sources" : [ {
|
||||
@@ -104,7 +104,7 @@ func main() {
|
||||
|
||||
|
||||
var identityAttribute v2024.IdentityAttribute
|
||||
if err := json.Unmarshal(data, &identityAttribute); err != nil {
|
||||
if err := json.Unmarshal(identityattribute, &identityAttribute); err != nil {
|
||||
fmt.Println("Error:", err)
|
||||
return
|
||||
}
|
||||
@@ -258,13 +258,13 @@ import (
|
||||
|
||||
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")
|
||||
data := []byte(`{
|
||||
identityattributenames := []byte(`{
|
||||
"ids" : [ "name", "displayName" ]
|
||||
}`) // IdentityAttributeNames |
|
||||
|
||||
|
||||
var identityAttributeNames v2024.IdentityAttributeNames
|
||||
if err := json.Unmarshal(data, &identityAttributeNames); err != nil {
|
||||
if err := json.Unmarshal(identityattributenames, &identityAttributeNames); err != nil {
|
||||
fmt.Println("Error:", err)
|
||||
return
|
||||
}
|
||||
@@ -505,7 +505,7 @@ import (
|
||||
func main() {
|
||||
name := `displayName` // string | The attribute's technical name. # string | The attribute's technical name.
|
||||
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")
|
||||
data := []byte(`{
|
||||
identityattribute := []byte(`{
|
||||
"standard" : false,
|
||||
"system" : false,
|
||||
"sources" : [ {
|
||||
@@ -530,7 +530,7 @@ func main() {
|
||||
|
||||
|
||||
var identityAttribute v2024.IdentityAttribute
|
||||
if err := json.Unmarshal(data, &identityAttribute); err != nil {
|
||||
if err := json.Unmarshal(identityattribute, &identityAttribute); err != nil {
|
||||
fmt.Println("Error:", err)
|
||||
return
|
||||
}
|
||||
|
||||
@@ -97,7 +97,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")
|
||||
snapshot1 := `2007-03-01T13:00:00Z` // string | The snapshot 1 of identity (optional) # string | The snapshot 1 of identity (optional)
|
||||
snapshot2 := `2008-03-01T13:00:00Z` // string | The snapshot 2 of identity (optional) # string | The snapshot 2 of identity (optional)
|
||||
accessItemTypes := fmt.Sprintf(``) // []string | An optional list of access item types (app, account, entitlement, etc...) to return. If null or empty, all access items types are returned (optional)
|
||||
accessitemtypes := []byte(``) // []string | An optional list of access item types (app, account, entitlement, etc...) to return. If null or empty, all access items types are returned (optional)
|
||||
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)
|
||||
offset := 0 // int32 | Offset into the full result set. Usually specified with *limit* to paginate through the results. See [V3 API Standard Collection Parameters](https://developer.sailpoint.com/idn/api/standard-collection-parameters) for more information. (optional) (default to 0) # int32 | Offset into the full result set. Usually specified with *limit* to paginate through the results. See [V3 API Standard Collection Parameters](https://developer.sailpoint.com/idn/api/standard-collection-parameters) for more information. (optional) (default to 0)
|
||||
count := true // bool | If *true* it will populate the *X-Total-Count* response header with the number of results that would be returned if *limit* and *offset* were ignored. Since requesting a total count can have a performance impact, it is recommended not to send **count=true** if that value will not be used. See [V3 API Standard Collection Parameters](https://developer.sailpoint.com/idn/api/standard-collection-parameters) for more information. (optional) (default to false) # bool | If *true* it will populate the *X-Total-Count* response header with the number of results that would be returned if *limit* and *offset* were ignored. Since requesting a total count can have a performance impact, it is recommended not to send **count=true** if that value will not be used. See [V3 API Standard Collection Parameters](https://developer.sailpoint.com/idn/api/standard-collection-parameters) for more information. (optional) (default to false)
|
||||
@@ -360,8 +360,8 @@ func main() {
|
||||
id := `8c190e6787aa4ed9a90bd9d5344523fb` // string | The identity id # string | The identity id
|
||||
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")
|
||||
from := `2024-03-01T13:00:00Z` // string | The optional instant until which access events are returned (optional) # string | The optional instant until which access events are returned (optional)
|
||||
eventTypes := fmt.Sprintf(`[AccessAddedEvent, AccessRemovedEvent]`) // []string | An optional list of event types to return. If null or empty, all events are returned (optional)
|
||||
accessItemTypes := fmt.Sprintf(`[entitlement, account]`) // []string | An optional list of access item types (app, account, entitlement, etc...) to return. If null or empty, all access items types are returned (optional)
|
||||
eventtypes := []byte(`[AccessAddedEvent, AccessRemovedEvent]`) // []string | An optional list of event types to return. If null or empty, all events are returned (optional)
|
||||
accessitemtypes := []byte(`[entitlement, account]`) // []string | An optional list of access item types (app, account, entitlement, etc...) to return. If null or empty, all access items types are returned (optional)
|
||||
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)
|
||||
offset := 0 // int32 | Offset into the full result set. Usually specified with *limit* to paginate through the results. See [V3 API Standard Collection Parameters](https://developer.sailpoint.com/idn/api/standard-collection-parameters) for more information. (optional) (default to 0) # int32 | Offset into the full result set. Usually specified with *limit* to paginate through the results. See [V3 API Standard Collection Parameters](https://developer.sailpoint.com/idn/api/standard-collection-parameters) for more information. (optional) (default to 0)
|
||||
count := true // bool | If *true* it will populate the *X-Total-Count* response header with the number of results that would be returned if *limit* and *offset* were ignored. Since requesting a total count can have a performance impact, it is recommended not to send **count=true** if that value will not be used. See [V3 API Standard Collection Parameters](https://developer.sailpoint.com/idn/api/standard-collection-parameters) for more information. (optional) (default to false) # bool | If *true* it will populate the *X-Total-Count* response header with the number of results that would be returned if *limit* and *offset* were ignored. Since requesting a total count can have a performance impact, it is recommended not to send **count=true** if that value will not be used. See [V3 API Standard Collection Parameters](https://developer.sailpoint.com/idn/api/standard-collection-parameters) for more information. (optional) (default to false)
|
||||
|
||||
@@ -81,7 +81,7 @@ import (
|
||||
)
|
||||
|
||||
func main() {
|
||||
data := []byte(`{
|
||||
identityprofile := []byte(`{
|
||||
"owner" : {
|
||||
"name" : "William Wilson",
|
||||
"id" : "2c9180835d191a86015d28455b4b232a",
|
||||
@@ -133,7 +133,7 @@ func main() {
|
||||
|
||||
|
||||
var identityProfile v2024.IdentityProfile
|
||||
if err := json.Unmarshal(data, &identityProfile); err != nil {
|
||||
if err := json.Unmarshal(identityprofile, &identityProfile); err != nil {
|
||||
fmt.Println("Error:", err)
|
||||
return
|
||||
}
|
||||
@@ -268,11 +268,11 @@ import (
|
||||
)
|
||||
|
||||
func main() {
|
||||
requestBody := fmt.Sprintf(``) // []string | Identity Profile bulk delete request body.
|
||||
requestbody := []byte(``) // []string | Identity Profile bulk delete request body.
|
||||
|
||||
|
||||
var requestBody v2024.RequestBody
|
||||
if err := json.Unmarshal(data, &requestBody); err != nil {
|
||||
var requestBody v2024.[]RequestBody
|
||||
if err := json.Unmarshal(requestbody, &requestBody); err != nil {
|
||||
fmt.Println("Error:", err)
|
||||
return
|
||||
}
|
||||
@@ -419,7 +419,7 @@ import (
|
||||
|
||||
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")
|
||||
data := []byte(`{
|
||||
identitypreviewrequest := []byte(`{
|
||||
"identityId" : "046b6c7f-0b8a-43b9-b35d-6489e6daee91",
|
||||
"identityAttributeConfig" : {
|
||||
"attributeTransforms" : [ {
|
||||
@@ -449,7 +449,7 @@ func main() {
|
||||
|
||||
|
||||
var identityPreviewRequest v2024.IdentityPreviewRequest
|
||||
if err := json.Unmarshal(data, &identityPreviewRequest); err != nil {
|
||||
if err := json.Unmarshal(identitypreviewrequest, &identityPreviewRequest); err != nil {
|
||||
fmt.Println("Error:", err)
|
||||
return
|
||||
}
|
||||
@@ -645,11 +645,11 @@ import (
|
||||
)
|
||||
|
||||
func main() {
|
||||
identityProfileExportedObject := fmt.Sprintf(``) // []IdentityProfileExportedObject | Previously exported Identity Profiles.
|
||||
identityprofileexportedobject := []byte(``) // []IdentityProfileExportedObject | Previously exported Identity Profiles.
|
||||
|
||||
|
||||
var identityProfileExportedObject v2024.IdentityProfileExportedObject
|
||||
if err := json.Unmarshal(data, &identityProfileExportedObject); err != nil {
|
||||
var identityProfileExportedObject v2024.[]IdentityProfileExportedObject
|
||||
if err := json.Unmarshal(identityprofileexportedobject, &identityProfileExportedObject); err != nil {
|
||||
fmt.Println("Error:", err)
|
||||
return
|
||||
}
|
||||
@@ -867,11 +867,11 @@ import (
|
||||
|
||||
func main() {
|
||||
identityProfileId := `ef38f94347e94562b5bb8424a56397d8` // string | Identity profile ID. # string | Identity profile ID.
|
||||
jsonPatchOperation := fmt.Sprintf(`[{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.
|
||||
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
|
||||
if err := json.Unmarshal(data, &jsonPatchOperation); err != nil {
|
||||
var jsonPatchOperation v2024.[]JsonPatchOperation
|
||||
if err := json.Unmarshal(jsonpatchoperation, &jsonPatchOperation); err != nil {
|
||||
fmt.Println("Error:", err)
|
||||
return
|
||||
}
|
||||
|
||||
@@ -110,7 +110,7 @@ import (
|
||||
|
||||
func main() {
|
||||
identityProfileId := `2b838de9-db9b-abcf-e646-d4f274ad4238` // string | Identity profile ID. # string | Identity profile ID.
|
||||
data := []byte(`{
|
||||
lifecyclestate := []byte(`{
|
||||
"accessProfileIds" : [ "2c918084660f45d6016617daa9210584", "2c918084660f45d6016617daa9210500" ],
|
||||
"emailNotificationOption" : {
|
||||
"notifyManagers" : true,
|
||||
@@ -138,7 +138,7 @@ func main() {
|
||||
|
||||
|
||||
var lifecycleState v2024.LifecycleState
|
||||
if err := json.Unmarshal(data, &lifecycleState); err != nil {
|
||||
if err := json.Unmarshal(lifecyclestate, &lifecycleState); err != nil {
|
||||
fmt.Println("Error:", err)
|
||||
return
|
||||
}
|
||||
@@ -420,11 +420,11 @@ import (
|
||||
|
||||
func main() {
|
||||
identityId := `2c9180857893f1290178944561990364` // string | ID of the identity to update. # string | ID of the identity to update.
|
||||
data := []byte(``) // SetLifecycleStateRequest |
|
||||
setlifecyclestaterequest := []byte(``) // SetLifecycleStateRequest |
|
||||
|
||||
|
||||
var setLifecycleStateRequest v2024.SetLifecycleStateRequest
|
||||
if err := json.Unmarshal(data, &setLifecycleStateRequest); err != nil {
|
||||
if err := json.Unmarshal(setlifecyclestaterequest, &setLifecycleStateRequest); err != nil {
|
||||
fmt.Println("Error:", err)
|
||||
return
|
||||
}
|
||||
@@ -497,11 +497,11 @@ import (
|
||||
func main() {
|
||||
identityProfileId := `2b838de9-db9b-abcf-e646-d4f274ad4238` // string | Identity profile ID. # string | Identity profile ID.
|
||||
lifecycleStateId := `ef38f94347e94562b5bb8424a56397d8` // string | Lifecycle state ID. # string | Lifecycle state ID.
|
||||
jsonPatchOperation := fmt.Sprintf(`[{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
|
||||
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
|
||||
if err := json.Unmarshal(data, &jsonPatchOperation); err != nil {
|
||||
var jsonPatchOperation v2024.[]JsonPatchOperation
|
||||
if err := json.Unmarshal(jsonpatchoperation, &jsonPatchOperation); err != nil {
|
||||
fmt.Println("Error:", err)
|
||||
return
|
||||
}
|
||||
|
||||
@@ -243,7 +243,7 @@ import (
|
||||
)
|
||||
|
||||
func main() {
|
||||
data := []byte(`{
|
||||
mfaduoconfig := []byte(`{
|
||||
"accessKey" : "qw123Y3QlA5UqocYpdU3rEkzrK2D497y",
|
||||
"host" : "example.com",
|
||||
"configProperties" : {
|
||||
@@ -257,7 +257,7 @@ func main() {
|
||||
|
||||
|
||||
var mfaDuoConfig v2024.MfaDuoConfig
|
||||
if err := json.Unmarshal(data, &mfaDuoConfig); err != nil {
|
||||
if err := json.Unmarshal(mfaduoconfig, &mfaDuoConfig); err != nil {
|
||||
fmt.Println("Error:", err)
|
||||
return
|
||||
}
|
||||
@@ -321,11 +321,11 @@ import (
|
||||
)
|
||||
|
||||
func main() {
|
||||
kbaAnswerRequestItem := fmt.Sprintf(`[{id=173423, answer=822cd15d6c15aa0c55ad015a3bf4f1b2b0b822cd15d6c15b0f00a0859a2fea34}, {id=c54fee53-2d63-4fc5-9259-3e93b9994135, answer=9f86d081884c7d659a2feaa0c55ad015a3bf4f1b2b0b822cd15d6c15b0f00a08}]`) // []KbaAnswerRequestItem |
|
||||
kbaanswerrequestitem := []byte(`[{id=173423, answer=822cd15d6c15aa0c55ad015a3bf4f1b2b0b822cd15d6c15b0f00a0859a2fea34}, {id=c54fee53-2d63-4fc5-9259-3e93b9994135, answer=9f86d081884c7d659a2feaa0c55ad015a3bf4f1b2b0b822cd15d6c15b0f00a08}]`) // []KbaAnswerRequestItem |
|
||||
|
||||
|
||||
var kbaAnswerRequestItem v2024.KbaAnswerRequestItem
|
||||
if err := json.Unmarshal(data, &kbaAnswerRequestItem); err != nil {
|
||||
var kbaAnswerRequestItem v2024.[]KbaAnswerRequestItem
|
||||
if err := json.Unmarshal(kbaanswerrequestitem, &kbaAnswerRequestItem); err != nil {
|
||||
fmt.Println("Error:", err)
|
||||
return
|
||||
}
|
||||
@@ -389,7 +389,7 @@ import (
|
||||
)
|
||||
|
||||
func main() {
|
||||
data := []byte(`{
|
||||
mfaoktaconfig := []byte(`{
|
||||
"accessKey" : "qw123Y3QlA5UqocYpdU3rEkzrK2D497y",
|
||||
"host" : "example.com",
|
||||
"mfaMethod" : "okta-verify",
|
||||
@@ -399,7 +399,7 @@ func main() {
|
||||
|
||||
|
||||
var mfaOktaConfig v2024.MfaOktaConfig
|
||||
if err := json.Unmarshal(data, &mfaOktaConfig); err != nil {
|
||||
if err := json.Unmarshal(mfaoktaconfig, &mfaOktaConfig); err != nil {
|
||||
fmt.Println("Error:", err)
|
||||
return
|
||||
}
|
||||
|
||||
@@ -71,7 +71,7 @@ import (
|
||||
|
||||
func main() {
|
||||
id := `ef38f94347e94562b5bb8424a56397d8` // string | Source ID. # string | Source ID.
|
||||
data := []byte(`{
|
||||
attributemappings := []byte(`{
|
||||
"transformDefinition" : {
|
||||
"attributes" : {
|
||||
"input" : {
|
||||
@@ -95,7 +95,7 @@ func main() {
|
||||
|
||||
|
||||
var attributeMappings v2024.AttributeMappings
|
||||
if err := json.Unmarshal(data, &attributeMappings); err != nil {
|
||||
if err := json.Unmarshal(attributemappings, &attributeMappings); err != nil {
|
||||
fmt.Println("Error:", err)
|
||||
return
|
||||
}
|
||||
@@ -300,7 +300,7 @@ import (
|
||||
|
||||
func main() {
|
||||
id := `ef38f94347e94562b5bb8424a56397d8` // string | Source ID. # string | Source ID.
|
||||
data := []byte(`{
|
||||
attributemappings := []byte(`{
|
||||
"transformDefinition" : {
|
||||
"attributes" : {
|
||||
"input" : {
|
||||
@@ -324,7 +324,7 @@ func main() {
|
||||
|
||||
|
||||
var attributeMappings v2024.AttributeMappings
|
||||
if err := json.Unmarshal(data, &attributeMappings); err != nil {
|
||||
if err := json.Unmarshal(attributemappings, &attributeMappings); err != nil {
|
||||
fmt.Println("Error:", err)
|
||||
return
|
||||
}
|
||||
|
||||
@@ -245,11 +245,11 @@ import (
|
||||
func main() {
|
||||
id := `ef38f94347e94562b5bb8424a56397d8` // string | Machine Account ID. # string | Machine Account ID.
|
||||
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 := fmt.Sprintf(`[{op=add, path=/environment, value=test}]`) // []map[string]interface{} | A JSON of updated values [JSON Patch](https://tools.ietf.org/html/rfc6902) standard. The following fields are patchable: * description * ownerIdentity * subType * accessType * environment * attributes * classificationMethod * manuallyEdited * nativeIdentity * uuid * source * manuallyCorrelated * enabled * locked * hasEntitlements * connectorAttributes
|
||||
requestbody := []byte(`[{op=add, path=/environment, value=test}]`) // []map[string]interface{} | A JSON of updated values [JSON Patch](https://tools.ietf.org/html/rfc6902) standard. The following fields are patchable: * description * ownerIdentity * subType * accessType * environment * attributes * classificationMethod * manuallyEdited * nativeIdentity * uuid * source * manuallyCorrelated * enabled * locked * hasEntitlements * connectorAttributes
|
||||
|
||||
|
||||
var requestBody v2024.RequestBody
|
||||
if err := json.Unmarshal(data, &requestBody); err != nil {
|
||||
var requestBody v2024.[]RequestBody
|
||||
if err := json.Unmarshal(requestbody, &requestBody); err != nil {
|
||||
fmt.Println("Error:", err)
|
||||
return
|
||||
}
|
||||
|
||||
@@ -200,7 +200,7 @@ import (
|
||||
|
||||
func main() {
|
||||
id := `ef38f94347e94562b5bb8424a56397d8` // string | Source ID. # string | Source ID.
|
||||
data := []byte(`{
|
||||
machineclassificationconfig := []byte(`{
|
||||
"criteria" : "criteria",
|
||||
"created" : "2017-07-11T18:45:37.098Z",
|
||||
"modified" : "2018-06-25T20:22:28.104Z",
|
||||
@@ -210,7 +210,7 @@ func main() {
|
||||
|
||||
|
||||
var machineClassificationConfig v2024.MachineClassificationConfig
|
||||
if err := json.Unmarshal(data, &machineClassificationConfig); err != nil {
|
||||
if err := json.Unmarshal(machineclassificationconfig, &machineClassificationConfig); err != nil {
|
||||
fmt.Println("Error:", err)
|
||||
return
|
||||
}
|
||||
|
||||
@@ -79,7 +79,7 @@ import (
|
||||
|
||||
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")
|
||||
data := []byte(`{
|
||||
machineidentity := []byte(`{
|
||||
"created" : "2015-05-28T14:07:17Z",
|
||||
"businessApplication" : "ADService",
|
||||
"name" : "aName",
|
||||
@@ -92,7 +92,7 @@ func main() {
|
||||
|
||||
|
||||
var machineIdentity v2024.MachineIdentity
|
||||
if err := json.Unmarshal(data, &machineIdentity); err != nil {
|
||||
if err := json.Unmarshal(machineidentity, &machineIdentity); err != nil {
|
||||
fmt.Println("Error:", err)
|
||||
return
|
||||
}
|
||||
@@ -415,11 +415,11 @@ import (
|
||||
func main() {
|
||||
id := `ef38f94347e94562b5bb8424a56397d8` // string | Machine Identity ID. # string | Machine Identity ID.
|
||||
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 := fmt.Sprintf(`[{op=add, path=/attributes/securityRisk, value=medium}]`) // []map[string]interface{} | A JSON of updated values [JSON Patch](https://tools.ietf.org/html/rfc6902) standard.
|
||||
requestbody := []byte(`[{op=add, path=/attributes/securityRisk, value=medium}]`) // []map[string]interface{} | A JSON of updated values [JSON Patch](https://tools.ietf.org/html/rfc6902) standard.
|
||||
|
||||
|
||||
var requestBody v2024.RequestBody
|
||||
if err := json.Unmarshal(data, &requestBody); err != nil {
|
||||
var requestBody v2024.[]RequestBody
|
||||
if err := json.Unmarshal(requestbody, &requestBody); err != nil {
|
||||
fmt.Println("Error:", err)
|
||||
return
|
||||
}
|
||||
|
||||
@@ -69,7 +69,7 @@ import (
|
||||
)
|
||||
|
||||
func main() {
|
||||
data := []byte(`{
|
||||
managedclientrequest := []byte(`{
|
||||
"name" : "aName",
|
||||
"description" : "A short description of the ManagedClient",
|
||||
"clusterId" : "aClusterId",
|
||||
@@ -78,7 +78,7 @@ func main() {
|
||||
|
||||
|
||||
var managedClientRequest v2024.ManagedClientRequest
|
||||
if err := json.Unmarshal(data, &managedClientRequest); err != nil {
|
||||
if err := json.Unmarshal(managedclientrequest, &managedClientRequest); err != nil {
|
||||
fmt.Println("Error:", err)
|
||||
return
|
||||
}
|
||||
@@ -414,11 +414,11 @@ import (
|
||||
|
||||
func main() {
|
||||
id := `4440278c-0ce2-41ee-a0a9-f5cfd5e8d3b7` // string | Managed client ID. # string | Managed client ID.
|
||||
jsonPatchOperation := fmt.Sprintf(``) // []JsonPatchOperation | JSONPatch payload used to update the object.
|
||||
jsonpatchoperation := []byte(``) // []JsonPatchOperation | JSONPatch payload used to update the object.
|
||||
|
||||
|
||||
var jsonPatchOperation v2024.JsonPatchOperation
|
||||
if err := json.Unmarshal(data, &jsonPatchOperation); err != nil {
|
||||
var jsonPatchOperation v2024.[]JsonPatchOperation
|
||||
if err := json.Unmarshal(jsonpatchoperation, &jsonPatchOperation); err != nil {
|
||||
fmt.Println("Error:", err)
|
||||
return
|
||||
}
|
||||
|
||||
@@ -69,7 +69,7 @@ import (
|
||||
)
|
||||
|
||||
func main() {
|
||||
data := []byte(`{
|
||||
managedclustertype := []byte(`{
|
||||
"managedProcessIds" : [ "someId", "someId2" ],
|
||||
"pod" : "megapod-useast1",
|
||||
"org" : "denali-cjh",
|
||||
@@ -79,7 +79,7 @@ func main() {
|
||||
|
||||
|
||||
var managedClusterType v2024.ManagedClusterType
|
||||
if err := json.Unmarshal(data, &managedClusterType); err != nil {
|
||||
if err := json.Unmarshal(managedclustertype, &managedClusterType); err != nil {
|
||||
fmt.Println("Error:", err)
|
||||
return
|
||||
}
|
||||
@@ -353,7 +353,7 @@ import (
|
||||
|
||||
func main() {
|
||||
id := `aClusterTypeId` // string | The Managed Cluster Type ID # string | The Managed Cluster Type ID
|
||||
data := []byte(`{
|
||||
jsonpatch := []byte(`{
|
||||
"operations" : [ {
|
||||
"op" : "replace",
|
||||
"path" : "/description",
|
||||
@@ -367,7 +367,7 @@ func main() {
|
||||
|
||||
|
||||
var jsonPatch v2024.JsonPatch
|
||||
if err := json.Unmarshal(data, &jsonPatch); err != nil {
|
||||
if err := json.Unmarshal(jsonpatch, &jsonPatch); err != nil {
|
||||
fmt.Println("Error:", err)
|
||||
return
|
||||
}
|
||||
|
||||
@@ -71,7 +71,7 @@ import (
|
||||
)
|
||||
|
||||
func main() {
|
||||
data := []byte(`{
|
||||
managedclusterrequest := []byte(`{
|
||||
"configuration" : {
|
||||
"clusterExternalId" : "externalId",
|
||||
"ccgVersion" : "77.0.0"
|
||||
@@ -83,7 +83,7 @@ func main() {
|
||||
|
||||
|
||||
var managedClusterRequest v2024.ManagedClusterRequest
|
||||
if err := json.Unmarshal(data, &managedClusterRequest); err != nil {
|
||||
if err := json.Unmarshal(managedclusterrequest, &managedClusterRequest); err != nil {
|
||||
fmt.Println("Error:", err)
|
||||
return
|
||||
}
|
||||
@@ -419,11 +419,11 @@ import (
|
||||
|
||||
func main() {
|
||||
id := `2b838de9-db9b-abcf-e646-d4f274ad4238` // string | ID of the managed cluster to update the log configuration for. # string | ID of the managed cluster to update the log configuration for.
|
||||
data := []byte(``) // PutClientLogConfigurationRequest | Client log configuration for the given managed cluster.
|
||||
putclientlogconfigurationrequest := []byte(``) // PutClientLogConfigurationRequest | Client log configuration for the given managed cluster.
|
||||
|
||||
|
||||
var putClientLogConfigurationRequest v2024.PutClientLogConfigurationRequest
|
||||
if err := json.Unmarshal(data, &putClientLogConfigurationRequest); err != nil {
|
||||
if err := json.Unmarshal(putclientlogconfigurationrequest, &putClientLogConfigurationRequest); err != nil {
|
||||
fmt.Println("Error:", err)
|
||||
return
|
||||
}
|
||||
@@ -560,11 +560,11 @@ import (
|
||||
|
||||
func main() {
|
||||
id := `2c9180897de347a2017de8859e8c5039` // string | Managed cluster ID. # string | Managed cluster ID.
|
||||
jsonPatchOperation := fmt.Sprintf(``) // []JsonPatchOperation | JSONPatch payload used to update the object.
|
||||
jsonpatchoperation := []byte(``) // []JsonPatchOperation | JSONPatch payload used to update the object.
|
||||
|
||||
|
||||
var jsonPatchOperation v2024.JsonPatchOperation
|
||||
if err := json.Unmarshal(data, &jsonPatchOperation); err != nil {
|
||||
var jsonPatchOperation v2024.[]JsonPatchOperation
|
||||
if err := json.Unmarshal(jsonpatchoperation, &jsonPatchOperation); err != nil {
|
||||
fmt.Println("Error:", err)
|
||||
return
|
||||
}
|
||||
|
||||
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user