Set subscription share permissions
xmatters_set_subscription_share_permissionsSet subscription share permissions by specifying share type, recipient, and allowed actions.
Instructions
Set subscription share permissions. PUT /api/xm/1/subscriptions/{subscriptionId}/share-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: shareType, sharedWith, permissibleActions. Reference: https://help.xmatters.com/xmapi/#set-subscription-share-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-subscription-share-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. |