Delete project journal entry
Soft deletes a project journal entry. The entry is marked as deleted and will no longer appear in list queries, but it is not permanently removed from the database.
Deletion behavior:
- The entry is marked with a deletedAt timestamp
- Deleted entries do not appear in the list endpoint results
- The entry data remains in the database for audit purposes
- This operation cannot be undone through the API
Note: Returns 404 if the journal entry does not exist, has already been deleted, or is not a project journal entry.
DELETE
/projects/journal/{id}Authorization
AuthorizationOAuth2 access token · headerrequiredScopes:
api:writeor
AuthorizationBearer token (JWT) · headerrequiredPath parameters
idstringrequiredResponses
200
successbooleanrequiredOperation success flag
401Unauthorized - Invalid or missing authentication token
403Forbidden - Insufficient API scopes or permissions
Request
curl -X DELETE "https://leadtime.app/api/public/projects/journal/string" \
-H "Authorization: Bearer YOUR_ACCESS_TOKEN"const response = await fetch("https://leadtime.app/api/public/projects/journal/string", {
method: "DELETE",
headers: {
"Authorization": "Bearer YOUR_ACCESS_TOKEN"
}
});import requests
response = requests.delete(
"https://leadtime.app/api/public/projects/journal/string",
headers={
"Authorization": "Bearer YOUR_ACCESS_TOKEN"
},
)Response
{
"success": true
}Unauthorized - Invalid or missing authentication token
Forbidden - Insufficient API scopes or permissions