Update

Overview

Updates the send classification and returns a status. You must provide keys for both the sender and delivery profiles to successfully update a send classification.

Syntax

Update(1)

Function Properties

Ordinal Type Description
1 string Required Attributes from send classification to change

Example

This sample code updates the name attribute for the send classification with the external key mySendClassification:

var sc = SendClassification.Init('mySendClassification');

var updatedSC = {
    Name : "Updated Send Classification",
    SenderProfileKey : "mySPKey",
    DeliveryProfileKey : "myDPKey"
};

var status = sc.Update(updatedSC);
Last Updated: Jun 8, 2021