Browse Source

chore: correct pause-all-alerts auth in docs

Daniel Hollcraft 7 years ago
parent
commit
4a2e9b4bfa
1 changed files with 4 additions and 1 deletions
  1. 4 1
      docs/sources/http_api/alerting.md

+ 4 - 1
docs/sources/http_api/alerting.md

@@ -160,11 +160,14 @@ Content-Type: application/json
 
 
 `POST /api/admin/pause-all-alerts`
 `POST /api/admin/pause-all-alerts`
 
 
+Only works with Basic Authentication (username and password). See [introduction](http://docs.grafana.org/http_api/admin/#admin-api) for an explanation.
+
+**Example Request**:
+
 ```http
 ```http
 POST /api/admin/pause-all-alerts HTTP/1.1
 POST /api/admin/pause-all-alerts HTTP/1.1
 Accept: application/json
 Accept: application/json
 Content-Type: application/json
 Content-Type: application/json
-Authorization: Bearer eyJrIjoiT0tTcG1pUlY2RnVKZTFVaDFsNFZXdE9ZWmNrMkZYbk
 
 
 {
 {
   "paused": true
   "paused": true