Update the return policy of a state
PATCH/api/state-machines/:id/states/:stateId/return-policy
Replaces the return policy of a single state: the states it may be returned to, allowed return types, reason codes and required form-field changes. Send returnPolicy: null to clear the policy.
Request
Responses
- 200
The state machine with the updated return policy; the body is the standard { message, response } envelope, response holds the definition