Update a From Address

Update a from address

You can update the default sender name of the from address by updating the from address. You can't update the e-mail address itself, to do that you have to delete it and create a new one.

PUT https://api.cm.com/bulkemail/v1.0/accounts/{accountID}/fromaddresses/{fromAddressID}

PUT Parameters

Name In Description Required Type Example
AccountID Path The account guid True Guid A8C062E4-ECFD-48D0-89B1-A37D2622B7A9
FromAddressID Path The from address guid True Guid 860AB261-0A7A-470D-B615-F99523A38F4C
Body Body The from address to update True Json object See example request
X-CM-PRODUCTTOKEN Header Your product token True Guid C24A5029-37DD-4161-9728-F80D8639588E
{
    "Name" : "John Doe"
}

Responses

Http status Description
200 Successful updated
400 Bad request
{           
        "ID": "860ab261-0a7a-470d-b615-f99523a38f4c",
        "AccountID": "a8c062e4-ecfd-48d0-89b1-a37d2622b7a9",
        "Name": "John Doe",
        "EmailAddress": "[email protected]",
        "CreatedOn": "2017-08-04T11:06:43.826",
        "CreatedOnUtc": "2017-08-04T10:06:43.826Z",
        "ModifiedOn": "2017-08-04T11:06:43.826",
        "ModifiedOnUtc": "2017-08-04T10:06:43.826Z",
        "DeletedOn": null,
        "DeletedOnUtc": null
}

Did this page help you?