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.
mqProject is the project identifier.
dWorkspace identifier
""Example: workspace123Account is the internal customer account ID.
d6OK response.
Inventore totam.The default pipeline is associated with this operation
planPossible values: Facere ad eos velit quos odio.The default pipeline associated with the provisioner operation
testpipelineVeniam est voluptates sint harum.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: d6
Accept: */*
[
{
"account": "Omnis reprehenderit quod.",
"operation": "plan",
"org": "Voluptates doloribus.",
"pipeline": "testpipeline",
"project": "Exercitationem esse necessitatibus dolore.",
"provisioner": "opentofu",
"updated": 1636669297674,
"workspace": "plan"
},
{
"account": "Omnis reprehenderit quod.",
"operation": "plan",
"org": "Voluptates doloribus.",
"pipeline": "testpipeline",
"project": "Exercitationem esse necessitatibus dolore.",
"provisioner": "opentofu",
"updated": 1636669297674,
"workspace": "plan"
},
{
"account": "Omnis reprehenderit quod.",
"operation": "plan",
"org": "Voluptates doloribus.",
"pipeline": "testpipeline",
"project": "Exercitationem esse necessitatibus dolore.",
"provisioner": "opentofu",
"updated": 1636669297674,
"workspace": "plan"
}
]Associate a default pipeline with a provisioner operation
Qui ipsum dicta.Quis autem dolorem qui autem.Omnis nihil.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: Omnis nihil.
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
Quod dolorem.Et fuga dolorum.Distinctio dolorem ad.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: Distinctio dolorem ad.
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.
zProject is the project identifier.
19Account is the internal customer account ID.
9cnOK response.
Indicates if the data is allowed to be pushed
falseBadRequestError: 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: 9cn
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.
33nProject is the project identifier.
taaProvisioner type to query drift status for
awscdkPossible values: Account is the internal customer account ID.
iqOK response.
Whether project-level drift automation is currently enabled for this provisioner
truePipeline configured to run for drift detection
Doloremque veniam aut.Provisioner this configuration applies to
Et temporibus minus eveniet.Repeat interval; set when drift is enabled
8736866272377335000hours or days
minutesPossible 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=awscdk HTTP/1.1
Host: localhost:80
Harness-Account: iq
Accept: */*
{
"enabled": true,
"pipeline_id": "Laborum aperiam sit tempore vel.",
"provisioner": "Fugiat aut molestiae.",
"run_every": 4973036924191679000,
"run_every_unit": "days"
}Enqueues a background job that creates drift triggers for every workspace in the project.
Org is the organisation identifier.
qProject is the project identifier.
qAccount is the internal customer account ID.
5xPipeline to run for drift detection
Perspiciatis adipisci eligendi.Provisioner type to enable drift for
opentofuPossible values: Run drift detection every N hours or N days (see run_every_unit)
6654659952170553000hours or days
daysPossible values: Accepted response.
Background job identifier
2449842964449673700Outcome message
Placeat architecto.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: 5x
Content-Type: application/json
Accept: */*
Content-Length: 112
{
"pipeline_id": "Pariatur et.",
"provisioner": "opentofu",
"run_every": 7012829059451903000,
"run_every_unit": "hours"
}{
"job_id": 7697297724675313000,
"status": "Ut sit consequuntur velit."
}Enqueues a background job that removes drift triggers for every workspace in the project.
Org is the organisation identifier.
jnwProject is the project identifier.
xl2Provisioner type to disable drift for
terraformPossible values: Account is the internal customer account ID.
crlAccepted response.
Background job identifier
8833192178183636000Outcome message
Voluptatum corrupti dolore exercitationem.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: crl
Accept: */*
{
"job_id": 6363698734791067000,
"status": "Adipisci vel sed quod magni repudiandae doloremque."
}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.
rbProject is the project identifier.
c5pProvisioner type to query ephemeral status for
opentofuPossible values: Account is the internal customer account ID.
8OK response.
Configured delete delay unit (hours or days)
hoursPossible values: Configured delete delay value (when delete_workspace is true)
3133237751315785000Configured delete date (YYYY-MM-DD) when schedule uses a specific date
Perspiciatis libero voluptatem iure possimus.Whether workspace records will be deleted after destroy
trueConfigured destroy date (YYYY-MM-DD) when schedule uses a specific date
Voluptas illo.Whether project-level ephemeral automation is currently enabled for this provisioner
falsePipeline configured for destroying infrastructure
Qui neque velit.Provisioner this configuration applies to
Repellendus numquam quis ut.Configured destroy delay unit (hours or days)
minutesPossible values: Configured destroy delay value (when schedule uses delay)
6886011843161814000BadRequestError: 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: 8
Accept: */*
{
"delete_delay_unit": "days",
"delete_delay_value": 6264833924249411000,
"delete_on_date": "Molestias autem omnis quisquam.",
"delete_workspace": true,
"destroy_on_date": "Sequi voluptates facere dolorem quibusdam autem porro.",
"enabled": false,
"pipeline_id": "Nulla voluptas voluptas accusamus nisi numquam debitis.",
"provisioner": "Minima aspernatur voluptas earum non et.",
"ttl_unit": "minutes",
"ttl_value": 2134775945130299100
}Enqueues a background job that configures ephemeral destroy/delete schedules for every workspace in the project.
Org is the organisation identifier.
hProject is the project identifier.
ntAccount is the internal customer account ID.
xcUnit for delete delay
secondsPossible values: Delete workspace after N hours or days from now
4770736883794587000Specific date to delete workspace (ISO 8601 format, e.g. 2026-09-02)
Cumque similique.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
2858826856851608000Specific date to destroy infrastructure (ISO 8601 format, e.g. 2026-08-24)
Ab velit omnis consequuntur.Pipeline to run for destroying infrastructure
Ea est autem.Provisioner type to enable ephemeral for
awscdkPossible values: Accepted response.
Background job identifier
1106280218811665200Outcome message
Fuga nemo soluta natus.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: xc
Content-Type: application/json
Accept: */*
Content-Length: 328
{
"delete_delay_unit": "minutes",
"delete_delay_value": 8048132852189697000,
"delete_on_date": "Et enim voluptate.",
"delete_workspace": false,
"destroy_delay_unit": "days",
"destroy_delay_value": 7027247976697816000,
"destroy_on_date": "Et voluptas neque in.",
"pipeline_id": "Amet itaque excepturi voluptate suscipit.",
"provisioner": "awscdk"
}{
"job_id": 2157604926072768500,
"status": "Eum sunt ipsam placeat quis."
}Enqueues a background job that removes ephemeral schedules for every workspace in the project.
Org is the organisation identifier.
8uProject is the project identifier.
mProvisioner type to disable ephemeral for
opentofuPossible values: Account is the internal customer account ID.
8m6Accepted response.
Background job identifier
4107721230316832300Outcome message
Enim optio commodi odio facilis.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=opentofu HTTP/1.1
Host: localhost:80
Harness-Account: 8m6
Accept: */*
{
"job_id": 365013782402060600,
"status": "Qui temporibus."
}Last updated
Was this helpful?