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 - `deactivated`: only deactivated users
23 - `is_admin`: users with admin role
24 - `is_moderator`: users with moderator role
25 - *optional* `page`: **integer** page number
26 - *optional* `page_size`: **integer** number of users per page (default is `50`)
27 - *optional* `tags`: **[string]** tags list
28 - *optional* `name`: **string** user display name
29 - *optional* `email`: **string** user email
30 - 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`
49 "display_name": string,
50 "confirmation_pending": bool,
51 "approval_pending": bool,
52 "registration_reason": string,
59 ## DEPRECATED `DELETE /api/pleroma/admin/users`
65 - Response: User’s nickname
67 ## `DELETE /api/pleroma/admin/users`
73 - Response: Array of user nicknames
86 - Response: User’s nickname
88 ## `POST /api/pleroma/admin/users/follow`
90 ### Make a user follow another user
93 - `follower`: The nickname of the follower
94 - `followed`: The nickname of the followed
98 ## `POST /api/pleroma/admin/users/unfollow`
100 ### Make a user unfollow another user
103 - `follower`: The nickname of the follower
104 - `followed`: The nickname of the followed
108 ## `PATCH /api/pleroma/admin/users/:nickname/toggle_activation`
110 ### Toggle user activation
114 - Response: User’s object
124 ## `PUT /api/pleroma/admin/users/tag`
126 ### Tag a list of users
129 - `nicknames` (array)
132 ## `DELETE /api/pleroma/admin/users/tag`
134 ### Untag a list of users
137 - `nicknames` (array)
140 ## `GET /api/pleroma/admin/users/:nickname/permission_group`
142 ### Get user user permission groups membership
149 "is_moderator": bool,
154 ## `GET /api/pleroma/admin/users/:nickname/permission_group/:permission_group`
156 Note: Available `:permission_group` is currently moderator and admin. 404 is returned when the permission group doesn’t exist.
158 ### Get user user permission groups membership per permission group
165 "is_moderator": bool,
170 ## DEPRECATED `POST /api/pleroma/admin/users/:nickname/permission_group/:permission_group`
172 ### Add user to permission group
176 - On failure: `{"error": "…"}`
177 - On success: JSON of the user
179 ## `POST /api/pleroma/admin/users/permission_group/:permission_group`
181 ### Add users to permission group
184 - `nicknames`: nicknames array
186 - On failure: `{"error": "…"}`
187 - On success: JSON of the user
189 ## DEPRECATED `DELETE /api/pleroma/admin/users/:nickname/permission_group/:permission_group`
191 ## `DELETE /api/pleroma/admin/users/:nickname/permission_group/:permission_group`
193 ### Remove user from permission group
197 - On failure: `{"error": "…"}`
198 - On success: JSON of the user
199 - Note: An admin cannot revoke their own admin status.
201 ## `DELETE /api/pleroma/admin/users/permission_group/:permission_group`
203 ### Remove users from permission group
206 - `nicknames`: nicknames array
208 - On failure: `{"error": "…"}`
209 - On success: JSON of the user
210 - Note: An admin cannot revoke their own admin status.
212 ## `PATCH /api/pleroma/admin/users/activate`
217 - `nicknames`: nicknames array
230 ## `PATCH /api/pleroma/admin/users/deactivate`
235 - `nicknames`: nicknames array
248 ## `GET /api/pleroma/admin/users/:nickname_or_id`
250 ### Retrive the details of a user
255 - On failure: `Not found`
256 - On success: JSON of the user
258 ## `GET /api/pleroma/admin/users/:nickname_or_id/statuses`
260 ### Retrive user's latest statuses
264 - *optional* `page_size`: number of statuses to return (default is `20`)
265 - *optional* `godmode`: `true`/`false` – allows to see private statuses
266 - *optional* `with_reblogs`: `true`/`false` – allows to see reblogs (default is false)
268 - On failure: `Not found`
269 - On success: JSON array of user's latest statuses
271 ## `GET /api/pleroma/admin/instances/:instance/statuses`
273 ### Retrive instance's latest statuses
276 - `instance`: instance name
277 - *optional* `page_size`: number of statuses to return (default is `20`)
278 - *optional* `godmode`: `true`/`false` – allows to see private statuses
279 - *optional* `with_reblogs`: `true`/`false` – allows to see reblogs (default is false)
281 - On failure: `Not found`
282 - On success: JSON array of instance's latest statuses
284 ## `GET /api/pleroma/admin/statuses`
286 ### Retrives all latest statuses
289 - *optional* `page_size`: number of statuses to return (default is `20`)
290 - *optional* `local_only`: excludes remote statuses
291 - *optional* `godmode`: `true`/`false` – allows to see private statuses
292 - *optional* `with_reblogs`: `true`/`false` – allows to see reblogs (default is false)
294 - On failure: `Not found`
295 - On success: JSON array of user's latest statuses
297 ## `POST /api/pleroma/admin/relay`
304 - On success: URL of the followed relay
306 ## `DELETE /api/pleroma/admin/relay`
313 - On success: URL of the unfollowed relay
315 ## `GET /api/pleroma/admin/relay`
321 - On success: JSON array of relays
323 ## `POST /api/pleroma/admin/users/invite_token`
325 ### Create an account registration invite token
328 - *optional* `max_use` (integer)
329 - *optional* `expires_at` (date string e.g. "2019-04-07")
340 "invite_type": string (possible values: `one_time`, `reusable`, `date_limited`, `reusable_date_limited`)
344 ## `GET /api/pleroma/admin/users/invites`
346 ### Get a list of generated invites
362 "invite_type": string (possible values: `one_time`, `reusable`, `date_limited`, `reusable_date_limited`)
369 ## `POST /api/pleroma/admin/users/revoke_invite`
371 ### Revoke invite by token
385 "invite_type": string (possible values: `one_time`, `reusable`, `date_limited`, `reusable_date_limited`)
390 ## `POST /api/pleroma/admin/users/email_invite`
392 ### Sends registration invite via email
399 - On success: `204`, empty response
401 - 400 Bad Request, JSON:
406 "error": "Appropriate error message here"
411 ## `GET /api/pleroma/admin/users/:nickname/password_reset`
413 ### Get a password reset token for a given nickname
421 "token": "base64 reset token",
422 "link": "https://pleroma.social/api/pleroma/password_reset/url-encoded-base64-token"
426 ## `PATCH /api/pleroma/admin/users/force_password_reset`
428 ### Force passord reset for a user with a given nickname
432 - Response: none (code `204`)
434 ## PUT `/api/pleroma/admin/users/disable_mfa`
436 ### Disable mfa for user's account.
440 - Response: User’s nickname
442 ## `GET /api/pleroma/admin/users/:nickname/credentials`
444 ### Get the user's email, password, display and settings-related fields
453 "actor_type": "Person",
454 "allow_following_move": true,
455 "avatar": "https://pleroma.social/media/7e8e7508fd545ef580549b6881d80ec0ff2c81ed9ad37b9bdbbdf0e0d030159d.jpg",
456 "background": "https://pleroma.social/media/4de34c0bd10970d02cbdef8972bef0ebbf55f43cadc449554d4396156162fe9a.jpg",
457 "banner": "https://pleroma.social/media/8d92ba2bd244b613520abf557dd448adcd30f5587022813ee9dd068945986946.jpg",
459 "default_scope": "public",
460 "discoverable": false,
461 "email": "user@example.com",
465 "value": "<a href=\"https://example.com\" rel=\"ugc\">https://example.com</a>"
468 "hide_favorites": false,
469 "hide_followers": false,
470 "hide_followers_count": false,
471 "hide_follows": false,
472 "hide_follows_count": false,
473 "id": "9oouHaEEUR54hls968",
476 "no_rich_text": true,
477 "pleroma_settings_store": {},
482 "value": "https://example.com"
486 "skip_thread_containment": false
490 ## `PATCH /api/pleroma/admin/users/:nickname/credentials`
492 ### Change the user's email, password, display and settings-related fields
506 * `hide_followers_count`
507 * `hide_follows_count`
509 * `allow_following_move`
512 * `skip_thread_containment`
522 {"status": "success"}
529 {"actor_type": "is invalid"},
530 {"email": "has invalid format"},
538 {"error": "Not found"}
541 ## `GET /api/pleroma/admin/reports`
543 ### Get a list of reports
546 - *optional* `state`: **string** the state of reports. Valid values are `open`, `closed` and `resolved`
547 - *optional* `limit`: **integer** the number of records to retrieve
548 - *optional* `page`: **integer** page number
549 - *optional* `page_size`: **integer** number of log entries per page (default is `50`)
551 - On failure: 403 Forbidden error `{"error": "error_msg"}` when requested by anonymous or non-admin
552 - On success: JSON, returns a list of reports, where:
553 - `account`: the user who has been reported
554 - `actor`: the user who has sent the report
555 - `statuses`: list of statuses that have been included to the report
564 "avatar": "https://pleroma.example.org/images/avi.png",
565 "avatar_static": "https://pleroma.example.org/images/avi.png",
567 "created_at": "2019-04-23T17:32:04.000Z",
568 "display_name": "User",
571 "followers_count": 1,
572 "following_count": 1,
573 "header": "https://pleroma.example.org/images/banner.png",
574 "header_static": "https://pleroma.example.org/images/banner.png",
575 "id": "9i6dAJqSGSKMzLG2Lo",
579 "confirmation_pending": false,
580 "hide_favorites": true,
581 "hide_followers": false,
582 "hide_follows": false,
584 "is_moderator": false,
593 "tags": ["force_unlisted"],
595 "url": "https://pleroma.example.org/users/user",
600 "avatar": "https://pleroma.example.org/images/avi.png",
601 "avatar_static": "https://pleroma.example.org/images/avi.png",
603 "created_at": "2019-03-28T17:36:03.000Z",
604 "display_name": "Roger Braun",
607 "followers_count": 1,
608 "following_count": 1,
609 "header": "https://pleroma.example.org/images/banner.png",
610 "header_static": "https://pleroma.example.org/images/banner.png",
611 "id": "9hEkA5JsvAdlSrocam",
615 "confirmation_pending": false,
616 "hide_favorites": false,
617 "hide_followers": false,
618 "hide_follows": false,
620 "is_moderator": false,
629 "tags": ["force_unlisted"],
631 "url": "https://pleroma.example.org/users/lain",
634 "content": "Please delete it",
635 "created_at": "2019-04-29T19:48:15.000Z",
636 "id": "9iJGOv1j8hxuw19bcm",
647 "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>",
648 "created_at": "2019-04-23T19:15:47.000Z",
651 "favourites_count": 0,
652 "id": "9i6mQ9uVrrOmOime8m",
653 "in_reply_to_account_id": null,
654 "in_reply_to_id": null,
656 "media_attachments": [],
660 "id": "9hEkA5JsvAdlSrocam",
661 "url": "https://pleroma.example.org/users/lain",
666 "id": "9i6dAJqSGSKMzLG2Lo",
667 "url": "https://pleroma.example.org/users/user",
675 "text/plain": "@lain click on my link https://www.google.com/"
677 "conversation_id": 28,
678 "in_reply_to_account_acct": null,
691 "uri": "https://pleroma.example.org/objects/8717b90f-8e09-4b58-97b0-e3305472b396",
692 "url": "https://pleroma.example.org/notice/9i6mQ9uVrrOmOime8m",
693 "visibility": "direct"
701 ## `GET /api/pleroma/admin/grouped_reports`
703 ### Get a list of reports, grouped by status
706 - On success: JSON, returns a list of reports, where:
707 - `date`: date of the latest report
708 - `account`: the user who has been reported (see `/api/pleroma/admin/reports` for reference)
709 - `status`: reported status (see `/api/pleroma/admin/reports` for reference)
710 - `actors`: users who had reported this status (see `/api/pleroma/admin/reports` for reference)
711 - `reports`: reports (see `/api/pleroma/admin/reports` for reference)
716 "date": "2019-10-07T12:31:39.615149Z",
719 "actors": [{ ... }, { ... }],
725 ## `GET /api/pleroma/admin/reports/:id`
727 ### Get an individual report
733 - 403 Forbidden `{"error": "error_msg"}`
734 - 404 Not Found `"Not found"`
735 - On success: JSON, Report object (see above)
737 ## `PATCH /api/pleroma/admin/reports`
739 ### Change the state of one or multiple reports
746 `id`, // required, report id
747 `state` // required, the new state. Valid values are `open`, `closed` and `resolved`
755 - 400 Bad Request, JSON:
761 `error` // error message
766 - On success: `204`, empty response
768 ## `POST /api/pleroma/admin/reports/:id/notes`
770 ### Create report note
773 - `id`: required, report id
774 - `content`: required, the message
777 - 400 Bad Request `"Invalid parameters"` when `status` is missing
778 - On success: `204`, empty response
780 ## `DELETE /api/pleroma/admin/reports/:report_id/notes/:id`
782 ### Delete report note
785 - `report_id`: required, report id
786 - `id`: required, note id
789 - 400 Bad Request `"Invalid parameters"` when `status` is missing
790 - On success: `204`, empty response
792 ## `GET /api/pleroma/admin/statuses/:id`
794 ### Show status by id
797 - `id`: required, status id
800 - 404 Not Found `"Not Found"`
801 - On success: JSON, Mastodon Status entity
803 ## `PUT /api/pleroma/admin/statuses/:id`
805 ### Change the scope of an individual reported status
809 - `sensitive`: optional, valid values are `true` or `false`
810 - `visibility`: optional, valid values are `public`, `private` and `unlisted`
813 - 400 Bad Request `"Unsupported visibility"`
814 - 403 Forbidden `{"error": "error_msg"}`
815 - 404 Not Found `"Not found"`
816 - On success: JSON, Mastodon Status entity
818 ## `DELETE /api/pleroma/admin/statuses/:id`
820 ### Delete an individual reported status
826 - 403 Forbidden `{"error": "error_msg"}`
827 - 404 Not Found `"Not found"`
828 - On success: 200 OK `{}`
830 ## `GET /api/pleroma/admin/restart`
832 ### Restarts pleroma application
834 **Only works when configuration from database is enabled.**
839 - 400 Bad Request `"To use this endpoint you need to enable configuration from database."`
845 ## `GET /api/pleroma/admin/need_reboot`
847 ### Returns the flag whether the pleroma should be restarted
851 - `need_reboot` - boolean
858 ## `GET /api/pleroma/admin/config`
860 ### Get list of merged default settings with saved in database.
862 *If `need_reboot` is `true`, instance must be restarted, so reboot time settings can take effect.*
864 **Only works when configuration from database is enabled.**
867 - `only_db`: true (*optional*, get only saved in database settings)
870 - 400 Bad Request `"To use this endpoint you need to enable configuration from database."`
877 "key": "Pleroma.Upload",
885 ## `POST /api/pleroma/admin/config`
887 ### Update config settings
889 *If `need_reboot` is `true`, instance must be restarted, so reboot time settings can take effect.*
891 **Only works when configuration from database is enabled.**
893 Some modifications are necessary to save the config settings correctly:
895 - strings which start with `Pleroma.`, `Phoenix.`, `Tesla.` or strings like `Oban`, `Ueberauth` will be converted to modules;
897 "Pleroma.Upload" -> Pleroma.Upload
900 - strings starting with `:` will be converted to atoms;
902 ":pleroma" -> :pleroma
904 - objects with `tuple` key and array value will be converted to tuples;
906 {"tuple": ["string", "Pleroma.Upload", []]} -> {"string", Pleroma.Upload, []}
908 - arrays with *tuple objects* will be converted to keywords;
910 [{"tuple": [":key1", "value"]}, {"tuple": [":key2", "value"]}] -> [key1: "value", key2: "value"]
913 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:
914 - all settings inside these keys:
916 - `:connections_pool`
919 - partially settings inside these keys:
920 - `:seconds_valid` in `Pleroma.Captcha`
921 - `:proxy_remote` in `Pleroma.Upload`
922 - `:upload_limit` in `:instance`
925 - `configs` - array of config objects
926 - config object params:
927 - `group` - string (**required**)
928 - `key` - string (**required**)
929 - `value` - string, [], {} or {"tuple": []} (**required**)
930 - `delete` - true (*optional*, if setting must be deleted)
931 - `subkeys` - array of strings (*optional*, only works when `delete=true` parameter is passed, otherwise will be ignored)
933 *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.*
935 [subkey: val1, subkey2: val2, subkey3: val3] \\ initial value
936 {"group": ":pleroma", "key": "some_key", "delete": true, "subkeys": [":subkey", ":subkey3"]} \\ passing json for deletion
937 [subkey2: val2] \\ value after deletion
940 *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.*
942 Example of setting without keyword in value:
944 config :tesla, :adapter, Tesla.Adapter.Hackney
947 List of settings which support only full update by key:
950 {:pleroma, :ecto_repos},
953 {:cors_plug, [:max_age, :methods, :expose, :headers]},
954 {:auto_linker, :opts},
955 {:swarm, :node_blacklist},
960 List of settings which support only full update by subkey:
962 @full_subkey_update [
963 {:pleroma, :assets, :mascots},
964 {:pleroma, :emoji, :groups},
965 {:pleroma, :workers, :retries},
966 {:pleroma, :mrf_subchain, :match_actor},
967 {:pleroma, :mrf_keyword, :replace}
971 *Settings without explicit key must be sended in separate config object params.*
981 {"group": ":quack", "key": ":level", "value": ":debug"},
982 {"group": ":quack", "key": ":meta", "value": [":all"]},
994 "key": "Pleroma.Upload",
996 {"tuple": [":uploader", "Pleroma.Uploaders.Local"]},
997 {"tuple": [":filters", ["Pleroma.Upload.Filter.Dedupe"]]},
998 {"tuple": [":link_name", true]},
999 {"tuple": [":proxy_remote", false]},
1000 {"tuple": [":proxy_opts", [
1001 {"tuple": [":redirect_on_failure", false]},
1002 {"tuple": [":max_body_length", 1048576]},
1003 {"tuple": [":http", [
1004 {"tuple": [":follow_redirect", true]},
1005 {"tuple": [":pool", ":upload"]},
1009 {"tuple": [":dispatch", {
1010 "tuple": ["/api/v1/streaming", "Pleroma.Web.MastodonAPI.WebsocketHandler", []]
1020 - 400 Bad Request `"To use this endpoint you need to enable configuration from database."`
1025 "group": ":pleroma",
1026 "key": "Pleroma.Upload",
1034 ## ` GET /api/pleroma/admin/config/descriptions`
1036 ### Get JSON with config descriptions.
1037 Loads json generated from `config/descriptions.exs`.
1044 "group": ":pleroma", // string
1045 "key": "ModuleName", // string
1046 "type": "group", // string or list with possible values,
1047 "description": "Upload general settings", // string
1050 "key": ":uploader", // string or module name `Pleroma.Upload`
1052 "description": "Module which will be used for uploads",
1053 "suggestions": ["module1", "module2"]
1057 "type": ["list", "module"],
1058 "description": "List of filter modules for uploads",
1060 "module1", "module2", "module3"
1067 ## `GET /api/pleroma/admin/moderation_log`
1069 ### Get moderation log
1072 - *optional* `page`: **integer** page number
1073 - *optional* `page_size`: **integer** number of log entries per page (default is `50`)
1074 - *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`
1075 - *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
1076 - *optional* `user_id`: **integer** filter logs by actor's id
1077 - *optional* `search`: **string** search logs by the log message
1088 "action": "relay_follow"
1090 "time": 1502812026, // timestamp
1091 "message": "[2017-08-15 15:47:06] @nick0 followed relay: https://example.org/relay" // log message
1096 ## `POST /api/pleroma/admin/reload_emoji`
1098 ### Reload the instance's custom emoji
1100 - Authentication: required
1102 - Response: JSON, "ok" and 200 status
1104 ## `PATCH /api/pleroma/admin/users/confirm_email`
1106 ### Confirm users' emails
1110 - Response: Array of user nicknames
1112 ## `PATCH /api/pleroma/admin/users/resend_confirmation_email`
1114 ### Resend confirmation email
1118 - Response: Array of user nicknames
1120 ## `GET /api/pleroma/admin/stats`
1125 - *optional* `instance`: **string** instance hostname (without protocol) to get stats for
1126 - Example: `https://mypleroma.org/api/pleroma/admin/stats?instance=lain.com`
1132 "status_visibility": {
1141 ## `GET /api/pleroma/admin/oauth_app`
1147 - *optional* `client_id`
1149 - *optional* `page_size`
1150 - *optional* `trusted`
1160 "client_id": "yHoDSiWYp5mPV6AfsaVOWjdOyt5PhWRiafi6MRd1lSk",
1161 "client_secret": "nLmis486Vqrv2o65eM9mLQx_m_4gH-Q6PcDpGIMl6FY",
1162 "redirect_uri": "https://example.com/oauth-callback",
1163 "website": "https://example.com",
1173 ## `POST /api/pleroma/admin/oauth_app`
1175 ### Create OAuth App
1181 - *optional* `website`
1182 - *optional* `trusted`
1190 "client_id": "yHoDSiWYp5mPV6AfsaVOWjdOyt5PhWRiafi6MRd1lSk",
1191 "client_secret": "nLmis486Vqrv2o65eM9mLQx_m_4gH-Q6PcDpGIMl6FY",
1192 "redirect_uri": "https://example.com/oauth-callback",
1193 "website": "https://example.com",
1201 "redirect_uris": "can't be blank",
1202 "name": "can't be blank"
1206 ## `PATCH /api/pleroma/admin/oauth_app/:id`
1208 ### Update OAuth App
1212 - *optional* `redirect_uris`
1213 - *optional* `scopes`
1214 - *optional* `website`
1215 - *optional* `trusted`
1223 "client_id": "yHoDSiWYp5mPV6AfsaVOWjdOyt5PhWRiafi6MRd1lSk",
1224 "client_secret": "nLmis486Vqrv2o65eM9mLQx_m_4gH-Q6PcDpGIMl6FY",
1225 "redirect_uri": "https://example.com/oauth-callback",
1226 "website": "https://example.com",
1231 ## `DELETE /api/pleroma/admin/oauth_app/:id`
1233 ### Delete OAuth App
1238 - On success: `204`, empty response
1240 - 400 Bad Request `"Invalid parameters"` when `status` is missing
1242 ## `GET /api/pleroma/admin/media_proxy_caches`
1244 ### Get a list of all banned MediaProxy URLs in Cachex
1246 - Authentication: required
1248 - *optional* `page`: **integer** page number
1249 - *optional* `page_size`: **integer** number of log entries per page (default is `50`)
1256 "http://example.com/media/a688346.jpg",
1257 "http://example.com/media/fb1f4d.jpg"
1263 ## `POST /api/pleroma/admin/media_proxy_caches/delete`
1265 ### Remove a banned MediaProxy URL from Cachex
1267 - Authentication: required
1276 "http://example.com/media/a688346.jpg",
1277 "http://example.com/media/fb1f4d.jpg"
1283 ## `POST /api/pleroma/admin/media_proxy_caches/purge`
1285 ### Purge a MediaProxy URL
1287 - Authentication: required
1297 "http://example.com/media/a688346.jpg",
1298 "http://example.com/media/fb1f4d.jpg"