admin
Perform moderation actions with accounts and reports.
Account methods
get
View accounts by criteria
View accounts matching certain criteria for filtering, up to 100 at a time. Pagination may be done with the HTTP Link header in the response.
Returns: Admin::Account
OAuth: User token + admin:read:accounts
Version history:
2.9.1 - added
Request
Headers
string
Query Parameters
boolean
boolean
string
boolean
boolean
boolean
boolean
boolean
string
string
string
string
boolean
Response
200: Success
get
View a specific account
View admin-level information about the given account.
Returns: Admin::Account
OAuth: User token + admin:read:accounts
Version history:
2.9.1 - added
Request
Path Parameters
string
Headers
string
Response
200: Success
post
Perform an action against an account
Perform an action against an account and log this action in the moderation history.
Returns: empty object
OAuth: User token + admin:write:accounts
Version history:
2.9.1 - added
Request
Path Parameters
string
Headers
string
Form Data Parameters
string
none
disable
silence
suspend
string
string
string
boolean
Response
200: Success
post
Approve pending account
Approve the given local account if it is currently pending approval.
Returns: Admin::Account
OAuth: User token + admin:write:accounts
Version history:
2.9.1 - added
Request
Path Parameters
string
Headers
string
Response
200: Success
post
Reject pending account
Reject the given local account if it is currently pending approval.
Returns: Admin::Account
OAuth: User token + admin:write:accounts
Version history:
2.9.1 - added
Request
Path Parameters
string
Headers
string
Response
200: Success
post
Re-enable account
Re-enable a local account whose login is currently disabled.
Returns: Admin::Account
OAuth: User token + admin:write:accounts
Version history:
2.9.1 - added
Request
Path Parameters
string
Headers
string
Response
200: Success
post
Unsilence account
Unsilence a currently silenced account.
Returns: Admin::Account
OAuth: User token + admin:write:accounts
Version history:
2.9.1 - added
Request
Path Parameters
string
Headers
string
Response
200: Success
post
Unsuspend account
Unsuspend a currently suspended account.
Returns: Admin::Account
OAuth: User token + admin:write:accounts
Version history:
2.9.1 - added
Request
Path Parameters
string
Headers
string
Response
200: Success
Report methods
get
View all reports
View all reports. Pagination may be done with HTTP Link header in the response.
Returns: Array of Admin::Report
OAuth: User token + admin:read:reports
Version history:
2.9.1 - added
Request
Headers
string
Query Parameters
boolean
string
string
Response
200: Success
get
View a single report
View information about the report with the given ID.
Returns: Admin::Report
OAuth: User token + admin:read:reports
Version history:
2.9.1 - added
Request
Path Parameters
string
Headers
string
Response
200: Success
post
Assign report to self
Claim the handling of this report to yourself.
Returns: Admin::Report
OAuth: User token + admin:write:reports
Version history:
2.9.1 - added
Request
Path Parameters
string
Headers
string
Response
200: Success
post
Unassign report
Unassign a report so that someone else can claim it.
Returns: Admin::Report
OAuth: User token + admin:write:reports
Version history:
2.9.1 - added
Request
Path Parameters
string
Headers
string
Response
200: Success
post
Mark as resolved
Mark a report as resolved with no further action taken.
Returns: Admin::Report
OAuth: User token + admin:write:reports
Version history:
2.9.1 - added
Request
Path Parameters
string
Headers
string
Response
200: Success
post
Re-open report
Reopen a currently closed report.
Returns: Admin::Report
OAuth: User token + admin:write:reports
Version history:
2.9.1 - added
Request
Path Parameters
string
Headers
string
Response
200: Success
Last updated December 27, 2020 · Improve this page