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
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

Salesforce Jigsaw
Salesforce Jigsaw

Salesforce.com, a prominent figure in cloud computing, has finalized a deal to acquire Jigsaw, a wiki-style business contact database, for 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

author avatar
get-admin