30 days free. No credit card. Full access from the moment you connect your site.

Start free trial

MailerPress Pro Delete Custom Field

mailerpress-pro/delete-custom-field permanently deletes a contact custom-field definition and every value stored against it. It requires confirm_field_key matching the key.

The values are the part that matters.

Before you run it

This deletes the definition and every value stored against it, across every contact. On a list of fifty thousand people that is fifty thousand values, gone at once with no copy. Anything referencing the field — a segment condition, a personalisation token in a campaign — stops working, and a personalisation token with no field behind it renders empty in a sent email.

At a glance

Abilitymailerpress-pro/delete-custom-field
ToolsetMailerPress Pro — toolset/mailerpress-pro
GroupMailerPress Pro › Contact Custom Fields
RequiresAcrossAI Pro, plus MailerPress with its Pro add-on active on the site
Capabilitymanage_options
SafetyDestructive — deletes the definition and every stored value. Requires confirm_field_key.
RepeatableIdempotent — running it twice leaves the same result
Ships inAcrossAI Pro 0.9.16 and later

How it works

A field definition on its own is cheap to recreate. The values are not — they arrived from signup forms, imports and integrations over however long the field has existed, and nothing else on the site holds them.

So the confirmation is on the key rather than a boolean, and the key is the same string the data is filed under. Typing it is a moment of looking at exactly which field this is.

The downstream breakage is worth checking first. A segment condition on a deleted field stops matching, and a personalisation token for it renders empty — which means a campaign that greeted people by company name now greets them by nothing, visibly, in a real email.

There is no soft-delete. To take a field out of use while keeping the data, stop writing to it and remove it from forms; the definition can stay.

Idempotent.

Input

NameTypeRequiredWhat it is
field_keystringYesThe field to delete.
confirm_field_keystringYesMust match field_key exactly. The guardrail.
confirmbooleanYes — must be trueThe irreversibility gate. Without it the call is refused before anything is touched.

What comes back

NameTypeWhat it is
field_keystringThe field removed.
values_deletedintegerHow many stored values went with it.
successbooleanWhether the call completed.
messagestringA one-line summary of what happened, suitable for showing a human.
error_codestringPresent only on failure — a stable machine-readable reason, such as a missing field, a wrong field type or an unmet confirmation.

Example

Ask your assistant:

Delete the unused signup-source field.

It resolves to one call:

{
  "ability": "mailerpress-pro/delete-custom-field",
  "parameters": {
    "field_key": "signup_source",
    "confirm_field_key": "signup_source",
    "confirm": true
  }
}

Worth knowing

  • Every stored value goes, across every contact.
  • Segment conditions on the field stop matching.
  • A personalisation token for it renders empty in sent email.
  • There is no soft-delete — leaving the definition unused is the alternative.

Related abilities


Get the plugins:
AcrossAI Abilities Manager · AcrossAI MCP Manager

Browse the rest: Every ability, by category


Keep reading