Deleting a persona will not affect existing simulations that used this persona, but it will no longer be available for new scenarios.
Copy
curl -X DELETE "https://api.chanl.ai/api/v1/workspaces/ws_123/personas/persona_456" \
-H "Authorization: Bearer <access_token>"
Copy
{
"success": true,
"data": {
"message": "Persona deleted successfully",
"deleted_at": "2024-01-15T10:30:00Z",
"impact": {
"scenarios_affected": 3,
"active_schedules_affected": 1
}
}
}