admin
Perform moderation actions with accounts and reports.
Account methods
getView 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
getView 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
postPerform 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
postApprove 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
postReject 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
postRe-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
postUnsilence 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
postUnsuspend 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
getView 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
getView 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
postAssign 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
postUnassign 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
postMark 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
postRe-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