Skip to content
Leadtime
English
Esc
navigateopen⌘Jpreview

Delete organization member journal entry

Soft deletes an organization member journal entry. The entry is marked as deleted but not permanently removed from the database.

What happens:

  • The journal entry is marked with a deletedAt timestamp
  • The entry will no longer appear in list queries or be accessible via the API
  • The data is preserved in the database for audit purposes
  • The entry cannot be restored through the API (restoration would require database access)

Access control:

  • Users with Organizations.writeJournal permission can delete any journal entry
  • Organization members can delete their own entries where visibleToSubject = true
  • Returns 404 if the entry does not exist, has already been deleted, or the user does not have access

Note: This is a soft delete operation. The entry is not permanently removed and can potentially be recovered by database administrators if needed.

DELETE/organizations/members/journal/{id}
Authorization
AuthorizationOAuth2 access token · headerrequired
Scopes:api:write
or
AuthorizationBearer token (JWT) · headerrequired
Path parameters
idstringrequired
Responses
200
successbooleanrequired
Operation success flag
401Unauthorized - Invalid or missing authentication token
403Forbidden - Insufficient API scopes or permissions
Request
curl -X DELETE "https://leadtime.app/api/public/organizations/members/journal/string" \
  -H "Authorization: Bearer YOUR_ACCESS_TOKEN"
Response
{
  "success": true
}