Create rules in bulk
Spaces method and path for this operation:
<div><span class="operation-verb post">post</span> <span class="operation-path">/s/{space_id}/api/alerting/v2/rules/_bulk_create</span></div>Refer to Spaces for more information.
Creates up to 100 rules in a single request. Each item can include a client-supplied id. Kibana generates an identifier when id is omitted. The request succeeds with HTTP 200 even when some rules fail. Created rules are returned in items. Failures are returned in errors. Check errors before treating the request as fully successful. To create a single rule, use POST /api/alerting/v2/rules.<br/><br/>[Required authorization] Route required privileges: manage_alerting-v2-rules.
Headers
A required header to protect against CSRF attacks
Request body
Response
Created rules are returned in items. Failures are returned in errors.
Changes
Changed in 3 of the 176 revisions of this API.3410
- ●
the
///request property's maxLength was set to32request-property-max-length-set
- ●
the
///request property's maxLength was set to32request-property-max-length-set
- ●
the
///request property's maxLength was set to32request-property-max-length-set
- ●
the
///request property's maxLength was set to32request-property-max-length-set
- ●
- ▲
removed
subschema #1subschema #2from the//request propertyanyOflistrequest-property-any-of-removed
- ▲
removed
subschema #1subschema #2subschema #3from the//request propertyanyOflistrequest-property-any-of-removed
- ▲
removed
subschema #1subschema #2subschema #3subschema #4from the//request propertyanyOflistrequest-property-any-of-removed
- ○
added
subschema #1subschema #2to the//request propertyanyOflistrequest-property-any-of-added
- ○
added
subschema #1subschema #2subschema #3to the//request propertyanyOflistrequest-property-any-of-added
- ○
added
subschema #1subschema #2subschema #3subschema #4to the//request propertyanyOflistrequest-property-any-of-added
- ○
added
subschema #1subschema #2to the//response propertyanyOflist for the response statusresponse-property-any-of-added
- ○
added
subschema #1subschema #2subschema #3to the//response propertyanyOflist for the response statusresponse-property-any-of-added
- ○
added
subschema #1subschema #2subschema #3subschema #4to the//response propertyanyOflist for the response statusresponse-property-any-of-added
- ○
removed
subschema #1subschema #2from the//response propertyanyOflist for the response statusresponse-property-any-of-removed
- ○
removed
subschema #1subschema #2subschema #3from the//response propertyanyOflist for the response statusresponse-property-any-of-removed
- ○
removed
subschema #1subschema #2subschema #3subschema #4from the//response propertyanyOflist for the response statusresponse-property-any-of-removed
- ▲
- ○
endpoint added
endpoint-added
- ○
Of the 176 revisions, 20 have no diff computed.