Runners Workspaces

Deploy workspace

Deploys a workspace by running plan or apply tasks based on the provided task type

post/runners/workspaces/{workspaceId}

Path parameters

workspaceIdstring required

Unique identifier of the workspace

Request body

taskType'plan' | 'apply' required

The type of task to run (plan or apply)

cmdArgumentsstring

Additional command line arguments

Response

Workspace deployed successfully

statusinteger

Example response

{
  "status": 200,
  "data": {
    "message": "Workspace deployed successfully"
  }
}

Changes