---
search:
  tags:
    - projects
    - DELETE
seo:
  description: >-
    What this endpoint does: Soft deletes a… Reference for the DELETE
    /projects/{projectId}/subscription-billings/{id} endpoint in the Leadtime
    Public API API.
sidebar:
  badge: DELETE
  label: Delete project subscription billing
title: Delete project subscription billing
type: openapi-operation
---
**What this endpoint does:**
Soft deletes a subscription billing item. The item is marked as deleted and will no longer appear in listings or be included in future invoice generation. However, the data is retained in the database for historical records and audit purposes.

**What happens when deleted:**
- The subscription billing item is marked with a deletedAt timestamp
- It disappears from all active listings and queries
- Already billed rows remain unchanged (historical invoices are not affected)
- Unbilled billing rows are effectively cancelled
- The item can be restored if needed (though not through this API)

**Permissions required:**
- Projects.edit: Ability to edit project settings
- Invoices.manage: Ability to manage invoice configurations

**Use cases:**
- Cancel an active subscription
- Remove a subscription that is no longer needed
- Clean up test or incorrect subscription entries

<Operation source="api-reference" id="projectsubscriptionbillingscontroller-deletesubscriptionbilling" />
