Skip to main content

Update Source Correlation Configuration

PUT 

https://sailpoint.api.identitynow.com/beta/sources/:sourceId/correlation-config

Replaces the correlation configuration for the source specified by the given ID with the configuration provided in the request body.

Request

Path Parameters

    sourceId stringrequired

    The source id

    Example: 2c9180835d191a86015d28455b4a2329

Bodyrequired

    idstring

    The ID of the correlation configuration.

    Example: 2c9180835d191a86015d28455b4a2329
    namestring

    The name of the correlation configuration.

    Example: Source [source] Account Correlation
    attributeAssignments object[]

    The list of attribute assignments of the correlation configuration.

  • Array [
  • propertystring

    The property of the attribute assignment.

    Example: first_name
    valuestring

    The value of the attribute assignment.

    Example: firstName
    operationstring

    The operation of the attribute assignment.

    Possible values: [EQ]

    Example: EQ
    complexboolean

    Whether or not the it's a complex attribute assignment.

    Default value: false
    Example: false
    ignoreCaseboolean

    Whether or not the attribute assignment should ignore case.

    Default value: false
    Example: false
    matchModestring

    The match mode of the attribute assignment.

    Possible values: [ANYWHERE, START, END]

    Example: ANYWHERE
    filterStringstring

    The filter string of the attribute assignment.

    Example: first_name == "John"
  • ]

Responses

Updated correlation configuration for a source

Schema
    idstring

    The ID of the correlation configuration.

    Example: 2c9180835d191a86015d28455b4a2329
    namestring

    The name of the correlation configuration.

    Example: Source [source] Account Correlation
    attributeAssignments object[]

    The list of attribute assignments of the correlation configuration.

  • Array [
  • propertystring

    The property of the attribute assignment.

    Example: first_name
    valuestring

    The value of the attribute assignment.

    Example: firstName
    operationstring

    The operation of the attribute assignment.

    Possible values: [EQ]

    Example: EQ
    complexboolean

    Whether or not the it's a complex attribute assignment.

    Default value: false
    Example: false
    ignoreCaseboolean

    Whether or not the attribute assignment should ignore case.

    Default value: false
    Example: false
    matchModestring

    The match mode of the attribute assignment.

    Possible values: [ANYWHERE, START, END]

    Example: ANYWHERE
    filterStringstring

    The filter string of the attribute assignment.

    Example: first_name == "John"
  • ]

Authorization: oauth2

type: Personal Access Token
scopes: idn:sources:manage
user levels: ORG_ADMIN, SOURCE_ADMIN, SOURCE_SUBADMIN
package main

import (
"fmt"
"strings"
"net/http"
"io"
)

func main() {

url := "https://sailpoint.api.identitynow.com/beta/sources/:sourceId/correlation-config"
method := "PUT"

payload := strings.NewReader(`{
"id": "2c9180835d191a86015d28455b4a2329",
"name": "Source [source] Account Correlation",
"attributeAssignments": [
{
"property": "first_name",
"value": "firstName",
"operation": "EQ",
"complex": false,
"ignoreCase": false,
"matchMode": "ANYWHERE",
"filterString": "first_name == \"John\""
}
]
}`)

client := &http.Client {
}
req, err := http.NewRequest(method, url, payload)

if err != nil {
fmt.Println(err)
return
}
req.Header.Add("Content-Type", "application/json")
req.Header.Add("Accept", "application/json")
req.Header.Add("Authorization", "Bearer <TOKEN>")

res, err := client.Do(req)
if err != nil {
fmt.Println(err)
return
}
defer res.Body.Close()

body, err := io.ReadAll(res.Body)
if err != nil {
fmt.Println(err)
return
}
fmt.Println(string(body))
}
Request Collapse all
Base URL
https://sailpoint.api.identitynow.com/beta
Auth
Parameters
— pathrequired
Body required
{
  "id": "2c9180835d191a86015d28455b4a2329",
  "name": "Source [source] Account Correlation",
  "attributeAssignments": [
    {
      "property": "first_name",
      "value": "firstName",
      "operation": "EQ",
      "complex": false,
      "ignoreCase": false,
      "matchMode": "ANYWHERE",
      "filterString": "first_name == \"John\""
    }
  ]
}
ResponseClear

Click the Send API Request button above and see the response here!