Launch Week 02 wrapped — explore all five launches

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.

DELETE/v2/personas/{personaId}
curl -X DELETE "https://api.confident-ai.com/v2/personas/{personaId}" \
  -H "CONFIDENT_API_KEY: <PROJECT-API-KEY>"
200
{
  "success": true,
  "data": {
    "id": "<PERSONA-ID>"
  },
  "deprecated": false
}

Headers

  • CONFIDENT_API_KEYstringRequired

    The API key of your Confident AI project.

Path parameters

  • personaIdstringRequired

    The id of the persona.

Response

Delete Persona succeeded.

  • successboolean

    Indicates if the request was successful.

  • dataobject

    A reference to a persona by its id.

    Show 1 propertyHide 1 property
    • idstring

      The id of the persona, generated by Confident AI.

  • deprecatedboolean

    Indicates if this endpoint is deprecated.

Built byConfident AI