state-versions

Get Workspace's Current State Version

Fetch the current state version for the given workspace.

This state version will be the input state when running terraform operations.

get/workspaces/{workspace}/current-state-version

Request

  • Base URL: https://example.scalr.io/api/iacp/v3
  • URL: https://example.scalr.io/api/iacp/v3/workspaces/{workspace}/current-state-version
  • Auth: HTTP bearer

Path parameters

workspacestring required

The ID of the workspace.

Response

Successfully returned current state version for the given workspace.

Changes

No recorded changes to this operation across all 1 revision of this API.