Skip to main content
DELETE
Delete or close organization (owner only)

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

id
string
required

Response

{ status: 'deleted' } when deleted permanently, or { status: 'closed', closedAt, retainedUntil } when closed.

status
enum<string>
required

deleted: the organization had no production CFDI and was permanently deleted. closed: it has production CFDI, so it was closed (read-only) and its CFDI are retained.

Available options:
deleted,
closed
Example:

"closed"

closedAt
string

Present when status is closed.

Example:

"2026-10-23T16:00:00.000Z"

retainedUntil
string

Present when status is closed: CFDI are retained and downloadable until this date.

Example:

"2033-01-01T05:59:59.000Z"