DELETE
Revoke an export share link (organization)
Organization space Accounting module Cannot be undone For: Accountant · Permission: export_shares.delete Conditions
  • The accounting module must be part of the organization’s plan.
  • In the organization space, the caller must have access to the book.
  • The book must have accounting set up.
  • A share that is already revoked cannot be revoked again; the call is refused with a business-rule error.
What else happens
  • Sets revoked_at on the share, so the link stops working at once; the share record is kept (it is not deleted) and still appears in the share list.
  • The exported file itself and other links to it are not affected.
Part of Export and share accounting files.

Authorizations

Authorization
string
header
required

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

Path Parameters

export
string
required

Identifier of the accounting export (27-character KSUID string); it must belong to the selected book.

share
string
required

Identifier of the export share link (27-character KSUID string); it must belong to the export in the URL.

Query Parameters

response
enum<string>
default:none

Response mode. Default none; none answers 204 No Content.

Available options:
none

Response

No Content (response mode none).