Accounting reports

Delete an owner package

Removes a generated owner package. Requires the reports:read permission.

DELETE
https://services.magicdoor.com/accounting/company-portal/reports/owner-package/{id}

Authorization

Authorizationstringrequired
Bearer token — Send your API token in the Authorization header as Bearer <token>. Requests without a valid token are rejected with 401 Unauthorized.

Path parameters

idstringrequired

Snowflake id of the owner package.

example: 1830472847398413100

Response

200 · The package was deleted. The response has no body.

401 · The access token is missing, expired, or not for this company.

403 · The caller does not hold the `reports:read` permission.

404 · No owner package with this id belongs to the caller's company.

Creating and deleting a package need only a read permission

All four owner-package endpoints check reports:read, including this one and the endpoint that creates a package. There is no separate write permission, so any key that can read reports can also delete a generated package.