cURL
curl --request POST \ --url https://our-secret-api-url.com/report/status \ --header 'Authorization: Bearer <token>' \ --header 'Content-Type: application/json' \ --header 'X-API-KEY: <x-api-key>' \ --data ' { "reportId": 123, "status": "reviewing", "targetUserId": 123, "targetPostId": 123, "notes": "<string>" } '
{ "id": 123, "reportId": 123, "actionTaken": "reviewing", "actionTakenBy": 123, "actionTakenAt": "2023-11-07T05:31:56Z", "notes": "<string>" }
Update the status of a report
ADMIN
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Bearer <token>
<token>
API key required for authentication
reviewing
no_action
suspended
Report status updated successfully