DELETE
/reports/custom/{savedReport} Delete a saved custom report
Only the API key that created a report deletes it. Exports already made from it are kept.
Parameters
| Name | In | Type | Description |
|---|---|---|---|
savedReportrequired | path | string uuid |
Responses
204Deleted
No body.
403Not the key that created it
{
"success": false,
"message": "Validation failed",
"code": "VALIDATION_ERROR"
} 404Not this ledger's, or unknown (a repeat of a delete)
{
"success": false,
"message": "Validation failed",
"code": "VALIDATION_ERROR"
} Examples
curl -X DELETE https://ledga.io/api/v1/reports/custom/{savedReport} \
-H "Authorization: Bearer sk_xxxxxxxx_your_secret"