Modify EmailAlert

update email alert in batch

Request example

curl --location --request PUT 'https://api.liveramp.com/analytics-environment/v1/email-alerts/${tenantId}' \
--header 'Tenant-ID: ${tenantId}' \
--header 'Content-Type: application/json' \
--header 'Authorization: Bearer ${access_token}' \
--data-raw '{
  "emailAlerts": [
    {
        "scheduleJobID":  ${jobId},
        "userEmail": "[email protected]",
        "jobStatusNeedAlert": "Succeeded,Failed"
    }, 
    {
        "scheduleJobID":  ${jobId1},
        "userEmail": "[email protected]",
        "jobStatusNeedAlert": "Succeeded"
    }
  ]
}'
Language