curl --request DELETE \
--url http://localhost:8000/api/v1/market-analysis/analyses/{analysis_id} \
--header 'Authorization: Bearer <token>'{
"detail": [
{
"loc": [
"<string>"
],
"msg": "<string>",
"type": "<string>"
}
]
}Soft-delete a market analysis.
This sets is_active=False and is_deleted=True on the analysis record. The analysis will no longer appear in list/get endpoints that filter by is_active=True.
Args: analysis_id: The market analysis ID to delete user: The authenticated user
Returns: 204 No Content on success
curl --request DELETE \
--url http://localhost:8000/api/v1/market-analysis/analyses/{analysis_id} \
--header 'Authorization: Bearer <token>'{
"detail": [
{
"loc": [
"<string>"
],
"msg": "<string>",
"type": "<string>"
}
]
}