POST /api/emailTemplate/setAccountCreateNotificationOptions

Replaced by update-source | SailPoint Developer Community

Use the following request body to set the account create notification options.

[   
  {     
    "op": "add", 
    "path": "/connectorAttributes/accountCreateNotification",
    "value": {
      "notifyAccountManager": false,
      "accountIdAttribute": "distinguishedName",
      "notifyList":["...@...","...@..."],
      "notifyAccountOwner": false,
      "enabled": true,
      "notifyAccountOwnerAltEmail": false
    }
  }
]

@colin_mckibben is this correct? Looks more like a PATCH to me, not POST :slight_smile:

I believe the original CC API call is a POST but the v3 replacement uses a PATCH. If I’m mistaken, please let me know the correct verbs.

I think we’re okay here. The link to update-source takes you to the PATCH endpoint :slight_smile:

@colin_mckibben

i used the similar body in the source patch request but it doesn’t work correctly.
[
{
“op”: “replace”,
“path”: “/connectorAttributes/accountCreateNotification”,
“value”: {
“notifyAccountManager”: false,
“accountIdAttribute”: “id”,
“notifyList”: null,
“notifyAccountOwner”: true,
“enabled”: true,
“notifyAccountOwnerAltEmail”: true
}
}
]

for notifyAccountOwner it is sending the notification properly.but for notifyAccountOwnerAltEmail it is not sending the notification correctly as i kept the body in the emailTemplate.
image
Please reply asap..Thanks in advance