# Finalize creation of a machine definition version. **PUT /machines/{machineSlug}/v/{signedMachineVersionId}** After retrieving the `machineDefinitionVersionId` and code upload instructions from `POST /machines/:machineSlug/v`, and after uploading the code as described, call this operation to finalize the creation of the machine definition version. After this operation, you can create instances of the machine definition with this version. ## Servers - Production server: https://api.statebacked.dev (Production server) ## Authentication methods - Bearer auth ## Parameters ### Path parameters - **machineSlug** (string) The slug/name for the machine definition this version is related to. - **signedMachineVersionId** (string) The signed machine version id returned from `POST /machines/:machineSlug/v`. ### Body: (object) Finalize creation of a machine definition version. - **clientInfo** (string) Informational only. Any string that describes this version. Good uses would be a semantic version number or git commit. - **makeCurrent** (boolean) Whether to make this version the current version for the machine definition. If `true`, the current version will be set to this version. If `false`, the current version will not be changed. - **indexSelectors** (object) Mapping from index names (must match index names from the corresponding machine) to JSON path selectors into machine context. On every state update, the pointed-to value in machine context will be extracted and used to index the machine. ## Responses ### 200 The version was created. #### Body: (object) - **machineVersionId** (string) The ID of a machine definition version. [Powered by Bump.sh](https://bump.sh)