2018-09-26 00:19:54 +02:00
|
|
|
---
|
2018-10-05 02:35:29 +02:00
|
|
|
title: Reports
|
2018-09-26 00:19:54 +02:00
|
|
|
menu:
|
|
|
|
docs:
|
2018-10-05 02:35:29 +02:00
|
|
|
parent: rest-api
|
2018-09-26 00:19:54 +02:00
|
|
|
weight: 10
|
|
|
|
---
|
2018-10-05 01:29:57 +02:00
|
|
|
|
|
|
|
## POST /api/v1/reports
|
2018-10-05 01:37:50 +02:00
|
|
|
|
|
|
|
Report an account.
|
|
|
|
|
2018-10-05 01:29:57 +02:00
|
|
|
### Resource information
|
|
|
|
|
|
|
|
{{< api_method_info auth="Yes" user="Yes" scope="write write:reports" version="0.0.0" >}}
|
|
|
|
|
|
|
|
### Parameters
|
|
|
|
|
|
|
|
|Name|Description|Required|Default|
|
|
|
|
|----|-----------|:------:|:-----:|
|
|
|
|
| `account_id` | The ID of the account to report | Required ||
|
|
|
|
| `status_ids` | The IDs of statuses to report as array | Optional ||
|
|
|
|
| `comment` | Reason for the report (up to 1,000 characters) | Optional ||
|