Update hibernation settings for a team
Path Parameters
team_idstring
Header Parameters
Authorizationstring
update hibernation settings body
activity_hibernation_delay?integer
Time in minutes of inactivity after which pods belonging to this team will be hibernated
automatic_hibernation_time?integer
Time in minutes since midnight at which pods belonging to this team will be hibernated
cluster_activity_hibernation_delay?integer
Time in minutes of inactivity after which clusters belonging to this team will be hibernated
cluster_automatic_hibernation_time?integer
Time in minutes since midnight at which clusters belonging to this team will be hibernated
cluster_hibernation_strategy?ClusterHibernationStrategy
Cluster hibernation strategy
Value in
"none" | "time" | "activity"
hibernation_strategyTeamHibernationStrategy
Team hibernation strategy
Value in
"none" | "time" | "activity"
spending_limit_notifications_enabled?boolean
Whether spending notifications are enabled for this team
team_monthly_spending_limit?integer
Spending limit this month in dollars for this team
Response Body
curl -X POST "https://api.devzero.io/backend/v0/teams/string/hibernation-settings" \
-H "Authorization: string" \
-H "Content-Type: application/json" \
-d '{
"hibernation_strategy": "none"
}'
{
"activity_hibernation_delay": 0,
"automatic_hibernation_time": 0,
"cluster_activity_hibernation_delay": 0,
"cluster_automatic_hibernation_time": 0,
"cluster_hibernation_strategy": "none",
"hibernation_strategy": "none",
"spending_limit_notifications_enabled": true,
"team_monthly_spending_limit": 0
}
{
"message": "string"
}
{
"message": "string"
}
{
"message": "string"
}
{
"message": "string"
}
{
"message": "string"
}
{
"message": "string"
}
{
"message": "string"
}
{
"message": "string"
}
{
"message": "string"
}