reports.md 609 Bytes
Newer Older
Eugen Rochko's avatar
Eugen Rochko committed
1
---
2
title: Reports
Eugen Rochko's avatar
Eugen Rochko committed
3 4
menu:
  docs:
5
    parent: rest-api
Eugen Rochko's avatar
Eugen Rochko committed
6 7
    weight: 10
---
Eugen Rochko's avatar
Eugen Rochko committed
8 9

## POST /api/v1/reports
Eugen Rochko's avatar
Eugen Rochko committed
10 11 12

Report an account.

Eugen Rochko's avatar
Eugen Rochko committed
13 14
### Resource information

15
{{< api_method_info auth="Yes" user="Yes" scope="write write:reports" version="1.1.0" >}}
Eugen Rochko's avatar
Eugen Rochko committed
16 17 18

### Parameters

Eugen Rochko's avatar
Eugen Rochko committed
19 20 21 22 23
|Name|Description|Required|
|----|-----------|:------:|
| `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 |
24
| `forward` | Whether to forward to the remote admin (in case of a remote account) | Optional |