Update a Campaign Tag

Update a campaign tag

Update a campaign tag

PUT https://api.cm.com/bulkemail/v1.0/accounts/{accountID}/campaigntags/{campaignTagID}

PUT Parameters

Name In Description Required Type Example
AccountID Path The account guid True Guid A8C062E4-ECFD-48D0-89B1-A37D2622B7A9
CampaignTagID Path The campaign tag guid True Guid 6ECA6202-7A5A-4850-8800-CFEE1D97D238
Body Body The campaign tag to update True Json object See example request
X-CM-PRODUCTTOKEN Header Your product token True Guid C24A5029-37DD-4161-9728-F80D8639588E
{
    "Tag": "Newsletter",
}

Responses

Http status Description
200 Campaign tag updated
400 Bad request
{
    "ID": "6eca6202-7a5a-4850-8800-cfee1d97d238",
    "AccountID": "a8c062e4-ecfd-48d0-89b1-a37d2622b7a9",
    "Tag": "Newsletter",
    "CreatedOn": "2019-11-20T11:12:42.99",
    "CreatedOnUtc": "2019-11-20T10:12:42.99Z",
    "ModifiedOn": "2019-11-20T11:12:42.99",
    "ModifiedOnUtc": "2019-11-20T10:12:42.99Z",
    "DeletedOn": null,
    "DeletedOnUtc": null
}

Did this page help you?