Use this resource to delete multiple tag associations at one time.

URL Parameters 

NameTypeDescription
objectTypeNamestringRequiredDesignates the type of object to delete tags from. Possible values include:campaign – deletes tags from a campaignInteractionStudio.DefinitionInfo – deletes tags from a journeymedia – deletes tags from a media asset

JSON Parameters 

NameTypeDescription
ObjectIdsstringRequiredThe ObjectIds are the unique IDs for the objects. Each tag is deleted from the ObjectId specified in the payload. For Journey Builder, the ObjectIds are the are the OriginalDefinitionId of the journeys.
TagNamesstringRequiredName of the tag to delete. For each tag/object pair, the association is deleted only if the association exists. If a tag name is specified that does not exist, it is ignored.

Usage 

Example Request

Host: https://YOUR_SUBDOMAIN.rest.marketingcloudapis.com
POST hub/v1/objects/InteractionStudio.DefinitionInfo/tags/delete
Content-Type: application/json
Authorization: Bearer YOUR_ACCESS_TOKEN
{
    "objectIds": [
        "B8A7B1AB-71E0-4B45-BC0E-96FBE41BB0A4",
        "58A39C56-2FF4-4091-B84E-FA926A1098D5"
    ],
    "tagNames": [
        "Fun Run",
        "5K"
    ]
}

Related Posts
Who is Salesforce?
Salesforce

Who is Salesforce? Here is their story in their own words. From our inception, we've proudly embraced the identity of Read more

Salesforce Marketing Cloud Transactional Emails
Salesforce Marketing Cloud

Salesforce Marketing Cloud Transactional Emails are immediate, automated, non-promotional messages crucial to business operations and customer satisfaction, such as order Read more

Salesforce Unites Einstein Analytics with Financial CRM
Financial Services Sector

Salesforce has unveiled a comprehensive analytics solution tailored for wealth managers, home office professionals, and retail bankers, merging its Financial Read more

AI-Driven Propensity Scores
AI-driven propensity scores

AI plays a crucial role in propensity score estimation as it can discern underlying patterns between treatments and confounding variables Read more