Get project-level ephemeral configuration for a provisioner
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.
iProject is the project identifier.
keoProvisioner type to query ephemeral status for
opentofuPossible values: Account is the internal customer account ID.
g7zOK response.
Configured delete delay unit (hours or days)
secondsPossible values: Configured delete delay value (when delete_workspace is true)
7865016720267615000Configured delete date (YYYY-MM-DD) when schedule uses a specific date
Sit fugiat et enim eligendi.Whether workspace records will be deleted after destroy
trueConfigured destroy date (YYYY-MM-DD) when schedule uses a specific date
Omnis nihil beatae eligendi.Whether project-level ephemeral automation is currently enabled for this provisioner
truePipeline configured for destroying infrastructure
Est ea non sit.Provisioner this configuration applies to
Vero nisi eum facilis voluptas.Configured destroy delay unit (hours or days)
daysPossible values: Configured destroy delay value (when schedule uses delay)
8153434901632659000BadRequestError: 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: g7z
Accept: */*
{
"delete_delay_unit": "hours",
"delete_delay_value": 6383679355756895000,
"delete_on_date": "Necessitatibus rem non ratione.",
"delete_workspace": true,
"destroy_on_date": "Dolor maxime aut quas.",
"enabled": true,
"pipeline_id": "Nostrum deleniti a labore qui reprehenderit vitae.",
"provisioner": "Natus et quia quia dolorem qui rerum.",
"ttl_unit": "seconds",
"ttl_value": 8394293292974299000
}Last updated
Was this helpful?