Projects
Set project sandbox lifecycle defaults
Full replacement. A null field clears the project default (sandboxes fall through to the platform default). Requires project admin role.
Full replacement. A null field clears the project default (sandboxes fall through to the platform default). Requires project admin 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 <= 64Request Body
application/json
TypeScript Definitions
Use the request body type in TypeScript.
auto_delete_after*|
Default delete TTL; null = no default, "0" = never.
auto_pause_after*|
Default idle timeout; null = no default, "0" = never.
auto_pause_mode?string
Default pause mode; null = no default.
Value in
"hibernate" | "suspend"auto_resume*|
Default auto-resume; null = no default.
Response Body
application/json
application/problem+json
curl -X PUT "https://api-dev.tektona.ai/v1/orgs/string/projects/string/lifecycle-defaults" \ -H "Content-Type: application/json" \ -d '{ "auto_delete_after": "string", "auto_pause_after": "string", "auto_resume": true }'{ "$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"}