Skip to content

Commit

Permalink
Add docs for ability to specify custom alert ids (elastic#92410)
Browse files Browse the repository at this point in the history
* Add docs for ability to specify custom alert ids

* Add v1/v4
  • Loading branch information
mikecote authored and kibanamachine committed Feb 23, 2021
1 parent bbe9dbc commit 5c0726f
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion docs/api/alerts/create.asciidoc
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,13 @@ Create {kib} alerts.
[[alerts-api-create-request]]
==== Request

`POST <kibana host>:<port>/api/alerts/alert`
`POST <kibana host>:<port>/api/alerts/alert/<id>`

[[alerts-api-create-path-params]]
==== Path parameters

`<id>`::
(Optional, string) Specifies a UUID v1 or v4 to use instead of a randomly generated ID.

[[alerts-api-create-request-body]]
==== Request body
Expand Down

0 comments on commit 5c0726f

Please sign in to comment.