v1

latestOpenAPI 3.0.0Apache 2.0 License2026-07-1737274251.5 KB

Deletes a state machine version. After you delete a version, you can't call StartExecution using that version's ARN or use the version with a state machine alias.

Deleting a state machine version won't terminate its in-progress executions.

You can't delete a state machine version currently referenced by one or more aliases. Before you delete a version, you must either delete the aliases or update them to point to another state machine version.

Related operations:

  • PublishStateMachineVersion

  • ListStateMachineVersions

post/#X-Amz-Target=AWSStepFunctions.DeleteStateMachineVersion

Headers

X-Amz-Target'AWSStepFunctions.DeleteStateMachineVersion' required

Request body

stateMachineVersionArnstring required

The Amazon Resource Name (ARN) of the state machine version to delete.

Response

Success

DeleteStateMachineVersionOutput required