Delete a Marketing Cloud Next / Data 360 record
mcnext_deleteDelete a specific record from a Salesforce Marketing Cloud endpoint using its path parameters. This destructive action only runs when the MC_NEXT_ALLOW_DESTRUCTIVE safety setting is enabled.
Instructions
Delete a record (DELETE, kind "delete"). Requires the path parameter. This is destructive and is blocked unless MC_NEXT_ALLOW_DESTRUCTIVE=true.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"endpointId": "<endpointId>"
},
"name": "mcnext_delete"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| query | No | Query string parameters, e.g. { "pageSize": 50, "orderBy": "name" }. | |
| headers | No | Additional request headers. | |
| endpointId | Yes | Endpoint id from the catalog, e.g. "content.create-an-email-with-html", "activations.query-activations". Use mcnext_list_endpoints to discover ids. | |
| pathParams | No | Path parameter values, e.g. { "contentKey": "my-email" }. |