Delete Persona
DELETEhttps://api.confident-ai.com/v2/personas/{personaId}
Permanently deletes a persona. Goldens that used it are kept and simply lose their persona, so their next simulation runs with no character attached until you give them another one.
curl -X DELETE "https://api.confident-ai.com/v2/personas/{personaId}" \
-H "CONFIDENT_API_KEY: <PROJECT-API-KEY>"{
"success": true,
"data": {
"id": "<PERSONA-ID>"
},
"deprecated": false
}Headers
CONFIDENT_API_KEYstringRequiredThe API key of your Confident AI project.
Path parameters
personaIdstringRequiredThe id of the persona.
Response
Delete Persona succeeded.
successbooleanIndicates if the request was successful.
dataobjectA reference to a persona by its id.
Show 1 propertyHide 1 property
idstringThe id of the persona, generated by Confident AI.
deprecatedbooleanIndicates if this endpoint is deprecated.