latestOpenAPI 3.0.32026-08-10152216352.3 KB
eea119b4113f
Runners Workspaces
Update a workspace
Updates an existing workspace with the provided configuration
patch/runners/workspaces/{workspaceId}
Path parameters
workspaceIdstring required
Unique identifier of the workspace
Request body
Example request
{
"name": "my-workspace",
"description": "Production environment workspace",
"labels": [
"production",
"terraform"
],
"vcsIntegrationId": "5fd126f5744410407fbc552f",
"repository": "infralight/appiac",
"defaultBranch": "main",
"vcs": "github",
"workingDirectory": "terraform/production",
"runnerType": "firefly_runners",
"triggerConfig": {
"runOnPullRequest": true
},
"cronExecutionPattern": "0 2 * * *",
"poolId": "123e4567-e89b-12d3-a456-426614174000"
}Response
Workspace updated successfully
Example response
{
"poolId": "123e4567-e89b-12d3-a456-426614174000"
}