Request
DELETE /reports/{serial}
Deletes a specific report.
| Parameter | Type | Location | Required | Description |
|---|---|---|---|---|
serial |
Integer | String | Path | Yes | Report serial (integer >= 1), "oldest", or
"latest". |
Responses
200 (OK): Report deleted (returns deleted report for confirmation).
{
"serial": 5,
"timestamp": "2025-10-01T12:34:56Z",
"content": "S=AWS830_DEMO,D=2025-10-01,T=12:34:56,TA=15.2,RH=88,PA=1013.2"
}
404 (Not found): Report does not exist.
{
"message": "Report with serial 5 not found"
}
Example cURL
curl -X DELETE \
"https://station.example.com/api/application/https_server_1/reports/v1/reports/oldest" \
-H "X-Api-Key: <base64-encoded-api-key>"