Execute Pending Change
Execute a pending plan change (internal - called by Restate at period_end).
This endpoint is called by the Restate workflow when a subscription reaches
its period end and has a pending plan change to execute.
Requires workflow authentication (X-Restate-Secret-Key header).
Returns:
- executed: True if the pending change was executed
- reason: Reason for skipping if not executed
- plan_change_result: Full plan change result if executed
Authentication
AuthorizationBearer
Bearer authentication of the form Bearer <token>, where token is your auth token.
Path parameters
subscription_id
account_id
Headers
X-Restate-Secret-Key
X-System-Reason
Response
Successful Response
executed
True if pending change was executed
reason
Reason for skipping if not executed
plan_change_result
Full plan change result if executed
Errors
422
Unprocessable Entity Error