curl --request DELETE \
--url https://api.example.com/api/profiles/{profileId}{
"message": "<string>"
}Delete an existing profile permanently
curl --request DELETE \
--url https://api.example.com/api/profiles/{profileId}{
"message": "<string>"
}Documentation Index
Fetch the complete documentation index at: https://mintlify.com/pakomercado0517/tresa-contafy-web/llms.txt
Use this file to discover all available pages before exploring further.
curl -X DELETE https://api.contafy.com/api/profiles/prof_1234567890 \
-H "Authorization: Bearer YOUR_JWT_TOKEN" \
-H "Content-Type: application/json"
{
"message": "Profile deleted successfully"
}
{
"error": "Unauthorized",
"message": "Invalid or missing authentication token"
}
{
"error": "Forbidden",
"message": "You do not have permission to delete this profile"
}
{
"error": "Not Found",
"message": "Profile not found"
}
{
"error": "Conflict",
"message": "Cannot delete profile with active invoices. Please archive or transfer invoices first."
}
{
"error": "Internal Server Error",
"message": "An error occurred while deleting the profile"
}