Settings
Settings service handles all API endpoints related to configuration settings
List all associations between provisioner operations and default pipelines
Org is the organisation identifier.
oaiProject is the project identifier.
d3Workspace identifier
""Example: workspace123Account is the internal customer account ID.
mbOK response.
Commodi beatae odio.The default pipeline is associated with this operation
planPossible values: Fugit odit optio omnis aut aperiam sed.The default pipeline associated with the provisioner operation
testpipelineExplicabo eligendi ea id.The default pipeline is associated with this provisioner
opentofuPossible values: Time the default pipeline was last updated
1636669297674The default pipeline is associated with this workspace if specified
""Example: planBadRequestError: Bad Request response.
UnauthorizedError: Unauthorized response.
ForbiddenError: Forbidden response.
NotFoundError: Not Found response.
TimeoutError: Request Timeout response.
ConflictError: Conflict response.
LockedError: Locked response.
ContextCancelledError: response.
InternalServerError: Internal Server Error response.
BadGatewayError: Bad Gateway response.
GET /api/orgs/{org}/projects/{project}/settings/default-pipelines HTTP/1.1
Host: localhost:80
Harness-Account: mb
Accept: */*
[
{
"account": "Nihil quis voluptatem tenetur quia.",
"operation": "plan",
"org": "Eveniet minus qui voluptatibus.",
"pipeline": "testpipeline",
"project": "Ea eos qui sed.",
"provisioner": "opentofu",
"updated": 1636669297674,
"workspace": "plan"
},
{
"account": "Nihil quis voluptatem tenetur quia.",
"operation": "plan",
"org": "Eveniet minus qui voluptatibus.",
"pipeline": "testpipeline",
"project": "Ea eos qui sed.",
"provisioner": "opentofu",
"updated": 1636669297674,
"workspace": "plan"
},
{
"account": "Nihil quis voluptatem tenetur quia.",
"operation": "plan",
"org": "Eveniet minus qui voluptatibus.",
"pipeline": "testpipeline",
"project": "Ea eos qui sed.",
"provisioner": "opentofu",
"updated": 1636669297674,
"workspace": "plan"
},
{
"account": "Nihil quis voluptatem tenetur quia.",
"operation": "plan",
"org": "Eveniet minus qui voluptatibus.",
"pipeline": "testpipeline",
"project": "Ea eos qui sed.",
"provisioner": "opentofu",
"updated": 1636669297674,
"workspace": "plan"
}
]Associate a default pipeline with a provisioner operation
Est necessitatibus ipsum.Nesciunt nesciunt.Qui deserunt.The default pipeline is associated with this operation
planPossible values: The default pipeline associated with the provisioner operation
testpipelineThe default pipeline is associated with this provisioner
opentofuPossible values: Time the default pipeline was last updated
1636669297674The default pipeline is associated with this workspace if specified
""Example: planOK response.
No content
BadRequestError: Bad Request response.
UnauthorizedError: Unauthorized response.
ForbiddenError: Forbidden response.
NotFoundError: Not Found response.
TimeoutError: Request Timeout response.
ConflictError: Conflict response.
LockedError: Locked response.
ContextCancelledError: response.
InternalServerError: Internal Server Error response.
BadGatewayError: Bad Gateway response.
PUT /api/orgs/{org}/projects/{project}/settings/default-pipelines HTTP/1.1
Host: localhost:80
Harness-Account: Qui deserunt.
Content-Type: application/json
Accept: */*
Content-Length: 114
{
"operation": "plan",
"pipeline": "testpipeline",
"provisioner": "opentofu",
"updated": 1636669297674,
"workspace": "plan"
}No content
Delete the association between a default pipeline and a provisioner operation
Omnis quod.Expedita et quo earum.Eaque voluptas natus modi omnis.The default pipeline is associated with this operation
planPossible values: The default pipeline is associated with this provisioner
opentofuPossible values: The default pipeline is associated with this workspace if specified
""Example: planOK response.
No content
BadRequestError: Bad Request response.
UnauthorizedError: Unauthorized response.
ForbiddenError: Forbidden response.
NotFoundError: Not Found response.
TimeoutError: Request Timeout response.
ConflictError: Conflict response.
LockedError: Locked response.
ContextCancelledError: response.
InternalServerError: Internal Server Error response.
BadGatewayError: Bad Gateway response.
DELETE /api/orgs/{org}/projects/{project}/settings/default-pipelines HTTP/1.1
Host: localhost:80
Harness-Account: Eaque voluptas natus modi omnis.
Content-Type: application/json
Accept: */*
Content-Length: 64
{
"operation": "plan",
"provisioner": "opentofu",
"workspace": "plan"
}No content
Check if the plan/state should be sent to the server
Org is the organisation identifier.
pProject is the project identifier.
h6sAccount is the internal customer account ID.
7pOK response.
Indicates if the data is allowed to be pushed
trueBadRequestError: Bad Request response.
UnauthorizedError: Unauthorized response.
ForbiddenError: Forbidden response.
NotFoundError: Not Found response.
TimeoutError: Request Timeout response.
ConflictError: Conflict response.
LockedError: Locked response.
ContextCancelledError: response.
InternalServerError: Internal Server Error response.
BadGatewayError: Bad Gateway response.
GET /api/orgs/{org}/projects/{project}/settings/disabled HTTP/1.1
Host: localhost:80
Harness-Account: 7p
Accept: */*
{
"disabled": false
}Returns whether drift automation is currently enabled at the project level for the given provisioner, along with its pipeline_id and schedule.
Org is the organisation identifier.
lzProject is the project identifier.
hibProvisioner type to query drift status for
terragruntPossible values: Account is the internal customer account ID.
sg3OK response.
Whether project-level drift automation is currently enabled for this provisioner
falsePipeline configured to run for drift detection
Placeat dolorem et maxime corporis.Provisioner this configuration applies to
Maxime tempore est et molestiae.Repeat interval; set when drift is enabled
4717019202404721000hours or days
daysPossible values: BadRequestError: Bad Request response.
UnauthorizedError: Unauthorized response.
ForbiddenError: Forbidden response.
NotFoundError: Not Found response.
TimeoutError: Request Timeout response.
ConflictError: Conflict response.
LockedError: Locked response.
ContextCancelledError: response.
InternalServerError: Internal Server Error response.
BadGatewayError: Bad Gateway response.
GET /api/orgs/{org}/projects/{project}/settings/drift-config?provisioner=terragrunt HTTP/1.1
Host: localhost:80
Harness-Account: sg3
Accept: */*
{
"enabled": false,
"pipeline_id": "Laudantium ut.",
"provisioner": "Laborum eum aperiam voluptatem.",
"run_every": 7419069864141441000,
"run_every_unit": "days"
}Enqueues a background job that creates drift triggers for every workspace in the project.
Org is the organisation identifier.
aqProject is the project identifier.
gf0Account is the internal customer account ID.
jPipeline to run for drift detection
Ut sequi quia non harum quae.Provisioner type to enable drift for
terraformPossible values: Run drift detection every N hours or N days (see run_every_unit)
5342395590207975000hours or days
secondsPossible values: Accepted response.
Background job identifier
3019254584503934500Outcome message
Saepe provident omnis necessitatibus ut.BadRequestError: Bad Request response.
UnauthorizedError: Unauthorized response.
ForbiddenError: Forbidden response.
NotFoundError: Not Found response.
TimeoutError: Request Timeout response.
ConflictError: Conflict response.
LockedError: Locked response.
ContextCancelledError: response.
InternalServerError: Internal Server Error response.
BadGatewayError: Bad Gateway response.
PUT /api/orgs/{org}/projects/{project}/settings/drift-config HTTP/1.1
Host: localhost:80
Harness-Account: j
Content-Type: application/json
Accept: */*
Content-Length: 134
{
"pipeline_id": "Modi non consequuntur tempore.",
"provisioner": "terragrunt",
"run_every": 4989555133752127000,
"run_every_unit": "minutes"
}{
"job_id": 8598032438472293000,
"status": "Laborum rerum quia asperiores."
}Enqueues a background job that removes drift triggers for every workspace in the project.
Org is the organisation identifier.
3gbProject is the project identifier.
6oqProvisioner type to disable drift for
terraformPossible values: Account is the internal customer account ID.
8Accepted response.
Background job identifier
9117553998849891000Outcome message
Voluptas inventore.BadRequestError: Bad Request response.
UnauthorizedError: Unauthorized response.
ForbiddenError: Forbidden response.
NotFoundError: Not Found response.
TimeoutError: Request Timeout response.
ConflictError: Conflict response.
LockedError: Locked response.
ContextCancelledError: response.
InternalServerError: Internal Server Error response.
BadGatewayError: Bad Gateway response.
DELETE /api/orgs/{org}/projects/{project}/settings/drift-config?provisioner=terraform HTTP/1.1
Host: localhost:80
Harness-Account: 8
Accept: */*
{
"job_id": 5904407009904556000,
"status": "Odit quo id ut sapiente dolorum vel."
}Returns whether ephemeral automation is currently enabled at the project level for the given provisioner, along with its raw schedule fields (ttl, destroy_on_date, delete_*) so the UI can re-render previously saved values.
Org is the organisation identifier.
ym8Project is the project identifier.
iyProvisioner type to query ephemeral status for
opentofuPossible values: Account is the internal customer account ID.
uOK response.
Configured delete delay unit (hours or days)
hoursPossible values: Configured delete delay value (when delete_workspace is true)
3919427717052252000Configured delete date (YYYY-MM-DD) when schedule uses a specific date
Harum nihil voluptatibus assumenda maiores asperiores a.Whether workspace records will be deleted after destroy
trueConfigured destroy date (YYYY-MM-DD) when schedule uses a specific date
Numquam ratione tempora fugit odit molestias in.Whether project-level ephemeral automation is currently enabled for this provisioner
truePipeline configured for destroying infrastructure
Quas dolorem.Provisioner this configuration applies to
Provident ea inventore.Configured destroy delay unit (hours or days)
daysPossible values: Configured destroy delay value (when schedule uses delay)
8385951510022888000BadRequestError: Bad Request response.
UnauthorizedError: Unauthorized response.
ForbiddenError: Forbidden response.
NotFoundError: Not Found response.
TimeoutError: Request Timeout response.
ConflictError: Conflict response.
LockedError: Locked response.
ContextCancelledError: response.
InternalServerError: Internal Server Error response.
BadGatewayError: Bad Gateway response.
GET /api/orgs/{org}/projects/{project}/settings/ephemeral-config?provisioner=opentofu HTTP/1.1
Host: localhost:80
Harness-Account: u
Accept: */*
{
"delete_delay_unit": "seconds",
"delete_delay_value": 4043891178281221600,
"delete_on_date": "Enim quam.",
"delete_workspace": false,
"destroy_on_date": "Nisi est voluptas.",
"enabled": true,
"pipeline_id": "Necessitatibus a impedit minus.",
"provisioner": "Officia non vel architecto dolores.",
"ttl_unit": "hours",
"ttl_value": 7769401755229348000
}Enqueues a background job that configures ephemeral destroy/delete schedules for every workspace in the project.
Org is the organisation identifier.
67Project is the project identifier.
hi1Account is the internal customer account ID.
24Unit for delete delay
minutesPossible values: Delete workspace after N hours or days from now
949805237331761700Specific date to delete workspace (ISO 8601 format, e.g. 2026-09-02)
Praesentium praesentium soluta.Whether to delete the workspace record after infrastructure is destroyed
trueUnit for destroy delay
minutesPossible values: Destroy infrastructure after N hours or days from now
5593007425043856000Specific date to destroy infrastructure (ISO 8601 format, e.g. 2026-08-24)
Aut aspernatur eius dolores sed quia.Pipeline to run for destroying infrastructure
Iure nemo voluptas aut.Provisioner type to enable ephemeral for
opentofuPossible values: Accepted response.
Background job identifier
3995448498242608600Outcome message
Sit consequuntur.BadRequestError: Bad Request response.
UnauthorizedError: Unauthorized response.
ForbiddenError: Forbidden response.
NotFoundError: Not Found response.
TimeoutError: Request Timeout response.
ConflictError: Conflict response.
LockedError: Locked response.
ContextCancelledError: response.
InternalServerError: Internal Server Error response.
BadGatewayError: Bad Gateway response.
PUT /api/orgs/{org}/projects/{project}/settings/ephemeral-config HTTP/1.1
Host: localhost:80
Harness-Account: 24
Content-Type: application/json
Accept: */*
Content-Length: 318
{
"delete_delay_unit": "minutes",
"delete_delay_value": 1332440281197252900,
"delete_on_date": "Sequi voluptatem nulla.",
"delete_workspace": true,
"destroy_delay_unit": "seconds",
"destroy_delay_value": 3906090598959514600,
"destroy_on_date": "Cumque mollitia laborum.",
"pipeline_id": "Omnis id id ad ipsum.",
"provisioner": "awscdk"
}{
"job_id": 6457959266108642000,
"status": "Voluptates sequi dolores."
}Enqueues a background job that removes ephemeral schedules for every workspace in the project.
Org is the organisation identifier.
wvProject is the project identifier.
6yProvisioner type to disable ephemeral for
terraformPossible values: Account is the internal customer account ID.
z4Accepted response.
Background job identifier
5829595782293736000Outcome message
Fugiat excepturi quis cumque.BadRequestError: Bad Request response.
UnauthorizedError: Unauthorized response.
ForbiddenError: Forbidden response.
NotFoundError: Not Found response.
TimeoutError: Request Timeout response.
ConflictError: Conflict response.
LockedError: Locked response.
ContextCancelledError: response.
InternalServerError: Internal Server Error response.
BadGatewayError: Bad Gateway response.
DELETE /api/orgs/{org}/projects/{project}/settings/ephemeral-config?provisioner=terraform HTTP/1.1
Host: localhost:80
Harness-Account: z4
Accept: */*
{
"job_id": 1215419998915380200,
"status": "Porro harum vel."
}Last updated
Was this helpful?