Skip to content

persona_delete

Remove a persona from a brand, guarded against deleting something someone else has since edited.

On this page

Deletes a Persona from its Brand. Guarded by base_revision, so a persona someone else has edited since you read it is not silently removed.

The Brand itself is unaffected — deleting a persona removes one audience from the brief, not the brief.

Input

Field Type Required Description
brand_name string yes The slug of the brand that owns the persona.
persona_name string yes The persona slug.
base_revision integer yes The revision you last read via persona_get.

Example

persona_delete({
  brand_name: 'acme-running',
  persona_name: 'marathon-maya',
  base_revision: 4,
});

Note

The slug becomes free again

Within that brand. A new persona can immediately re-use the handle, and another brand was never blocked from using it in the first place.

Warning

Deleting a brand deletes its personas

brand_delete takes the brand’s personas with it. There is no way to keep one — a persona only exists as part of a brand’s context.

Requires the brand:write scope.