Set scenario sender permissions
xmatters_set_scenario_sender_permissionsUpdate scenario sender permissions to control who can trigger or edit a scenario. Specify sender type, sender, and editScenarios to grant or restrict access.
Instructions
Set scenario sender permissions. PUT /api/xm/1/scenarios/{scenarioId}/sender-permissions. The request supports a top-level JSON array; listed body fields describe array entries, not mandatory root object keys. PUT is preserved from DEFINITION even where a Python sample incorrectly calls requests.post. Preserve any existing entries that should not be replaced; consult the official operation. Body fields: senderType, sender, editScenarios. Reference: https://help.xmatters.com/xmapi/#set-scenario-sender-permissions 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/#set-scenario-sender-permissions | |
| 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. |