mirror of
https://github.com/mastodon/documentation
synced 2025-04-11 22:56:17 +02:00
24 lines
513 B
Markdown
24 lines
513 B
Markdown
---
|
|
title: Reports
|
|
menu:
|
|
docs:
|
|
parent: rest-api
|
|
weight: 10
|
|
---
|
|
|
|
## POST /api/v1/reports
|
|
|
|
Report an account.
|
|
|
|
### Resource information
|
|
|
|
{{< api_method_info auth="Yes" user="Yes" scope="write write:reports" version="0.0.0" >}}
|
|
|
|
### Parameters
|
|
|
|
|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 |
|