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

Thank you for reading this post, don't forget to subscribe!

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
Salesforce OEM AppExchange
Salesforce OEM AppExchange

Expanding its reach beyond CRM, Salesforce.com has launched a new service called AppExchange OEM Edition, aimed at non-CRM service providers. Read more

The Salesforce Story
The Salesforce Story

In Marc Benioff's own words How did salesforce.com grow from a start up in a rented apartment into the world's Read more

Health Cloud Brings Healthcare Transformation
Health Cloud Brings Healthcare Transformation

Following swiftly after last week's successful launch of Financial Services Cloud, Salesforce has announced the second installment in its series Read more

We Are All Cloud Users
How Good is Our Data

My old company and several others are concerned about security, and feel more secure with being able to walk down Read more