3 Authentication is required and the user must be an admin.
7 * `[:auth, :enforce_oauth_admin_scope_usage]` — OAuth admin scope requirement toggle.
8 If `true`, admin actions explicitly demand admin OAuth scope(s) presence in OAuth token (client app must support admin scopes).
9 If `false` and token doesn't have admin scope(s), `is_admin` user flag grants access to admin-specific actions.
10 Note that client app needs to explicitly support admin scopes and request them when obtaining auth token.
12 ## `GET /api/pleroma/admin/users`
17 - *optional* `query`: **string** search term (e.g. nickname, domain, nickname@domain)
18 - *optional* `filters`: **string** comma-separated string of filters:
19 - `local`: only local users
20 - `external`: only external users
21 - `active`: only active users
22 - `need_approval`: only unapproved users
23 - `deactivated`: only deactivated users
24 - `is_admin`: users with admin role
25 - `is_moderator`: users with moderator role
26 - *optional* `page`: **integer** page number
27 - *optional* `page_size`: **integer** number of users per page (default is `50`)
28 - *optional* `tags`: **[string]** tags list
29 - *optional* `name`: **string** user display name
30 - *optional* `email`: **string** user email
31 - Example: `https://mypleroma.org/api/pleroma/admin/users?query=john&filters=local,active&page=1&page_size=10&tags[]=some_tag&tags[]=another_tag&name=display_name&email=email@example.com`
50 "display_name": string,
51 "confirmation_pending": bool,
52 "approval_pending": bool,
53 "registration_reason": string,
60 ## DEPRECATED `DELETE /api/pleroma/admin/users`
66 - Response: User’s nickname
68 ## `DELETE /api/pleroma/admin/users`
74 - Response: Array of user nicknames
87 - Response: User’s nickname
89 ## `POST /api/pleroma/admin/users/follow`
91 ### Make a user follow another user
94 - `follower`: The nickname of the follower
95 - `followed`: The nickname of the followed
99 ## `POST /api/pleroma/admin/users/unfollow`
101 ### Make a user unfollow another user
104 - `follower`: The nickname of the follower
105 - `followed`: The nickname of the followed
109 ## `PATCH /api/pleroma/admin/users/:nickname/toggle_activation`
111 ### Toggle user activation
115 - Response: User’s object
125 ## `PUT /api/pleroma/admin/users/tag`
127 ### Tag a list of users
130 - `nicknames` (array)
133 ## `DELETE /api/pleroma/admin/users/tag`
135 ### Untag a list of users
138 - `nicknames` (array)
141 ## `GET /api/pleroma/admin/users/:nickname/permission_group`
143 ### Get user user permission groups membership
150 "is_moderator": bool,
155 ## `GET /api/pleroma/admin/users/:nickname/permission_group/:permission_group`
157 Note: Available `:permission_group` is currently moderator and admin. 404 is returned when the permission group doesn’t exist.
159 ### Get user user permission groups membership per permission group
166 "is_moderator": bool,
171 ## DEPRECATED `POST /api/pleroma/admin/users/:nickname/permission_group/:permission_group`
173 ### Add user to permission group
177 - On failure: `{"error": "…"}`
178 - On success: JSON of the user
180 ## `POST /api/pleroma/admin/users/permission_group/:permission_group`
182 ### Add users to permission group
185 - `nicknames`: nicknames array
187 - On failure: `{"error": "…"}`
188 - On success: JSON of the user
190 ## DEPRECATED `DELETE /api/pleroma/admin/users/:nickname/permission_group/:permission_group`
192 ## `DELETE /api/pleroma/admin/users/:nickname/permission_group/:permission_group`
194 ### Remove user from permission group
198 - On failure: `{"error": "…"}`
199 - On success: JSON of the user
200 - Note: An admin cannot revoke their own admin status.
202 ## `DELETE /api/pleroma/admin/users/permission_group/:permission_group`
204 ### Remove users from permission group
207 - `nicknames`: nicknames array
209 - On failure: `{"error": "…"}`
210 - On success: JSON of the user
211 - Note: An admin cannot revoke their own admin status.
213 ## `PATCH /api/pleroma/admin/users/activate`
218 - `nicknames`: nicknames array
231 ## `PATCH /api/pleroma/admin/users/deactivate`
236 - `nicknames`: nicknames array
249 ## `PATCH /api/pleroma/admin/users/approve`
254 - `nicknames`: nicknames array
267 ## `GET /api/pleroma/admin/users/:nickname_or_id`
269 ### Retrive the details of a user
274 - On failure: `Not found`
275 - On success: JSON of the user
277 ## `GET /api/pleroma/admin/users/:nickname_or_id/statuses`
279 ### Retrive user's latest statuses
283 - *optional* `page_size`: number of statuses to return (default is `20`)
284 - *optional* `godmode`: `true`/`false` – allows to see private statuses
285 - *optional* `with_reblogs`: `true`/`false` – allows to see reblogs (default is false)
287 - On failure: `Not found`
288 - On success: JSON array of user's latest statuses
290 ## `GET /api/pleroma/admin/instances/:instance/statuses`
292 ### Retrive instance's latest statuses
295 - `instance`: instance name
296 - *optional* `page_size`: number of statuses to return (default is `20`)
297 - *optional* `godmode`: `true`/`false` – allows to see private statuses
298 - *optional* `with_reblogs`: `true`/`false` – allows to see reblogs (default is false)
300 - On failure: `Not found`
301 - On success: JSON array of instance's latest statuses
303 ## `GET /api/pleroma/admin/statuses`
305 ### Retrives all latest statuses
308 - *optional* `page_size`: number of statuses to return (default is `20`)
309 - *optional* `local_only`: excludes remote statuses
310 - *optional* `godmode`: `true`/`false` – allows to see private statuses
311 - *optional* `with_reblogs`: `true`/`false` – allows to see reblogs (default is false)
313 - On failure: `Not found`
314 - On success: JSON array of user's latest statuses
316 ## `POST /api/pleroma/admin/relay`
323 - On success: URL of the followed relay
325 ## `DELETE /api/pleroma/admin/relay`
332 - On success: URL of the unfollowed relay
334 ## `GET /api/pleroma/admin/relay`
340 - On success: JSON array of relays
342 ## `POST /api/pleroma/admin/users/invite_token`
344 ### Create an account registration invite token
347 - *optional* `max_use` (integer)
348 - *optional* `expires_at` (date string e.g. "2019-04-07")
359 "invite_type": string (possible values: `one_time`, `reusable`, `date_limited`, `reusable_date_limited`)
363 ## `GET /api/pleroma/admin/users/invites`
365 ### Get a list of generated invites
381 "invite_type": string (possible values: `one_time`, `reusable`, `date_limited`, `reusable_date_limited`)
388 ## `POST /api/pleroma/admin/users/revoke_invite`
390 ### Revoke invite by token
404 "invite_type": string (possible values: `one_time`, `reusable`, `date_limited`, `reusable_date_limited`)
409 ## `POST /api/pleroma/admin/users/email_invite`
411 ### Sends registration invite via email
418 - On success: `204`, empty response
420 - 400 Bad Request, JSON:
425 "error": "Appropriate error message here"
430 ## `GET /api/pleroma/admin/users/:nickname/password_reset`
432 ### Get a password reset token for a given nickname
440 "token": "base64 reset token",
441 "link": "https://pleroma.social/api/pleroma/password_reset/url-encoded-base64-token"
445 ## `PATCH /api/pleroma/admin/users/force_password_reset`
447 ### Force passord reset for a user with a given nickname
451 - Response: none (code `204`)
453 ## PUT `/api/pleroma/admin/users/disable_mfa`
455 ### Disable mfa for user's account.
459 - Response: User’s nickname
461 ## `GET /api/pleroma/admin/users/:nickname/credentials`
463 ### Get the user's email, password, display and settings-related fields
472 "actor_type": "Person",
473 "allow_following_move": true,
474 "avatar": "https://pleroma.social/media/7e8e7508fd545ef580549b6881d80ec0ff2c81ed9ad37b9bdbbdf0e0d030159d.jpg",
475 "background": "https://pleroma.social/media/4de34c0bd10970d02cbdef8972bef0ebbf55f43cadc449554d4396156162fe9a.jpg",
476 "banner": "https://pleroma.social/media/8d92ba2bd244b613520abf557dd448adcd30f5587022813ee9dd068945986946.jpg",
478 "default_scope": "public",
479 "discoverable": false,
480 "email": "user@example.com",
484 "value": "<a href=\"https://example.com\" rel=\"ugc\">https://example.com</a>"
487 "hide_favorites": false,
488 "hide_followers": false,
489 "hide_followers_count": false,
490 "hide_follows": false,
491 "hide_follows_count": false,
492 "id": "9oouHaEEUR54hls968",
495 "no_rich_text": true,
496 "pleroma_settings_store": {},
501 "value": "https://example.com"
505 "skip_thread_containment": false
509 ## `PATCH /api/pleroma/admin/users/:nickname/credentials`
511 ### Change the user's email, password, display and settings-related fields
525 * `hide_followers_count`
526 * `hide_follows_count`
528 * `allow_following_move`
531 * `skip_thread_containment`
541 {"status": "success"}
548 {"actor_type": "is invalid"},
549 {"email": "has invalid format"},
557 {"error": "Not found"}
560 ## `GET /api/pleroma/admin/reports`
562 ### Get a list of reports
565 - *optional* `state`: **string** the state of reports. Valid values are `open`, `closed` and `resolved`
566 - *optional* `limit`: **integer** the number of records to retrieve
567 - *optional* `page`: **integer** page number
568 - *optional* `page_size`: **integer** number of log entries per page (default is `50`)
570 - On failure: 403 Forbidden error `{"error": "error_msg"}` when requested by anonymous or non-admin
571 - On success: JSON, returns a list of reports, where:
572 - `account`: the user who has been reported
573 - `actor`: the user who has sent the report
574 - `statuses`: list of statuses that have been included to the report
583 "avatar": "https://pleroma.example.org/images/avi.png",
584 "avatar_static": "https://pleroma.example.org/images/avi.png",
586 "created_at": "2019-04-23T17:32:04.000Z",
587 "display_name": "User",
590 "followers_count": 1,
591 "following_count": 1,
592 "header": "https://pleroma.example.org/images/banner.png",
593 "header_static": "https://pleroma.example.org/images/banner.png",
594 "id": "9i6dAJqSGSKMzLG2Lo",
598 "confirmation_pending": false,
599 "hide_favorites": true,
600 "hide_followers": false,
601 "hide_follows": false,
603 "is_moderator": false,
612 "tags": ["force_unlisted"],
614 "url": "https://pleroma.example.org/users/user",
619 "avatar": "https://pleroma.example.org/images/avi.png",
620 "avatar_static": "https://pleroma.example.org/images/avi.png",
622 "created_at": "2019-03-28T17:36:03.000Z",
623 "display_name": "Roger Braun",
626 "followers_count": 1,
627 "following_count": 1,
628 "header": "https://pleroma.example.org/images/banner.png",
629 "header_static": "https://pleroma.example.org/images/banner.png",
630 "id": "9hEkA5JsvAdlSrocam",
634 "confirmation_pending": false,
635 "hide_favorites": false,
636 "hide_followers": false,
637 "hide_follows": false,
639 "is_moderator": false,
648 "tags": ["force_unlisted"],
650 "url": "https://pleroma.example.org/users/lain",
653 "content": "Please delete it",
654 "created_at": "2019-04-29T19:48:15.000Z",
655 "id": "9iJGOv1j8hxuw19bcm",
666 "content": "<span class=\"h-card\"><a data-user=\"9hEkA5JsvAdlSrocam\" class=\"u-url mention\" href=\"https://pleroma.example.org/users/lain\">@<span>lain</span></a></span> click on my link <a href=\"https://www.google.com/\">https://www.google.com/</a>",
667 "created_at": "2019-04-23T19:15:47.000Z",
670 "favourites_count": 0,
671 "id": "9i6mQ9uVrrOmOime8m",
672 "in_reply_to_account_id": null,
673 "in_reply_to_id": null,
675 "media_attachments": [],
679 "id": "9hEkA5JsvAdlSrocam",
680 "url": "https://pleroma.example.org/users/lain",
685 "id": "9i6dAJqSGSKMzLG2Lo",
686 "url": "https://pleroma.example.org/users/user",
694 "text/plain": "@lain click on my link https://www.google.com/"
696 "conversation_id": 28,
697 "in_reply_to_account_acct": null,
710 "uri": "https://pleroma.example.org/objects/8717b90f-8e09-4b58-97b0-e3305472b396",
711 "url": "https://pleroma.example.org/notice/9i6mQ9uVrrOmOime8m",
712 "visibility": "direct"
720 ## `GET /api/pleroma/admin/grouped_reports`
722 ### Get a list of reports, grouped by status
725 - On success: JSON, returns a list of reports, where:
726 - `date`: date of the latest report
727 - `account`: the user who has been reported (see `/api/pleroma/admin/reports` for reference)
728 - `status`: reported status (see `/api/pleroma/admin/reports` for reference)
729 - `actors`: users who had reported this status (see `/api/pleroma/admin/reports` for reference)
730 - `reports`: reports (see `/api/pleroma/admin/reports` for reference)
735 "date": "2019-10-07T12:31:39.615149Z",
738 "actors": [{ ... }, { ... }],
744 ## `GET /api/pleroma/admin/reports/:id`
746 ### Get an individual report
752 - 403 Forbidden `{"error": "error_msg"}`
753 - 404 Not Found `"Not found"`
754 - On success: JSON, Report object (see above)
756 ## `PATCH /api/pleroma/admin/reports`
758 ### Change the state of one or multiple reports
765 `id`, // required, report id
766 `state` // required, the new state. Valid values are `open`, `closed` and `resolved`
774 - 400 Bad Request, JSON:
780 `error` // error message
785 - On success: `204`, empty response
787 ## `POST /api/pleroma/admin/reports/:id/notes`
789 ### Create report note
792 - `id`: required, report id
793 - `content`: required, the message
796 - 400 Bad Request `"Invalid parameters"` when `status` is missing
797 - On success: `204`, empty response
799 ## `DELETE /api/pleroma/admin/reports/:report_id/notes/:id`
801 ### Delete report note
804 - `report_id`: required, report id
805 - `id`: required, note id
808 - 400 Bad Request `"Invalid parameters"` when `status` is missing
809 - On success: `204`, empty response
811 ## `GET /api/pleroma/admin/statuses/:id`
813 ### Show status by id
816 - `id`: required, status id
819 - 404 Not Found `"Not Found"`
820 - On success: JSON, Mastodon Status entity
822 ## `PUT /api/pleroma/admin/statuses/:id`
824 ### Change the scope of an individual reported status
828 - `sensitive`: optional, valid values are `true` or `false`
829 - `visibility`: optional, valid values are `public`, `private` and `unlisted`
832 - 400 Bad Request `"Unsupported visibility"`
833 - 403 Forbidden `{"error": "error_msg"}`
834 - 404 Not Found `"Not found"`
835 - On success: JSON, Mastodon Status entity
837 ## `DELETE /api/pleroma/admin/statuses/:id`
839 ### Delete an individual reported status
845 - 403 Forbidden `{"error": "error_msg"}`
846 - 404 Not Found `"Not found"`
847 - On success: 200 OK `{}`
849 ## `GET /api/pleroma/admin/restart`
851 ### Restarts pleroma application
853 **Only works when configuration from database is enabled.**
858 - 400 Bad Request `"To use this endpoint you need to enable configuration from database."`
864 ## `GET /api/pleroma/admin/need_reboot`
866 ### Returns the flag whether the pleroma should be restarted
870 - `need_reboot` - boolean
877 ## `GET /api/pleroma/admin/config`
879 ### Get list of merged default settings with saved in database.
881 *If `need_reboot` is `true`, instance must be restarted, so reboot time settings can take effect.*
883 **Only works when configuration from database is enabled.**
886 - `only_db`: true (*optional*, get only saved in database settings)
889 - 400 Bad Request `"To use this endpoint you need to enable configuration from database."`
896 "key": "Pleroma.Upload",
904 ## `POST /api/pleroma/admin/config`
906 ### Update config settings
908 *If `need_reboot` is `true`, instance must be restarted, so reboot time settings can take effect.*
910 **Only works when configuration from database is enabled.**
912 Some modifications are necessary to save the config settings correctly:
914 - strings which start with `Pleroma.`, `Phoenix.`, `Tesla.` or strings like `Oban`, `Ueberauth` will be converted to modules;
916 "Pleroma.Upload" -> Pleroma.Upload
919 - strings starting with `:` will be converted to atoms;
921 ":pleroma" -> :pleroma
923 - objects with `tuple` key and array value will be converted to tuples;
925 {"tuple": ["string", "Pleroma.Upload", []]} -> {"string", Pleroma.Upload, []}
927 - arrays with *tuple objects* will be converted to keywords;
929 [{"tuple": [":key1", "value"]}, {"tuple": [":key2", "value"]}] -> [key1: "value", key2: "value"]
932 Most of the settings will be applied in `runtime`, this means that you don't need to restart the instance. But some settings are applied in `compile time` and require a reboot of the instance, such as:
933 - all settings inside these keys:
935 - `:connections_pool`
938 - partially settings inside these keys:
939 - `:seconds_valid` in `Pleroma.Captcha`
940 - `:proxy_remote` in `Pleroma.Upload`
941 - `:upload_limit` in `:instance`
944 - `configs` - array of config objects
945 - config object params:
946 - `group` - string (**required**)
947 - `key` - string (**required**)
948 - `value` - string, [], {} or {"tuple": []} (**required**)
949 - `delete` - true (*optional*, if setting must be deleted)
950 - `subkeys` - array of strings (*optional*, only works when `delete=true` parameter is passed, otherwise will be ignored)
952 *When a value have several nested settings, you can delete only some nested settings by passing a parameter `subkeys`, without deleting all settings by key.*
954 [subkey: val1, subkey2: val2, subkey3: val3] \\ initial value
955 {"group": ":pleroma", "key": "some_key", "delete": true, "subkeys": [":subkey", ":subkey3"]} \\ passing json for deletion
956 [subkey2: val2] \\ value after deletion
959 *Most of the settings can be partially updated through merge old values with new values, except settings value of which is list or is not keyword.*
961 Example of setting without keyword in value:
963 config :tesla, :adapter, Tesla.Adapter.Hackney
966 List of settings which support only full update by key:
969 {:pleroma, :ecto_repos},
972 {:cors_plug, [:max_age, :methods, :expose, :headers]},
973 {:auto_linker, :opts},
974 {:swarm, :node_blacklist},
979 List of settings which support only full update by subkey:
981 @full_subkey_update [
982 {:pleroma, :assets, :mascots},
983 {:pleroma, :emoji, :groups},
984 {:pleroma, :workers, :retries},
985 {:pleroma, :mrf_subchain, :match_actor},
986 {:pleroma, :mrf_keyword, :replace}
990 *Settings without explicit key must be sended in separate config object params.*
1000 {"group": ":quack", "key": ":level", "value": ":debug"},
1001 {"group": ":quack", "key": ":meta", "value": [":all"]},
1012 "group": ":pleroma",
1013 "key": "Pleroma.Upload",
1015 {"tuple": [":uploader", "Pleroma.Uploaders.Local"]},
1016 {"tuple": [":filters", ["Pleroma.Upload.Filter.Dedupe"]]},
1017 {"tuple": [":link_name", true]},
1018 {"tuple": [":proxy_remote", false]},
1019 {"tuple": [":proxy_opts", [
1020 {"tuple": [":redirect_on_failure", false]},
1021 {"tuple": [":max_body_length", 1048576]},
1022 {"tuple": [":http", [
1023 {"tuple": [":follow_redirect", true]},
1024 {"tuple": [":pool", ":upload"]},
1028 {"tuple": [":dispatch", {
1029 "tuple": ["/api/v1/streaming", "Pleroma.Web.MastodonAPI.WebsocketHandler", []]
1039 - 400 Bad Request `"To use this endpoint you need to enable configuration from database."`
1044 "group": ":pleroma",
1045 "key": "Pleroma.Upload",
1053 ## ` GET /api/pleroma/admin/config/descriptions`
1055 ### Get JSON with config descriptions.
1056 Loads json generated from `config/descriptions.exs`.
1063 "group": ":pleroma", // string
1064 "key": "ModuleName", // string
1065 "type": "group", // string or list with possible values,
1066 "description": "Upload general settings", // string
1069 "key": ":uploader", // string or module name `Pleroma.Upload`
1071 "description": "Module which will be used for uploads",
1072 "suggestions": ["module1", "module2"]
1076 "type": ["list", "module"],
1077 "description": "List of filter modules for uploads",
1079 "module1", "module2", "module3"
1086 ## `GET /api/pleroma/admin/moderation_log`
1088 ### Get moderation log
1091 - *optional* `page`: **integer** page number
1092 - *optional* `page_size`: **integer** number of log entries per page (default is `50`)
1093 - *optional* `start_date`: **datetime (ISO 8601)** filter logs by creation date, start from `start_date`. Accepts datetime in ISO 8601 format (YYYY-MM-DDThh:mm:ss), e.g. `2005-08-09T18:31:42`
1094 - *optional* `end_date`: **datetime (ISO 8601)** filter logs by creation date, end by from `end_date`. Accepts datetime in ISO 8601 format (YYYY-MM-DDThh:mm:ss), e.g. 2005-08-09T18:31:42
1095 - *optional* `user_id`: **integer** filter logs by actor's id
1096 - *optional* `search`: **string** search logs by the log message
1107 "action": "relay_follow"
1109 "time": 1502812026, // timestamp
1110 "message": "[2017-08-15 15:47:06] @nick0 followed relay: https://example.org/relay" // log message
1115 ## `POST /api/pleroma/admin/reload_emoji`
1117 ### Reload the instance's custom emoji
1119 - Authentication: required
1121 - Response: JSON, "ok" and 200 status
1123 ## `PATCH /api/pleroma/admin/users/confirm_email`
1125 ### Confirm users' emails
1129 - Response: Array of user nicknames
1131 ## `PATCH /api/pleroma/admin/users/resend_confirmation_email`
1133 ### Resend confirmation email
1137 - Response: Array of user nicknames
1139 ## `GET /api/pleroma/admin/stats`
1144 - *optional* `instance`: **string** instance hostname (without protocol) to get stats for
1145 - Example: `https://mypleroma.org/api/pleroma/admin/stats?instance=lain.com`
1151 "status_visibility": {
1160 ## `GET /api/pleroma/admin/oauth_app`
1166 - *optional* `client_id`
1168 - *optional* `page_size`
1169 - *optional* `trusted`
1179 "client_id": "yHoDSiWYp5mPV6AfsaVOWjdOyt5PhWRiafi6MRd1lSk",
1180 "client_secret": "nLmis486Vqrv2o65eM9mLQx_m_4gH-Q6PcDpGIMl6FY",
1181 "redirect_uri": "https://example.com/oauth-callback",
1182 "website": "https://example.com",
1192 ## `POST /api/pleroma/admin/oauth_app`
1194 ### Create OAuth App
1200 - *optional* `website`
1201 - *optional* `trusted`
1209 "client_id": "yHoDSiWYp5mPV6AfsaVOWjdOyt5PhWRiafi6MRd1lSk",
1210 "client_secret": "nLmis486Vqrv2o65eM9mLQx_m_4gH-Q6PcDpGIMl6FY",
1211 "redirect_uri": "https://example.com/oauth-callback",
1212 "website": "https://example.com",
1220 "redirect_uris": "can't be blank",
1221 "name": "can't be blank"
1225 ## `PATCH /api/pleroma/admin/oauth_app/:id`
1227 ### Update OAuth App
1231 - *optional* `redirect_uris`
1232 - *optional* `scopes`
1233 - *optional* `website`
1234 - *optional* `trusted`
1242 "client_id": "yHoDSiWYp5mPV6AfsaVOWjdOyt5PhWRiafi6MRd1lSk",
1243 "client_secret": "nLmis486Vqrv2o65eM9mLQx_m_4gH-Q6PcDpGIMl6FY",
1244 "redirect_uri": "https://example.com/oauth-callback",
1245 "website": "https://example.com",
1250 ## `DELETE /api/pleroma/admin/oauth_app/:id`
1252 ### Delete OAuth App
1257 - On success: `204`, empty response
1259 - 400 Bad Request `"Invalid parameters"` when `status` is missing
1261 ## `GET /api/pleroma/admin/media_proxy_caches`
1263 ### Get a list of all banned MediaProxy URLs in Cachex
1265 - Authentication: required
1267 - *optional* `page`: **integer** page number
1268 - *optional* `page_size`: **integer** number of log entries per page (default is `50`)
1275 "http://example.com/media/a688346.jpg",
1276 "http://example.com/media/fb1f4d.jpg"
1282 ## `POST /api/pleroma/admin/media_proxy_caches/delete`
1284 ### Remove a banned MediaProxy URL from Cachex
1286 - Authentication: required
1295 "http://example.com/media/a688346.jpg",
1296 "http://example.com/media/fb1f4d.jpg"
1302 ## `POST /api/pleroma/admin/media_proxy_caches/purge`
1304 ### Purge a MediaProxy URL
1306 - Authentication: required
1316 "http://example.com/media/a688346.jpg",
1317 "http://example.com/media/fb1f4d.jpg"