SandboxesSandbox TemplatesTemplate lifecycle

Get project template lifecycle settings

Get the archive and delete rules that apply to a project's templates, and the scope each value came from. Requires read access to the project.

GET
/v1/orgs/{org}/projects/{project}/settings/template-lifecycle

Get the archive and delete rules that apply to a project's templates, and the scope each value came from. Requires read access to the project.

AuthorizationBearer <token>

API key starting with tektona_. Create one at app-dev.tektona.ai under API Keys.

In: header

Path Parameters

org*string

Organization name

project*string

Project name

Response Body

application/json

application/problem+json

curl -X GET "https://example.com/v1/orgs/string/projects/string/settings/template-lifecycle"
{  "effective": {    "archive_after_days_unused": 0,    "archive_enabled": true,    "delete_after_days_archived": 0,    "delete_enabled": true  },  "settings": {    "archive_after_days_unused": 1,    "archive_enabled": true,    "delete_after_days_archived": 1,    "delete_enabled": true  },  "source": {    "archive_after_days_unused": "project",    "archive_enabled": "project",    "delete_after_days_archived": "project",    "delete_enabled": "project"  }}