Get team subscription
Get team subscription metadata
Path Parameters
team_idstring
ID of team
Header Parameters
Authorizationstring
Value: "Bearer <token>"; visit the "User Settings" page in the DevZero dashboard to generate a token
Response Body
curl -X GET "https://api.devzero.io/backend/v0/teams/string/payments/subscriptions" \
-H "Authorization: string"
{
"billing_contact_email": "string",
"current_period_end": "2019-08-24T14:15:22Z",
"current_period_start": "2019-08-24T14:15:22Z",
"features": {
"allowed_cost_accounting_settings": {
"spending_limit_notifications_enabled": true
},
"allowed_kubernetes_resource_settings": {
"can_modify_resources": false,
"max_cluster_cpu": 0,
"max_cluster_memory": 0,
"max_workspace_cpu": 0,
"max_workspace_memory": 0,
"min_cluster_cpu": 0,
"min_cluster_memory": 0,
"min_workspace_cpu": 0,
"min_workspace_memory": 0
},
"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
}
},
"num_users": 0,
"price_per_user": 0,
"product_name": "FREE",
"team_id": "string"
}
{
"message": "string"
}
{
"message": "string"
}
{
"message": "string"
}
{
"message": "string"
}
{
"message": "string"
}
{
"message": "string"
}
{
"message": "string"
}
{
"message": "string"
}
{
"message": "string"
}