Delete an account email report

Delete an account email report and all of its associated rows (recipients, store links, user links, account links) plus the report itself, inside a DB transaction.

Auth: Account — authentication; under the user/* group. Requires an account-tier user (else 403). The DELETE carries a JSON body (report_id), and the report must belong to the caller's own account or one beneath it in the caller's hierarchy. The endpoint rejects anything outside that with a 422.

Rate limit: No rate limit.

Request

  • Body:
FieldTypeRequiredNotes
report_idintegeryesMust be an existing report within the caller's account hierarchy.

Response{ data. } envelope.

  • status (string) — success.
  • response (string) — message Report has been deleted successfully!. If the report no longer exists the call returns 500 with { status: "error", message }.
Recent Requests
Log in to see full request history
TimeStatusUser Agent
Retrieving recent requests…
LoadingLoading…
Body Params
integer
Response

Language
Credentials
Bearer
JWT
URL
LoadingLoading…
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/json