summary refs log tree commit diff
diff options
context:
space:
mode:
-rw-r--r--changelog.d/12533.doc1
-rw-r--r--docs/admin_api/user_admin_api.md2
2 files changed, 2 insertions, 1 deletions
diff --git a/changelog.d/12533.doc b/changelog.d/12533.doc
new file mode 100644
index 0000000000..2c15488111
--- /dev/null
+++ b/changelog.d/12533.doc
@@ -0,0 +1 @@
+Remove extraneous comma in User Admin API's device deletion section so that the example JSON is actually valid and works. Contributed by @olmari.
\ No newline at end of file
diff --git a/docs/admin_api/user_admin_api.md b/docs/admin_api/user_admin_api.md
index 4076fcab65..c8794299e7 100644
--- a/docs/admin_api/user_admin_api.md
+++ b/docs/admin_api/user_admin_api.md
@@ -804,7 +804,7 @@ POST /_synapse/admin/v2/users/<user_id>/delete_devices
   "devices": [
     "QBUAZIFURK",
     "AUIECTSRND"
-  ],
+  ]
 }
 ```