Browse Source

Update API.md (#359)

stom79 6 years ago
parent
commit
5457849bac
1 changed files with 7 additions and 1 deletions
  1. 7 1
      Using-the-API/API.md

+ 7 - 1
Using-the-API/API.md

@@ -405,7 +405,13 @@ Returns an empty object.
 
 #### Dismissing a single notification:
 
-    POST /api/v1/notifications/dismiss/:id
+    POST /api/v1/notifications/dismiss
+    
+Form data:
+
+| Field | Description                   | Optional   |
+| ----- | ----------------------------  | ---------- |
+| `id`  | Notification ID | no         |    
 
 Deletes a single notification from the Mastodon server for the authenticated user.
 Returns an empty object.