Skip to main content
GET
Preview deleting or closing the 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

Close preview.

mode
enum<string>
required

What DELETE /organizations/:id would do: delete (no production CFDI) or close (production CFDI are retained).

Available options:
delete,
close
Example:

"close"

retainedUntil
string | null
required

Retention date when mode is close; null otherwise.

Example:

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

pending
object
required

Operations in progress. The organization cannot be closed or deleted while any count is above zero.