Skip to content
Leadtime
English
Esc
navigateopen⌘Jpreview

Delete organization

Soft deletes an organization and all associated projects. The organization and its projects will be marked as deleted but not permanently removed from the database.

What happens:

  • The organization is marked as deleted (soft delete)
  • All associated projects are also soft deleted
  • Organization members (contacts) are not deleted
  • Historical data (invoices, journal entries, etc.) remains intact
  • The organization will no longer appear in normal listings

Recovery: Soft-deleted organizations can potentially be recovered through database operations, but this is not exposed via the API.

Note: This endpoint requires the Organizations.delete permission. The organization must exist in your workspace. This operation cannot be undone via the API.

DELETE/organizations/{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/string" \
  -H "Authorization: Bearer YOUR_ACCESS_TOKEN"
Response
{
  "success": true
}