persona_delete
Remove a persona from a brand, guarded against deleting something someone else has since edited.
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,
});
Requires the brand:write scope.