DevZero Logo
DevZero

Get team subscription

Get team subscription metadata

GET
/teams/{team_id}/payments/subscriptions
/teams/{team_id}/payments/subscriptions

Header Parameters

Authorization
Required
string

Value: "Bearer <token>"; visit the "User Settings" page in the DevZero dashboard to generate a token

Path Parameters

team_id
Required
string

ID of team

curl -X GET "https://api.devzero.io/backend/v0/teams/string/payments/subscriptions" \
  -H "Authorization: string"

OK

{
  "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_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"
}