Delete a site
xmatters_delete_a_siteDelete a site in xMatters by providing its site ID and confirming the action. Requires operator write opt-in to execute this mutation.
Instructions
Delete a site. DELETE /api/xm/1/sites/{siteID}. Body fields: none. Reference: https://help.xmatters.com/xmapi/#delete-a-site Requires operator write opt-in and confirm:true; may notify recipients or change tenant data.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"path": "<path>",
"confirm": "<confirm>"
},
"name": "xmatters_delete_a_site"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | Yes | ||
| 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. |