Update a rule
Spaces method and path for this operation:
<div><span class="operation-verb patch">patch</span> <span class="operation-path">/s/{space_id}/api/alerting/v2/rules/{id}</span></div>Refer to Spaces for more information.
[Required authorization] Route required privileges: manage_alerting-v2-rules.
Path parameters
The identifier for the rule. Chosen at creation and permanent — it cannot be changed afterwards. Re-using the id of a deleted resource is allowed but discouraged: execution history, change history, and alert episodes recorded under that id are retained and are attributed to the new resource. Ids appear in URLs and logs, so keep them free of sensitive data.
Headers
A required header to protect against CSRF attacks
Request body
Response
Returns the updated rule.
Changes
Changed in 6 of the 176 revisions of this API.3413
- ●
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 #2subschema #3from therequest propertyanyOflistrequest-property-any-of-removed
- ▲
removed
subschema #1subschema #2subschema #3subschema #4from therequest propertyanyOflistrequest-property-any-of-removed
- ○
added
subschema #1subschema #2subschema #3to therequest propertyanyOflistrequest-property-any-of-added
- ○
added
subschema #1subschema #2subschema #3subschema #4to therequest propertyanyOflistrequest-property-any-of-added
- ○
added
subschema #1subschema #2to theresponse propertyanyOflist for the response statusresponse-property-any-of-added
- ○
added
subschema #1subschema #2subschema #3to theresponse propertyanyOflist for the response statusresponse-property-any-of-added
- ○
added
subschema #1subschema #2subschema #3subschema #4to theresponse propertyanyOflist for the response statusresponse-property-any-of-added
- ○
removed
subschema #1subschema #2from theresponse propertyanyOflist for the response statusresponse-property-any-of-removed
- ○
removed
subschema #1subschema #2subschema #3from theresponse propertyanyOflist for the response statusresponse-property-any-of-removed
- ○
removed
subschema #1subschema #2subschema #3subschema #4from theresponse propertyanyOflist for the response statusresponse-property-any-of-removed
- ▲
- ○
the request property
/became nullablerequest-property-became-nullable
- ○
- ▲
the response property
/////became optional for the statusresponse-property-became-optional
- ○
the request property
/////became optionalrequest-property-became-optional
- ▲
- ○
added
subschema #1subschema #2to theresponse propertyanyOflist for the response statusresponse-property-any-of-added
- ○
removed
subschema #1subschema #2from theresponse propertyanyOflist for the response statusresponse-property-any-of-removed
- ○
- ○
endpoint added
endpoint-added
- ○
Of the 176 revisions, 20 have no diff computed.