Skip to main content
PATCH
/
reports
/
{report_id}
Update a report
curl --request PATCH \
  --url https://app.gomangrove.com/api/v1/reports/{report_id} \
  --header 'Authorization: <api-key>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "report": {
    "name": "Updated Report Name",
    "batch_ids": [
      "bat_abc123def456",
      "bat_xyz789"
    ]
  }
}
'
{
  "id": "rpt_abc123def456",
  "name": "Updated Report Name",
  "report_type": "quarterly",
  "status": "draft",
  "project_id": 123,
  "created_at": "2025-01-15T10:00:00.000Z",
  "updated_at": "2025-01-15T12:00:00.000Z",
  "inclusions": [],
  "allocation": null
}

Authorizations

Authorization
string
header
required

Path Parameters

report_id
string
required

Report friendly ID (e.g., rpt_abc123def456)

Body

application/json
report
object

Response

200