delete
https://production-api.shoutaboutus.com/api/v1/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:
| Field | Type | Required | Notes |
|---|---|---|---|
report_id | integer | yes | Must be an existing report within the caller's account hierarchy. |
Response — { data. } envelope.
status(string) —success.response(string) — messageReport 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
| Time | Status | User Agent | |
|---|---|---|---|
Retrieving recent requests… | |||
Loading…
