Email report delete

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

Auth: authentication; under the role-agnostic account/* group, so any signed-in user may call it. The report must belong to the caller's own account, or to an account beneath it in the caller's hierarchy. The endpoint rejects a report_id outside that hierarchy with a 422 and nothing is deleted.

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 is already gone it falls into the catch and returns the default error response.
Recent Requests
Log in to see full request history
TimeStatusUser Agent
Retrieving recent requests…
LoadingLoading…
Body Params
integer
Responses

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