Set a persona as the user's default for new conversations.
POST
/api/advisor/personas/{id}/default
const url = 'https://api.tradr.cloud/api/advisor/personas/example/default';const options = {method: 'POST'};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}curl --request POST \ --url https://api.tradr.cloud/api/advisor/personas/example/defaultAtomic flip (REQ-7.9): for a user-owned persona, clears the prior default and sets this one; in all cases records the chosen persona on the user row. 404 if the persona is neither built-in nor owned.
Parameters
Section titled “Parameters”Path Parameters
Section titled “Path Parameters”id
required
string
Responses
Section titled “Responses”Default updated.
Persona not found (or not owned).