Skip to main content

Update a transform

PUT 

/transforms/:id

Replaces the transform specified by the given ID with the transform provided in the request body. Only the "attributes" field is mutable. Attempting to change other properties (ex. "name" and "type") will result in an error.

Request

Path Parameters

    id stringrequired

    ID of the transform to update

    Example: 2cd78adghjkja34jh2b1hkjhasuecd

Body

The updated transform object. Must include "name", "type", and "attributes" fields, but "name" and "type" must not be modified.

    name stringrequired

    Possible values: non-empty and <= 50 characters

    Unique name of this transform

    type stringrequired

    Possible values: [accountAttribute, base64Decode, base64Encode, concat, conditional, dateCompare, dateFormat, dateMath, decomposeDiacriticalMarks, e164phone, firstValid, rule, identityAttribute, indexOf, iso3166, lastIndexOf, leftPad, lookup, lower, normalizeNames, randomAlphaNumeric, randomNumeric, reference, replaceAll, replace, rightPad, split, static, substring, trim, upper, usernameGenerator, uuid, displayName, rfc5646]

    The type of transform operation

    attributes

    object

    nullable

    required

    Meta-data about the transform. Values in this list are specific to the type of transform to be executed.

    oneOf

    sourceName stringrequired

    A reference to the source to search for the account

    attributeName stringrequired

    The name of the attribute on the account to return. This should match the name of the account attribute name visible in the user interface, or on the source schema.

    accountSortAttribute string

    Default value: created

    The value of this configuration is a string name of the attribute to use when determining the ordering of returned accounts when there are multiple entries

    accountSortDescending boolean

    The value of this configuration is a boolean (true/false). Controls the order of the sort when there are multiple accounts. If not defined, the transform will default to false (ascending order)

    accountReturnFirstLink boolean

    The value of this configuration is a boolean (true/false). Controls which account to source a value from for an attribute. If this flag is set to true, the transform returns the value from the first account in the list, even if it is null. If it is set to false, the transform returns the first non-null value. If not defined, the transform will default to false

    accountFilter string

    This expression queries the database to narrow search results. The value of this configuration is a sailpoint.object.Filter expression and used when searching against the database. The default filter will always include the source and identity, and any subsequent expressions will be combined in an AND operation to the existing search criteria. Only certain searchable attributes are available: - nativeIdentity - the Account ID - displayName - the Account Name - entitlements - a boolean value to determine if the account has entitlements

    accountPropertyFilter string

    This expression is used to search and filter accounts in memory. The value of this configuration is a sailpoint.object.Filter expression and used when searching against the returned resultset.

    All account attributes are available for filtering as this operation is performed in memory.

    requiresPeriodicRefresh RequiresPeriodicRefresh (boolean)

    A value that indicates whether the transform logic should be re-evaluated every evening as part of the identity refresh process

    input

    object

    This is an optional attribute that can explicitly define the input data which will be fed into the transform logic. If input is not provided, the transform will take its input from the source and attribute combination configured via the UI.

    property name* any

    This is an optional attribute that can explicitly define the input data which will be fed into the transform logic. If input is not provided, the transform will take its input from the source and attribute combination configured via the UI.

Responses

Indicates the transform was successfully updated and returns its new representation.

Schema

    name stringrequired

    Possible values: non-empty and <= 50 characters

    Unique name of this transform

    type stringrequired

    Possible values: [accountAttribute, base64Decode, base64Encode, concat, conditional, dateCompare, dateFormat, dateMath, decomposeDiacriticalMarks, e164phone, firstValid, rule, identityAttribute, indexOf, iso3166, lastIndexOf, leftPad, lookup, lower, normalizeNames, randomAlphaNumeric, randomNumeric, reference, replaceAll, replace, rightPad, split, static, substring, trim, upper, usernameGenerator, uuid, displayName, rfc5646]

    The type of transform operation

    attributes

    object

    nullable

    required

    Meta-data about the transform. Values in this list are specific to the type of transform to be executed.

    oneOf

    sourceName stringrequired

    A reference to the source to search for the account

    attributeName stringrequired

    The name of the attribute on the account to return. This should match the name of the account attribute name visible in the user interface, or on the source schema.

    accountSortAttribute string

    Default value: created

    The value of this configuration is a string name of the attribute to use when determining the ordering of returned accounts when there are multiple entries

    accountSortDescending boolean

    The value of this configuration is a boolean (true/false). Controls the order of the sort when there are multiple accounts. If not defined, the transform will default to false (ascending order)

    accountReturnFirstLink boolean

    The value of this configuration is a boolean (true/false). Controls which account to source a value from for an attribute. If this flag is set to true, the transform returns the value from the first account in the list, even if it is null. If it is set to false, the transform returns the first non-null value. If not defined, the transform will default to false

    accountFilter string

    This expression queries the database to narrow search results. The value of this configuration is a sailpoint.object.Filter expression and used when searching against the database. The default filter will always include the source and identity, and any subsequent expressions will be combined in an AND operation to the existing search criteria. Only certain searchable attributes are available: - nativeIdentity - the Account ID - displayName - the Account Name - entitlements - a boolean value to determine if the account has entitlements

    accountPropertyFilter string

    This expression is used to search and filter accounts in memory. The value of this configuration is a sailpoint.object.Filter expression and used when searching against the returned resultset.

    All account attributes are available for filtering as this operation is performed in memory.

    requiresPeriodicRefresh RequiresPeriodicRefresh (boolean)

    A value that indicates whether the transform logic should be re-evaluated every evening as part of the identity refresh process

    input

    object

    This is an optional attribute that can explicitly define the input data which will be fed into the transform logic. If input is not provided, the transform will take its input from the source and attribute combination configured via the UI.

    property name* any

    This is an optional attribute that can explicitly define the input data which will be fed into the transform logic. If input is not provided, the transform will take its input from the source and attribute combination configured via the UI.

    id stringrequired

    Unique ID of this transform

    internal booleanrequired

    Indicates whether this is an internal SailPoint-created transform or a customer-created transform

Loading...