The Alterations module exposes a REST API for applying alterations directly. For example, to apply an alteration that modifies a variable, migrates the workflow instance to a new version and to schedule an activity, use the following request:
Notice that the JSON structure is exactly the same as when submitting a plan. The only difference is that the request is sent to the /alterations/run endpoint instead of the /alteration/submit endpoint.