docs: fix mistake in api docs

This commit is contained in:
Daniel Lee 2017-05-02 09:39:50 +02:00
parent 02455753b5
commit 83c138f575

View File

@ -280,14 +280,22 @@ Change password for specific user
## Pause all alerts
`DELETE /api/admin/pause-all-alerts`
`POST /api/admin/pause-all-alerts`
**Example Request**:
DELETE /api/admin/pause-all-alerts HTTP/1.1
POST /api/admin/pause-all-alerts HTTP/1.1
Accept: application/json
Content-Type: application/json
{
"paused": true
}
JSON Body schema:
- **paused** If true then all alerts are to be paused, false unpauses all alerts.
**Example Response**:
HTTP/1.1 200