Skip to main content

Check if a client can be deleted (test environment only)

GET 

/clients/:externalTenantId/is-deletable

Checks whether a client can be safely deleted for testing purposes.

⚠️ TEST ENVIRONMENT ONLY - This endpoint is only available on the test environment.

Use this endpoint before calling DELETE to verify the client can be removed.

A client can be deleted if:

  • They have no active collection cases (only pending cases are allowed)
  • They have no leads with active quotes

Returns

  • isDeletable: true if the client can be deleted
  • blockers: list of reasons why deletion is blocked (if any)

Request

Responses

Deletability check completed