Modify a site
xmatters_modify_a_siteUpdate an existing xMatters site's details such as name, address, timezone, or status via the REST API. Requires explicit confirmation and write access.
Instructions
Modify a site. POST /api/xm/1/sites/. The trailing slash is preserved from DEFINITION (/sites/); prose and request examples also use /sites. They describe the same operation. Body fields: id, name, country, language, timezone, address1, address2, city, externalKey, externallyOwned, latitude, longitude, postalCode, state, status. Reference: https://help.xmatters.com/xmapi/#modify-a-site 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-site | |
| 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. |