Modify a shared library
xmatters_modify_a_shared_libraryModify a shared library's name or script via the xMatters API. Requires explicit write opt-in and confirmation to apply changes.
Instructions
Modify a shared library. POST /api/xm/1/shared-libraries. Body fields: id, name, script. Reference: https://help.xmatters.com/xmapi/#modify-a-shared-library Requires operator write opt-in and confirm:true; may notify recipients or change tenant data.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| body | Yes | Complete API JSON payload (including nested fields). See https://help.xmatters.com/xmapi/#modify-a-shared-library | |
| query | No | API query parameters; arrays are comma-joined. Documented names: none. Pagination is explicit using offset and limit; results are not automatically combined. | |
| confirm | Yes | Explicit approval of this exact mutation. Operator must also enable XMATTERS_ALLOW_WRITES. |