Skip to main content
PUT
/
reports
/
{id}
curl --request PUT \
  --url https://api.falconalert.com/reports/53 \
  --header 'Content-Type: application/json' \
  --data '{
    "title": "Reporte actualizado de página fraudulenta",
    "description": "Solicitan información personal y financiera",
    "status_id": 2
  }'
{
  "report": {
    "id": 53,
    "title": "Reporte de pagina fraudulenta",
    "image": "/images/reports/potholes.png",
    "description": "Solicitan informacion personal",
    "created_at": "2025-10-24T02:33:21.000Z",
    "updated_at": "2025-10-24T02:33:21.000Z",
    "created_by": 1,
    "status_id": 1,
    "report_url": "https://example.com/report/123",
    "is_anonymous": 0
  },
  "categories": [2, 3]
}

Documentation Index

Fetch the complete documentation index at: https://mintlify.com/4rt21/backend-proyecto/llms.txt

Use this file to discover all available pages before exploring further.

Updates an existing report. At least one field must be provided for the update to proceed.

Path Parameters

id
string
required
The unique identifier of the report to update

Request Body

title
string
Updated title for the report
description
string
Updated description of the reported issue
report_url
string
Updated URL of the reported resource
category
array
Updated array of category IDs. Replaces existing categories.
image
string
Updated image path for the report
status_id
number
Updated status of the report:
  • 1 - Pendiente (Pending)
  • 2 - Aprobada (Approved)
  • 3 - Rechazada (Rejected)

Response

report
object
The updated report object
report.id
number
Report ID
report.title
string
Updated report title
report.image
string
Path to the report image
report.description
string
Updated report description
report.created_at
string
ISO 8601 timestamp of creation
report.updated_at
string
ISO 8601 timestamp of last update
report.created_by
number
User ID of the creator
report.status_id
number
Current status of the report
report.report_url
string
URL of the reported resource
report.is_anonymous
number
Whether the report is anonymous (0 or 1)
categories
array
Array of category IDs associated with the report
curl --request PUT \
  --url https://api.falconalert.com/reports/53 \
  --header 'Content-Type: application/json' \
  --data '{
    "title": "Reporte actualizado de página fraudulenta",
    "description": "Solicitan información personal y financiera",
    "status_id": 2
  }'
{
  "report": {
    "id": 53,
    "title": "Reporte de pagina fraudulenta",
    "image": "/images/reports/potholes.png",
    "description": "Solicitan informacion personal",
    "created_at": "2025-10-24T02:33:21.000Z",
    "updated_at": "2025-10-24T02:33:21.000Z",
    "created_by": 1,
    "status_id": 1,
    "report_url": "https://example.com/report/123",
    "is_anonymous": 0
  },
  "categories": [2, 3]
}