Projects
Get project sandbox lifecycle defaults
Default auto-pause / auto-resume / auto-delete applied to sandboxes in this project that do not set their own. Requires at least reader role.
Default auto-pause / auto-resume / auto-delete applied to sandboxes in this project that do not set their own. Requires at least reader role.
Authorization
apiKey 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
Match
^[a-z0-9][a-z0-9-]*[a-z0-9]$Length
2 <= length <= 64project*string
Project name
Match
^[a-z0-9][a-z0-9-]*[a-z0-9]$Length
2 <= length <= 64Response Body
application/json
application/problem+json
curl -X GET "https://api-dev.tektona.ai/v1/orgs/string/projects/string/lifecycle-defaults"{ "$schema": "https://api-dev.tektona.ai/schemas/LifecycleDefaultsBody.json", "auto_delete_after": "string", "auto_pause_after": "string", "auto_pause_mode": "hibernate", "auto_resume": true}{ "$schema": "https://api-dev.tektona.ai/schemas/ErrorModel.json", "detail": "Property foo is required but is missing.", "errors": [ { "location": "string", "message": "string", "value": null } ], "instance": "https://example.com/error-log/abc123", "status": 400, "title": "Bad Request", "type": "https://example.com/errors/example"}