Delete a user-owned persona.
DELETE
/api/advisor/personas/{id}
const url = 'https://api.tradr.cloud/api/advisor/personas/example';const options = {method: 'DELETE'};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}curl --request DELETE \ --url https://api.tradr.cloud/api/advisor/personas/exampleRejected with 403 for built-in personas; 409 if the persona is the user’s current default (change default first). Referencing conversations are left with persona_id = NULL.
Parameters
Section titled “Parameters”Path Parameters
Section titled “Path Parameters”id
required
string
Responses
Section titled “Responses”Deleted.
Built-in personas cannot be deleted.
Persona not found (or not owned).
Persona is the current default.