Skip to main content
DELETE
Delete a publisher
This endpoint requires authentication. Include your Bearer token in the Authorization header.

Description

Authorization:
  • Required role: admin or higher
Cascading effects: deleting a publisher runs a single DB transaction that also destroys every dependent row referencing it, with individualHooks: true so each destroy still fires its audit hooks:
  • PublisherWriterAgreement (by publisherId)
  • PublisherAgreement (by publisherId)
  • SubPublishingAgreement (by originalPublisherId OR subPublisherId)
  • PublisherTerritory (by publisherId)
  • PublisherPaymentRule (by publisherId)
  • AssetPublisher (by publisherId)
  • ProductPublisher (by publisherId)
This is irreversible: writer agreements, sub-publishing deals, territory grants, and payment rules tied to the publisher are gone along with it, not just the Publisher row.

Code Examples

Authorizations

Authorization
string
header
required

JWT Authorization header using the Bearer scheme. Format: "Bearer {token}"

Path Parameters

id
string<uuid>
required

Response

Publisher deleted (cascades to dependent agreements/territories/rules — see description).