POST /persona/delete
Delete Persona
Bulk delete personas — composable infra architecture.
Request Body (DeletePersonaApiRequest)
| Field | Type | Required | Description |
|---|---|---|---|
ids | string[] | No | List of persona UUIDs to delete (required on first call when all is false) |
all | boolean | No | When true, delete every persona matching the filter fields below (minus excluded_ids) |
excluded_ids | string[] | No | UUIDs to skip even when matched by all-mode filters |
search | string | No | Full-text search query |
scenario_ids | string[] | No | Filter by scenario UUIDs |
field_ids | string[] | No | Filter by field UUIDs |
filter_department_ids | string[] | No | Filter by department UUIDs |
scenario_search | string | No | Search text for scenario facet (no-op for row filtering) |
field_search | string | No | Search text for field facet (no-op for row filtering) |
department_search | string | No | Search text for department facet (no-op for row filtering) |
color_search | string | No | Search text for color facet (no-op for row filtering) |
icon_search | string | No | Search text for icon facet (no-op for row filtering) |
voice_search | string | No | Search text for voice facet (no-op for row filtering) |
instruction_search | string | No | Search text for instruction facet (no-op for row filtering) |
idempotency_key | string | No | Operation key for ack — confirms or rejects a dormant delete |
soft | boolean | No | Stage the delete dormant — propose; the ack ({idempotency_key, accept}) confirms/rejects it |
accept | boolean | No | Accept (confirm deletion) or reject (restore). Only meaningful with idempotency_key |
Response (DeletePersonaApiResponse)
| Field | Type | Required | Description |
|---|---|---|---|
results | DeletePersonaResult[] | Yes | Per-persona deletion results |
idempotency_key | string | No | Idempotency key echoed back for client correlation |
Last updated on