Update team specific features
update team specific features, these are only updateable if the team is on an enterprise plan
PUT/teams
/{team_id}
/features
/enterprise
application/json
Required
update team features body
product_name
Required
stringValue in: "FREE" | "PRO" | "ENTERPRISE"
team_id
Required
stringID of team
Authorization
Required
stringValue: "Bearer <token>"; visit the "User Settings" page in the DevZero dashboard to generate a token
curl -X PUT "https://api.devzero.io/backend/v0/teams/string/features/enterprise" \
-H "Authorization: string" \
-H "Content-Type: application/json" \
-d '{
"features": {
"allowed_cost_accounting_settings": {
"spending_limit_notifications_enabled": true
},
"allowed_team_hibernation_settings": {
"activity_based_hibernation_enabled": false,
"activity_based_hibernation_time_max": 15,
"activity_based_hibernation_time_min": 0,
"can_disable_hibernation": false,
"time_based_hibernation_enabled": true,
"time_based_hibernation_time_max": 0,
"time_based_hibernation_time_min": 0
},
"build_counts": {
"max_builds_per_user": 1
},
"cluster_counts": {
"max_clusters_per_user": 1
},
"excluded_regions": {
"excluded_regions": [
"string"
]
},
"is_onboarding_disabled": true,
"is_shared_storage_enabled": true,
"team_user_counts": {
"max_users_per_team": 1
},
"workspace_compute_cpu": {
"requests_cpu": 1900
},
"workspace_counts": {
"max_workspaces_per_team": 1,
"max_workspaces_per_user": 1
},
"workspace_storage_volume_size": {
"default_volume_size": 50,
"max_storage_volume_size": 10
}
},
"product_name": "FREE"
}'